From ca326724fdb714af124e18d3dcea63ab99dc5903 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Thu, 12 Dec 2019 17:00:57 -0100 Subject: [PATCH] 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) --- src/pybind/mgr/dashboard/frontend/protractor.conf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/frontend/protractor.conf.js b/src/pybind/mgr/dashboard/frontend/protractor.conf.js index 5bfc7ce720eb7..f903824552e04 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/', -- 2.39.5