Skip to content

Commit

Permalink
test: switch to ianwalter/puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
FezVrasta committed May 22, 2020
1 parent 04f3e0d commit 64f2047
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .config/jest-puppeteer.config.js
Expand Up @@ -6,6 +6,7 @@ module.exports = {
dumpio: true,
headless: process.env.HEADLESS !== 'false',
executablePath: process.env.PUPPETEER_EXEC_PATH,
args: ['--no-sandbox'],
},
server: {
command: `yarn build:dev && DEV_PORT=${process.env.DEV_PORT} yarn serve`,
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/functional-tests.yml
Expand Up @@ -3,6 +3,7 @@ on: [push, pull_request]
env:
CI: true
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
PUPPETEER_EXEC_PATH: google-chrome-stable

jobs:
functional-chromium:
Expand All @@ -13,7 +14,7 @@ jobs:
- uses: CultureHQ/actions-yarn@master
with:
args: install
- uses: mujo-code/puppeteer-headful@master
- uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
with:
args: yarn test:functional
env:
Expand Down

0 comments on commit 64f2047

Please sign in to comment.