Skip to content

Commit c7a5087

Browse files
committed
chore: Attempt to use --headless=new.
Not expecting this to actually make a difference. Also speed up tests by skipping non-WDIO tests.
1 parent 14a2a3c commit c7a5087

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"prepublishOnly": "npm login --registry https://wombat-dressing-room.appspot.com",
1616
"start": "blockly-scripts start",
1717
"test": "npm run test:mocha && npm run test:wdio",
18-
"test:ci": "npm run test:mocha && npm run test:wdio:ci",
18+
"test:ci": "npm run test:wdio:ci",
1919
"test:mocha": "blockly-scripts test",
2020
"test:wdio": "npm run wdio:clean && npm run wdio:run",
2121
"test:wdio:ci": "npm run wdio:clean && npm run wdio:run:ci",

test/webdriverio/test/test_setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export async function driverSetup(
7979
// Run in headless mode on Github Actions.
8080
if (process.env.CI) {
8181
options.capabilities['goog:chromeOptions'].args.push(
82-
'--headless',
82+
'--headless=new',
8383
'--no-sandbox',
8484
'--disable-dev-shm-usage',
8585
);

0 commit comments

Comments
 (0)