Commit f161272
committed
test(e2e): run chrome headless by default for local runs
Local wdio launched headed chrome on the WSLg desktop, so browser
windows popped up on the host display during every test run. Default to
headless (with --enable-unsafe-swiftshader, since chrome no longer
auto-falls back to software WebGL) and add a HEADED=1 escape hatch for
watching tests. CI behavior is unchanged.1 parent 0753de5 commit f161272
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
0 commit comments