Skip to content

Commit e06706c

Browse files
fix(ci): stablize headless Chrome in Cypress by moving sandbox flags to config
1 parent 4a4e09b commit e06706c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Run integration test (CRA)
6161
run: |
62-
npx start-server-and-test start:api 3001 start:cra http-get://127.0.0.1:3000 "npm run cypress:run -- --browser chrome --headless --config baseUrl=http://127.0.0.1:3000" --timeout 6000
62+
npx start-server-and-test start:api 3001 start:cra http-get://127.0.0.1:3000 "npm run cypress:run -- --browser chrome --headless --config"
6363
env:
6464
CI: true
6565

cypress.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = defineConfig({
1717
launchOptions.args.push('--no-sandbox')
1818
launchOptions.args.push('--disable-gpu')
1919
launchOptions.args.push('--disable-dev-shm-usage')
20+
launchOptions.args.push('--disable-software-rasterizer')
2021
}
2122
return launchOptions
2223
})

0 commit comments

Comments
 (0)