@@ -37,10 +37,10 @@ jobs:
3737 # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
3838 # Wrap `npm run` in a subshell to redirect STDERR to file.
3939 # 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"
4141 env :
4242 BROWSER : ${{ matrix.browser }}
43- PWRUNNER_JSON_REPORT : " test-results/report.json"
43+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
4444 - uses : actions/upload-artifact@v1
4545 if : always()
4646 with :
@@ -63,10 +63,10 @@ jobs:
6363 - uses : microsoft/playwright-github-action@v1
6464 - run : npm ci
6565 - 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
6767 env :
6868 BROWSER : ${{ matrix.browser }}
69- PWRUNNER_JSON_REPORT : " test-results/report.json"
69+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
7070 - uses : actions/upload-artifact@v1
7171 if : ${{ always() }}
7272 with :
@@ -91,11 +91,11 @@ jobs:
9191 - uses : microsoft/playwright-github-action@v1
9292 - run : npm ci
9393 - 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
9595 shell : bash
9696 env :
9797 BROWSER : ${{ matrix.browser }}
98- PWRUNNER_JSON_REPORT : " test-results/report.json"
98+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
9999 - uses : actions/upload-artifact@v1
100100 if : ${{ always() }}
101101 with :
@@ -142,12 +142,12 @@ jobs:
142142 # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
143143 # Wrap `npm run` in a subshell to redirect STDERR to file.
144144 # 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"
146146 if : ${{ always() }}
147147 env :
148148 BROWSER : ${{ matrix.browser }}
149149 HEADLESS : " false"
150- PWRUNNER_JSON_REPORT : " test-results/report.json"
150+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
151151 - uses : actions/upload-artifact@v1
152152 if : ${{ always() }}
153153 with :
@@ -175,11 +175,11 @@ jobs:
175175 # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
176176 # Wrap `npm run` in a subshell to redirect STDERR to file.
177177 # 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"
179179 env :
180180 BROWSER : ${{ matrix.browser }}
181181 PWWIRE : true
182- PWRUNNER_JSON_REPORT : " test-results/report.json"
182+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
183183 - uses : actions/upload-artifact@v1
184184 if : ${{ always() }}
185185 with :
@@ -207,11 +207,11 @@ jobs:
207207 # XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
208208 # Wrap `npm run` in a subshell to redirect STDERR to file.
209209 # 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"
211211 env :
212212 BROWSER : ${{ matrix.browser }}
213213 TRACING : true
214- PWRUNNER_JSON_REPORT : " test-results/report.json"
214+ FOLIO_JSON_OUTPUT_NAME : " test-results/report.json"
215215 - uses : actions/upload-artifact@v1
216216 if : ${{ always() }}
217217 with :
0 commit comments