mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 03:31:55 +01:00
Merge pull request #823 from birkskyum/new-webdriver
Chrome new headless
This commit is contained in:
commit
eb55796461
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM node:10 as builder
|
||||
FROM node:16 as builder
|
||||
WORKDIR /maputnik
|
||||
|
||||
# Only copy package.json to prevent npm install from running on every build
|
||||
|
|
|
@ -11,6 +11,7 @@ var SCREENSHOT_PATH = artifacts.pathSync("screenshots");
|
|||
exports.config = {
|
||||
runner: 'local',
|
||||
path: '/wd/hub',
|
||||
|
||||
specs: [
|
||||
'./test/functional/index.js'
|
||||
],
|
||||
|
@ -19,6 +20,9 @@ exports.config = {
|
|||
{
|
||||
maxInstances: 5,
|
||||
browserName: (process.env.BROWSER || 'chrome'),
|
||||
'goog:chromeOptions': {
|
||||
args: ['headless=new']
|
||||
}
|
||||
}
|
||||
],
|
||||
// geckodriver-0.31 seems to have problems as of 2022 May 1
|
||||
|
|
Loading…
Reference in a new issue