mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 07:55:25 +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
|
WORKDIR /maputnik
|
||||||
|
|
||||||
# Only copy package.json to prevent npm install from running on every build
|
# 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 = {
|
exports.config = {
|
||||||
runner: 'local',
|
runner: 'local',
|
||||||
path: '/wd/hub',
|
path: '/wd/hub',
|
||||||
|
|
||||||
specs: [
|
specs: [
|
||||||
'./test/functional/index.js'
|
'./test/functional/index.js'
|
||||||
],
|
],
|
||||||
|
@ -19,6 +20,9 @@ exports.config = {
|
||||||
{
|
{
|
||||||
maxInstances: 5,
|
maxInstances: 5,
|
||||||
browserName: (process.env.BROWSER || 'chrome'),
|
browserName: (process.env.BROWSER || 'chrome'),
|
||||||
|
'goog:chromeOptions': {
|
||||||
|
args: ['headless=new']
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// geckodriver-0.31 seems to have problems as of 2022 May 1
|
// geckodriver-0.31 seems to have problems as of 2022 May 1
|
||||||
|
|
Loading…
Reference in a new issue