]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
ci: try fixing e2e
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 15 Apr 2020 08:50:13 +0000 (10:50 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 15 Apr 2020 08:50:13 +0000 (10:50 +0200)
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2473

e2e/nightwatch.config.js

index 75a974e4fcce5c72cc8728f49a56eee0b5638129..ee8f5fd7057030f75a1eac07f0850bb376ee2e54 100644 (file)
@@ -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'],
         },
       },
     },