From: Tiago Melo Date: Thu, 12 Dec 2019 18:00:57 +0000 (-0100) Subject: mgr/dashboard: Fix e2e chromedriver problem X-Git-Tag: v15.1.0~518^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f0f718f1770bf48028274c100406e0a564710174;p=ceph-ci.git mgr/dashboard: Fix e2e chromedriver problem 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 --- diff --git a/src/pybind/mgr/dashboard/frontend/protractor.conf.js b/src/pybind/mgr/dashboard/frontend/protractor.conf.js index 86e3e568af4..2faae6253fa 100644 --- a/src/pybind/mgr/dashboard/frontend/protractor.conf.js +++ b/src/pybind/mgr/dashboard/frontend/protractor.conf.js @@ -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/',