Skip to content

Commit

Permalink
Merge pull request #1656 from fippo/fix-interop
Browse files Browse the repository at this point in the history
test: download browser explicitly during interop tests
  • Loading branch information
fippo committed Apr 26, 2024
2 parents ebce458 + 4741de2 commit b168cec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/interop-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ jobs:
- run: npm install
- run: sudo rm /usr/bin/chromedriver /usr/bin/geckodriver # remove preinstalled github chromedriver/geckodriver from $PATH
- run: Xvfb :99 &
- run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node test/download-browsers.js
- run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node_modules/.bin/jest --retries=3 test/interop/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"start": "http-server . -c-1",
"test": "npm run eslint && npm run stylelint",
"eslint": "eslint 'test/**.js' 'src/content/**/*.js'",
"jest": "node test/download-browsers.js && jest --testTimeout 5000 --maxWorkers=1 test/download.test.js src/content/",
"jest": "node test/download-browsers.js && jest --testTimeout 5000 --maxWorkers=1 src/content/",
"stylelint": "stylelint 'src/**/*.css'"
},
"eslintIgnore": [
Expand Down

0 comments on commit b168cec

Please sign in to comment.