From: Tiago Melo Date: Thu, 12 Dec 2019 18:00:57 +0000 (-0100) Subject: mgr/dashboard: Fix e2e chromedriver problem X-Git-Tag: v14.2.8~100^2~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca326724fdb714af124e18d3dcea63ab99dc5903;p=ceph.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 (cherry picked from commit f0f718f1770bf48028274c100406e0a564710174) --- diff --git a/src/pybind/mgr/dashboard/frontend/protractor.conf.js b/src/pybind/mgr/dashboard/frontend/protractor.conf.js index 5bfc7ce720eb..f903824552e0 100644 --- a/src/pybind/mgr/dashboard/frontend/protractor.conf.js +++ b/src/pybind/mgr/dashboard/frontend/protractor.conf.js @@ -12,7 +12,8 @@ exports.config = { 'browserName': 'chrome', chromeOptions: { args: ['--no-sandbox', '--headless', '--window-size=1920x1080'] - } + }, + acceptInsecureCerts : true }, directConnect: true, baseUrl: 'http://localhost:4200/',