mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 07:45:25 +01:00
Use geckodriver 0.30 for firefox until 0.31 works
This commit is contained in:
parent
a8f6208561
commit
4705bf823a
2 changed files with 5 additions and 4 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -166,11 +166,11 @@ jobs:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
selenium:
|
selenium:
|
||||||
image: selenium/standalone-${{ matrix.browser }}
|
# geckodriver-0.31 seems to have problems as of 2022 May 1
|
||||||
|
image: selenium/standalone-${{ matrix.browser == 'firefox' && 'firefox:99.0-geckodriver-0.30-20220427' || matrix.browser }}
|
||||||
ports:
|
ports:
|
||||||
- 4444:4444
|
- 4444:4444
|
||||||
volumes: # share shm with host: https://stackoverflow.com/questions/53902507/unknown-error-session-deleted-because-of-page-crash-from-unknown-error-cannot
|
options: --shm-size=2gb
|
||||||
- /dev/shm:/dev/shm
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -21,7 +21,8 @@ exports.config = {
|
||||||
browserName: (process.env.BROWSER || 'chrome'),
|
browserName: (process.env.BROWSER || 'chrome'),
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
services: process.env.DOCKER_HOST ? [] : ['selenium-standalone'],
|
// geckodriver-0.31 seems to have problems as of 2022 May 1
|
||||||
|
services: process.env.DOCKER_HOST ? [] : [ ['selenium-standalone', { drivers: { firefox: '0.30.0', chrome: 'latest' } } ] ],
|
||||||
logLevel: 'info',
|
logLevel: 'info',
|
||||||
bail: 0,
|
bail: 0,
|
||||||
screenshotPath: SCREENSHOT_PATH,
|
screenshotPath: SCREENSHOT_PATH,
|
||||||
|
|
Loading…
Reference in a new issue