@@ -37,10 +37,10 @@ jobs:
37
37
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
38
38
# Wrap `npm run` in a subshell to redirect STDERR to file.
39
39
# Enable core dumps in the subshell.
40
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx test-runner test/ --jobs =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json && npm run coverage"
40
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx folio test/ --workers =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json && npm run coverage"
41
41
env :
42
42
BROWSER : ${{ matrix.browser }}
43
- PWRUNNER_JSON_REPORT : " test-results/report.json"
43
+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
44
44
- uses : actions/upload-artifact@v1
45
45
if : always()
46
46
with :
@@ -63,10 +63,10 @@ jobs:
63
63
- uses : microsoft/playwright-github-action@v1
64
64
- run : npm ci
65
65
- run : npm run build
66
- - run : npx test-runner test/ --jobs =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json --shard=${{ matrix.shard }}/2
66
+ - run : npx folio test/ --workers =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json --shard=${{ matrix.shard }}/2
67
67
env :
68
68
BROWSER : ${{ matrix.browser }}
69
- PWRUNNER_JSON_REPORT : " test-results/report.json"
69
+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
70
70
- uses : actions/upload-artifact@v1
71
71
if : ${{ always() }}
72
72
with :
@@ -91,11 +91,11 @@ jobs:
91
91
- uses : microsoft/playwright-github-action@v1
92
92
- run : npm ci
93
93
- run : npm run build
94
- - run : npx test-runner test/ --jobs =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json
94
+ - run : npx folio test/ --workers =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json
95
95
shell : bash
96
96
env :
97
97
BROWSER : ${{ matrix.browser }}
98
- PWRUNNER_JSON_REPORT : " test-results/report.json"
98
+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
99
99
- uses : actions/upload-artifact@v1
100
100
if : ${{ always() }}
101
101
with :
@@ -142,12 +142,12 @@ jobs:
142
142
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
143
143
# Wrap `npm run` in a subshell to redirect STDERR to file.
144
144
# Enable core dumps in the subshell.
145
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx test-runner test/ --jobs =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json"
145
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx folio test/ --workers =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json"
146
146
if : ${{ always() }}
147
147
env :
148
148
BROWSER : ${{ matrix.browser }}
149
149
HEADLESS : " false"
150
- PWRUNNER_JSON_REPORT : " test-results/report.json"
150
+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
151
151
- uses : actions/upload-artifact@v1
152
152
if : ${{ always() }}
153
153
with :
@@ -175,11 +175,11 @@ jobs:
175
175
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
176
176
# Wrap `npm run` in a subshell to redirect STDERR to file.
177
177
# Enable core dumps in the subshell.
178
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx test-runner test/ --jobs =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json"
178
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx folio test/ --workers =1 --forbid-only --timeout=30000 --global-timeout=5400000 --retries=3 --reporter=dot,json"
179
179
env :
180
180
BROWSER : ${{ matrix.browser }}
181
181
PWWIRE : true
182
- PWRUNNER_JSON_REPORT : " test-results/report.json"
182
+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
183
183
- uses : actions/upload-artifact@v1
184
184
if : ${{ always() }}
185
185
with :
@@ -207,11 +207,11 @@ jobs:
207
207
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
208
208
# Wrap `npm run` in a subshell to redirect STDERR to file.
209
209
# Enable core dumps in the subshell.
210
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx test-runner test/ --jobs =1 --forbid-only --timeout=60000 --global-timeout=5400000 --retries=3 --reporter=dot,json"
210
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npx folio test/ --workers =1 --forbid-only --timeout=60000 --global-timeout=5400000 --retries=3 --reporter=dot,json"
211
211
env :
212
212
BROWSER : ${{ matrix.browser }}
213
213
TRACING : true
214
- PWRUNNER_JSON_REPORT : " test-results/report.json"
214
+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
215
215
- uses : actions/upload-artifact@v1
216
216
if : ${{ always() }}
217
217
with :
0 commit comments