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