mirror of
https://github.com/maputnik/editor.git
synced 2026-07-06 14:07:28 +00:00
Merge pull request #823 from birkskyum/new-webdriver
Chrome new headless
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user