-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a test suite that tests the ades website using Playwright. The suite is written as a Go test suite following the rest of this project, leveraging Playwright to drive the browser. The test suite covers the basic functionality of the website, and also includes a chaos test build using Gremlins.js. The tests are also executed continuously in CI. The "normal" tests uncovered an interaction limitation in the text input resulting in some interaction methods not resulting in a report on the most recent input. This has been fixed by adjusting the even listener. The chaos test uncovered an edge case where the web page would error unexpectedly if the user interacted before ades was loaded, which has been fixed here. Playwright: https://playwright.dev/ Gremlins.js: https://www.npmjs.com/package/gremlins.js Signed-off-by: Eric Cornelissen <ericornelissen@gmail.com>
- Loading branch information
1 parent
b558952
commit b2c9910
Showing
9 changed files
with
343 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
* text=auto | ||
|
||
gremlins.min.js -diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ cmd/ades/** | |
!*.go | ||
|
||
# Test | ||
!gremlins.min.js | ||
!test/ | ||
test/** | ||
!test/*.txtar | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.