@@ -148,8 +148,10 @@ jobs:
148
148
- run : node lib/cli/cli install-deps ${{ matrix.browser }} chromium
149
149
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
150
150
# Wrap `npm run` in a subshell to redirect STDERR to file.
151
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run test -- --project=${{ matrix.browser }} --headed "
151
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run test -- --project=${{ matrix.browser }}"
152
152
if : ${{ always() }}
153
+ env :
154
+ HEADFUL : 1
153
155
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
154
156
if : always()
155
157
- uses : actions/upload-artifact@v1
@@ -177,7 +179,9 @@ jobs:
177
179
- run : node lib/cli/cli install-deps chromium
178
180
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
179
181
# Wrap `npm run` in a subshell to redirect STDERR to file.
180
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ctest -- --mode=${{ matrix.mode }}"
182
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ctest"
183
+ env :
184
+ PWTEST_MODE : ${{ matrix.mode }}
181
185
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
182
186
if : always()
183
187
- uses : actions/upload-artifact@v1
@@ -205,7 +209,9 @@ jobs:
205
209
- run : node lib/cli/cli install-deps ${{ matrix.browser }} chromium
206
210
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
207
211
# Wrap `npm run` in a subshell to redirect STDERR to file.
208
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run test -- --project=${{ matrix.browser }} --video"
212
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run test -- --project=${{ matrix.browser }}"
213
+ env :
214
+ PWTEST_VIDEO : 1
209
215
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
210
216
if : always()
211
217
- uses : actions/upload-artifact@v1
@@ -264,7 +270,9 @@ jobs:
264
270
- run : node lib/cli/cli install ffmpeg
265
271
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
266
272
# Wrap `npm run` in a subshell to redirect STDERR to file.
267
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ctest -- --channel=chrome"
273
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ctest"
274
+ env :
275
+ PWTEST_CHANNEL : chrome
268
276
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
269
277
if : always()
270
278
- uses : actions/upload-artifact@v1
@@ -290,8 +298,10 @@ jobs:
290
298
- run : npm run build
291
299
# This only created problems, should we move ffmpeg back into npm?
292
300
- run : node lib/cli/cli install ffmpeg
293
- - run : npm run ctest -- --channel=chrome
301
+ - run : npm run ctest
294
302
shell : bash
303
+ env :
304
+ PWTEST_CHANNEL : chrome
295
305
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
296
306
if : always()
297
307
shell : bash
@@ -315,7 +325,9 @@ jobs:
315
325
- run : npm run build
316
326
# This only created problems, should we move ffmpeg back into npm?
317
327
- run : node lib/cli/cli install ffmpeg
318
- - run : npm run ctest -- --channel=chrome
328
+ - run : npm run ctest
329
+ env :
330
+ PWTEST_CHANNEL : chrome
319
331
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
320
332
if : always()
321
333
- uses : actions/upload-artifact@v1
@@ -340,7 +352,9 @@ jobs:
340
352
- run : node lib/cli/cli install ffmpeg firefox-stable chromium
341
353
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
342
354
# Wrap `npm run` in a subshell to redirect STDERR to file.
343
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ftest -- --channel=firefox-stable"
355
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ftest"
356
+ env :
357
+ PWTEST_CHANNEL : firefox-stable
344
358
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
345
359
if : always()
346
360
- uses : actions/upload-artifact@v1
@@ -365,8 +379,10 @@ jobs:
365
379
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : 1
366
380
- run : npm run build
367
381
- run : node lib/cli/cli install ffmpeg firefox-stable chromium
368
- - run : npm run ftest -- --channel=firefox-stable
382
+ - run : npm run ftest
369
383
shell : bash
384
+ env :
385
+ PWTEST_CHANNEL : firefox-stable
370
386
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
371
387
if : always()
372
388
shell : bash
@@ -389,7 +405,9 @@ jobs:
389
405
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : 1
390
406
- run : npm run build
391
407
- run : node lib/cli/cli install ffmpeg firefox-stable chromium
392
- - run : npm run ftest -- --channel=firefox-stable
408
+ - run : npm run ftest
409
+ env :
410
+ PWTEST_CHANNEL : firefox-stable
393
411
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
394
412
if : always()
395
413
- uses : actions/upload-artifact@v1
@@ -415,8 +433,10 @@ jobs:
415
433
- run : npm run build
416
434
# This only created problems, should we move ffmpeg back into npm?
417
435
- run : node lib/cli/cli install ffmpeg
418
- - run : npm run ctest -- --channel=msedge
436
+ - run : npm run ctest
419
437
shell : bash
438
+ env :
439
+ PWTEST_CHANNEL : msedge
420
440
- uses : actions/upload-artifact@v1
421
441
if : ${{ always() }}
422
442
with :
@@ -463,7 +483,9 @@ jobs:
463
483
- run : node lib/cli/cli install ffmpeg
464
484
# XVFB-RUN merges both STDOUT and STDERR, whereas we need only STDERR
465
485
# Wrap `npm run` in a subshell to redirect STDERR to file.
466
- - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ctest -- --channel=chrome-beta"
486
+ - run : xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "npm run ctest"
487
+ env :
488
+ PWTEST_CHANNEL : chrome-beta
467
489
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
468
490
if : always()
469
491
- uses : actions/upload-artifact@v1
@@ -490,8 +512,10 @@ jobs:
490
512
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : 1
491
513
- run : npm run build
492
514
- run : node lib/cli/cli install ffmpeg
493
- - run : npm run ctest -- --channel=chrome-beta
515
+ - run : npm run ctest
494
516
shell : bash
517
+ env :
518
+ PWTEST_CHANNEL : chrome-beta
495
519
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
496
520
if : always()
497
521
shell : bash
@@ -515,7 +539,9 @@ jobs:
515
539
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : 1
516
540
- run : npm run build
517
541
- run : node lib/cli/cli install ffmpeg
518
- - run : npm run ctest -- --channel=chrome-beta
542
+ - run : npm run ctest
543
+ env :
544
+ PWTEST_CHANNEL : chrome-beta
519
545
- run : ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
520
546
if : always()
521
547
- uses : actions/upload-artifact@v1
0 commit comments