]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Fix e2e chromedriver problem 32241/head
authorTiago Melo <tmelo@suse.com>
Thu, 12 Dec 2019 18:00:57 +0000 (17:00 -0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 13 Dec 2019 12:08:45 +0000 (13:08 +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>
(cherry picked from commit f0f718f1770bf48028274c100406e0a564710174)

src/pybind/mgr/dashboard/frontend/protractor.conf.js

index 5bfc7ce720eb75d68b08d1c1291fef2dfc3c5175..f903824552e04c71224aac0f3bbd9e34e15cc4fa 100644 (file)
@@ -12,7 +12,8 @@ exports.config = {
     'browserName': 'chrome',
     chromeOptions: {
       args: ['--no-sandbox', '--headless', '--window-size=1920x1080']
-    }
+    },
+    acceptInsecureCerts : true
   },
   directConnect: true,
   baseUrl: 'http://localhost:4200/',