From f1dff2bc74a500b6827e7dd17612034a0dcf7c94 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 15 Apr 2020 10:50:13 +0200 Subject: [PATCH] ci: try fixing e2e https://bugs.chromium.org/p/chromedriver/issues/detail?id=2473 --- e2e/nightwatch.config.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/e2e/nightwatch.config.js b/e2e/nightwatch.config.js index 75a974e4..ee8f5fd7 100644 --- a/e2e/nightwatch.config.js +++ b/e2e/nightwatch.config.js @@ -49,7 +49,19 @@ module.exports = { chromeOptions: { // https://github.com/nightwatchjs/nightwatch/releases/tag/v1.1.12 w3c: false, - args: ['window-size=1280,800'], + args: ['window-size=1280,800', 'no-sandbox', 'disable-dev-shm-usage'], + }, + }, + }, + + // TODO: generate these and add skip tags + 'chrome-headless': { + desiredCapabilities: { + browserName: 'chrome', + acceptSslCerts: true, + chromeOptions: { + w3c: false, + args: ['window-size=1280,800', 'headless'], }, }, }, -- 2.39.5