Skip to content

Commit b168cec

Browse files
authored
Merge pull request #1656 from fippo/fix-interop
test: download browser explicitly during interop tests
2 parents ebce458 + 4741de2 commit b168cec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/interop-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818
- run: npm install
1919
- run: sudo rm /usr/bin/chromedriver /usr/bin/geckodriver # remove preinstalled github chromedriver/geckodriver from $PATH
2020
- run: Xvfb :99 &
21+
- run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node test/download-browsers.js
2122
- run: BROWSER_A=${{matrix.browserA}} BROWSER_B=${{matrix.browserB}} BVER=${{matrix.bver}} DISPLAY=:99.0 node_modules/.bin/jest --retries=3 test/interop/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"start": "http-server . -c-1",
2121
"test": "npm run eslint && npm run stylelint",
2222
"eslint": "eslint 'test/**.js' 'src/content/**/*.js'",
23-
"jest": "node test/download-browsers.js && jest --testTimeout 5000 --maxWorkers=1 test/download.test.js src/content/",
23+
"jest": "node test/download-browsers.js && jest --testTimeout 5000 --maxWorkers=1 src/content/",
2424
"stylelint": "stylelint 'src/**/*.css'"
2525
},
2626
"eslintIgnore": [

0 commit comments

Comments
 (0)