Commit 510b288
E2e testing with Playwright (#3389)
* initial commit for e2e
* updated readme
* activate only stackable for all tests
* add tsconfig
* add tests for settings page and editor page
* add tests for site editor, global settings
* minor change to tests for admin and block editor
* use custom test utils
* run tests
* update playwright workflows
* add .wp-env.json
* add env
* fix env slug
* log plugins installed
* update steps, slug
* install playwright browsers
* comment out site editor tests, add reporter
* add try catch for newly installed plugin
* update admin test
* update stackable fixture
* comment on PR
* fix PR comment
* add id for upload artifact, update comment body
* update yml file
* include site editor tests
* minor update in yml file
* always update comment
* upload traces
* test script
* update comment content
* get failed tests
* use $GITHUB_OUTPUT
* update to multiline
* update output name
* fix failed tests content
* escape special characters
* use markdown to output
* run mto even on fail
* strip Ansi Escapes
* try multiple upload
* test multiple upload
* use test ids and trace file path
* update reporter
* test matrix
* update .wp-env.json and name
* update php version, remove unit tests
* continue matrix even if one job fails
* use different artifact name based on matrix
* try all test env
* remove comments, update matrix
* update php version
* update conditions, log wp and php version
* add quotes
* update php version
* run other tests
* test custom reporter
* update condition
* add report to summary
* comment site editor tests temporarily
* update report url
* update wp version
* update block editor test
* use custom way to get block attributes
* fix missing global settings for older wp versions
* add comments, update tests
* update tests
* test with existing post
* update command
* use tests-cli
* run wp-env first
* update file path
* check post content
* update file path
* update file path
* update reporter
* update locator for global settings block defaults
---------
Co-authored-by: [email protected] <>
Co-authored-by: mxkae <[email protected]>1 parent c068e61 commit 510b288
File tree
27 files changed
+4904
-414
lines changed- .github/workflows
- e2e
- config
- setup
- test-utils
- tests
27 files changed
+4904
-414
lines changedThis file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
0 commit comments