Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
18368c3
Merge pull request #153 from avh4/main
avh4 Feb 22, 2022
f254fcd
Merge pull request #161 from avh4/main
avh4 Mar 3, 2022
9462351
Simulate clickLink for internal/external urls in ProgramTest.createAp…
nunntom Jul 19, 2022
d75bead
Further improve Url.Extra.resolve
nunntom Jul 21, 2022
039bb73
Add tests for pushUrl with relative URLs with query and fragment
nunntom Jul 21, 2022
39f3a7f
Add tests for pushUrl with query and fragment
nunntom Jul 21, 2022
afe4043
Make Url.Extra.resolve put query and fragment in right place in url
nunntom Jul 21, 2022
ab2d808
Fix createApplication in README
nunntom Jul 21, 2022
30668fb
Change onUrlRequest to and onUrlChange to
nunntom Jul 28, 2022
5e84830
Change ExtraTest.resolve to compare parsed URLs instead of stringifie…
nunntom Jul 28, 2022
55a147c
Change "Bug Fixes" to "New Features" for #3.6.4
nunntom Jul 28, 2022
480f5e2
Add new test cases for Url.Extra.resolve
nunntom Jul 28, 2022
b5f2fc0
Make simulateLoadUrlHelper private
nunntom Jul 28, 2022
d728194
Add ensureBrowserHistory and ensureBrowserUrl in clickLinkTest "inter…
nunntom Jul 28, 2022
7c27257
Merge pull request #166 from nunntom/fix-clickLink-for-applications
avh4 Jul 28, 2022
2b40fdd
Make clickLink look for links with aria-label and alt text
nunntom Jul 29, 2022
3ba2282
Add runComplexQuery and use in clickLink
nunntom Jul 30, 2022
1d0ce7c
Make Result.Extra and use Result.Extra.isOk in ComplexQuery and click…
nunntom Jul 31, 2022
b54e240
Merge pull request #168 from nunntom/clickLink-with-aria-and-alt-text
avh4 Aug 4, 2022
dabe1df
Add SimulatedEffect.Task.sequence
nunntom Aug 5, 2022
c24442e
Short comments of SimulatedEffect modules
avh4 Aug 5, 2022
b533f29
Merge pull request #169 from nunntom/add-task-sequence
avh4 Aug 5, 2022
4f2425c
Update CHANGELOG.md
nunntom Aug 17, 2022
b024892
Update npm dependencies
avh4 Aug 23, 2022
74e4f67
Prepare 3.7.0 release
avh4 Aug 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 3.7.0

New features:

- `clickLink` now works for internal links when testing a `Browser.application`
- `clickLink` now works for links with aria-label
- `clickLink` now works for links containing img with alt text
- `pushUrl` now works properly for relative urls with query and/or fragment
- Added `SimulatedEffect.Task.sequence`


## 3.6.3

Bug fixes:
Expand Down
1 change: 1 addition & 0 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- `git switch -c release/<new version>`
- Optionally update javascript dependencies with `npx npm-check-updates` and commit changes
- `npx elm bump`
- Update CHANGELOG.md (replace "main" with the new version number, and review the notes for the new version)
- Commit changes
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ import MyProgram exposing (Flags, Msg, Model) -- just an imaginary example
start : String -> Flags -> ProgramTest Model Msg (Cmd Msg)
start initialUrl flags =
ProgramTest.createApplication
{ onUrlChange = MyProgram.OnRouteChange
{ onUrlChange = MyProgram.OnUrlChange
, onUrlRequest = MyProgram.OnUrlRequest
, init =
-- NOTE: the type of MyProgram.init is:
-- MyProgram.Flags -> Navigation.Location -> (MyProgram.Model, Cmd MyProgram.Msg)
Expand Down
2 changes: 1 addition & 1 deletion elm.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "avh4/elm-program-test",
"summary": "Test Elm programs",
"license": "MIT",
"version": "3.6.3",
"version": "3.7.0",
"exposed-modules": [
"ProgramTest",
"SimulatedEffect.Cmd",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"devDependencies": {
"@vue/babel-preset-app": "^4.5.15",
"@vue/babel-preset-app": "^5.0.8",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.0.0",
"concurrently": "^7.3.0",
"elm-doc-preview": "^5.0.5",
"elm-test": "^0.19.1-revision7",
"elm-tooling": "^1.7.0",
"vuepress": "^1.9.5"
"elm-test": "^0.19.1-revision9",
"elm-tooling": "^1.8.0",
"vuepress": "^1.9.7"
},
"scripts": {
"postinstall": "elm-tooling install",
Expand Down
Loading