Commit 07afa56
chore(tests): Add initial full-journey tests (#569)
* Initial local implementation
* debug info
* Add message in postDeploy when running onSuccess
* bump version
* logging
* Split onPostBuild/onSuccess functionality
* Update .gitignore
* Tidier logging
* tweak results logging format
* bump version
* Make logged scores human-readable
* Tidying, code deduplication, rework onSuccess triggering method
* bump version
* await!
* fix console log
* Add debugging
* small tweaks
* Avoid using onSuccess as function name, tidy some logging
* bump version
* Be more explicit with event type
* bump version
* Bump version
* Debugging
* Get arguments from correct place 😅
* Simplify logs
* Remove duplication
* Revert temporary version
* Revert temporary version
* Rename file, remove obsolete DEBUG_COLORS code
* Add tests to ensure correct event is returned when using RUN_ON_SUCCESS env var
* Add console output when using custom Lighthouse settings
* Remove colors from `summary` text used in App UI
* First round of e2e tests
* Add settings info to the message shown as each run starts
* Move expected output closer to tests, split across multiple tests, one scenario per file
* Remove debug code
* revert formatting
* Add DEPLOY_URL variable for onSuccess tests
* tweaks after update from main
* fix style lint issue
---------
Co-authored-by: Suzanne Aitchison <[email protected]>1 parent b2084a8 commit 07afa56
File tree
25 files changed
+10439
-23
lines changed- src
- e2e
- fixture
- lib
- mocks
- lib
- process-results
- run-audit-with-server
- run-audit-with-url
25 files changed
+10439
-23
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments