Commit 7c0965d
authored
feat: E2E Tests with Playwright (#3430)
* 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
* check if settings are open in editor, correct typo
* update readme, global settings test
* update failing tests in premium
* update test to prevent flakiness
* make sure global block default gets updated
* update to default block page
---------
Co-authored-by: [email protected] <>1 parent 510b288 commit 7c0965d
File tree
4 files changed
+48
-12
lines changed- e2e
- tests
- src/components/sortable-picker
4 files changed
+48
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
42 | 49 | | |
43 | 50 | | |
44 | 51 | | |
| |||
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
66 | 73 | | |
67 | 74 | | |
68 | 75 | | |
| |||
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
103 | 116 | | |
104 | 117 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
| |||
116 | 126 | | |
117 | 127 | | |
118 | 128 | | |
119 | | - | |
| 129 | + | |
120 | 130 | | |
121 | 131 | | |
| 132 | + | |
| 133 | + | |
122 | 134 | | |
123 | 135 | | |
124 | 136 | | |
125 | 137 | | |
126 | 138 | | |
127 | 139 | | |
128 | 140 | | |
| 141 | + | |
| 142 | + | |
129 | 143 | | |
130 | 144 | | |
131 | 145 | | |
| |||
137 | 151 | | |
138 | 152 | | |
139 | 153 | | |
140 | | - | |
| 154 | + | |
141 | 155 | | |
142 | 156 | | |
143 | 157 | | |
144 | 158 | | |
145 | 159 | | |
146 | 160 | | |
147 | 161 | | |
148 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
0 commit comments