Skip to content

Commit

Permalink
test: use the new headless chrome with playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
wattachai-lseg committed Dec 2, 2024
1 parent 8071f1e commit 9267e93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/run-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
shell: bash
run: |
echo 'Installing Playwright'
npx playwright install --with-deps > /dev/null
npx playwright install --no-shell --with-deps > /dev/null
npx playwright --version
- name: Test
Expand Down
3 changes: 2 additions & 1 deletion web-test-runner.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export default {
product: 'chromium',
createBrowserContext: ({ browser }) => browser.newContext({ ignoreHTTPSErrors: true }),
launchOptions: {
args: ['--incognito', '--allow-insecure-localhost']
args: ['--incognito', '--allow-insecure-localhost'],
channel: 'chromium'
}
}),
playwrightLauncher({
Expand Down

0 comments on commit 9267e93

Please sign in to comment.