]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Fix e2e chromedriver problem
authorTiago Melo <tmelo@suse.com>
Thu, 12 Dec 2019 18:00:57 +0000 (17:00 -0100)
committerTiago Melo <tmelo@suse.com>
Thu, 12 Dec 2019 18:09:08 +0000 (17:09 -0100)
New version of Chrome/ChromeDriver seems to have a problem with insecure
certificates.

Since we use a vStart cluster with no real certificate,
we always face this problem when running e2e tests.

This will fix the current problem and hopefully any future problems related to
certificates.

Fixes: https://tracker.ceph.com/issues/43254
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/protractor.conf.js

index 86e3e568af448c68953d257c27c345414a9e141d..2faae6253fa4ebc1b2c4c88cc484ec975bba9ce4 100644 (file)
@@ -21,7 +21,8 @@ const config = {
     browserName: 'chrome',
     chromeOptions: {
       args: ['--no-sandbox', '--headless', '--window-size=1920x1080']
-    }
+    },
+    acceptInsecureCerts : true
   },
   directConnect: true,
   baseUrl: process.env.BASE_URL || 'http://localhost:4200/',