Skip to content

Commit 778661a

Browse files
authored
Merge pull request #949 from serenity-js/fix/ubuntu-latest
ci(github): upgraded to Ubuntu 24 webdriverio/webdriverio#14501
2 parents eb72e93 + 4d8130f commit 778661a

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
1515
node-version: [ 18.x, 20.x, 22.x ]

wdio.conf.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,15 @@ export const config: WebdriverIOConfig = {
9696

9797
'goog:chromeOptions': {
9898
args: [
99-
'--disable-web-security',
100-
'--allow-file-access-from-files',
101-
'--allow-file-access',
102-
'--disable-infobars',
103-
'--ignore-certificate-errors',
104-
'--disable-gpu',
105-
'--window-size=1024x768',
106-
].concat(headless ? ['--headless'] : []),
99+
'no-sandbox',
100+
'disable-web-security',
101+
'allow-file-access-from-files',
102+
'allow-file-access',
103+
'disable-infobars',
104+
'ignore-certificate-errors',
105+
'disable-gpu',
106+
'window-size=1024x768',
107+
].concat(headless ? ['headless'] : []),
107108
}
108109
}],
109110
//

0 commit comments

Comments
 (0)