-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Refactor e2e test names from "./test_file.ts" to "test_file" this simplifies operations throughout the pipeline. - Add the following to the `testcafe` runner: - Fixed window size - Disable scorllbars - Disable GPU acceleration - Disable thumbnails - Enable videos (available as artifacts from test runs) - Add `check_screenshots` job that runs `check_images.py` for each e2e test - Add `merge_screenshots` job that merges screenshots and deltas from all e2e tests into one convenient artifact - Modify `check_images.py` - Include a mode where you can pass the specific test to check with `--test=` - Add explicit checks that expected reference and actual files exist, error when one is missing - Copy screenshots that have changed from reference to a `changed_screenshots` folder Co-authored-by: Luke Brody <lukebrody@pavonine.co>
- Loading branch information
Showing
4 changed files
with
119 additions
and
13 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
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,3 +1,5 @@ | ||
node_modules | ||
screenshots | ||
delta | ||
delta | ||
changed_screenshots | ||
videos |
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