From: Tiago Melo Date: Thu, 12 Sep 2019 14:21:06 +0000 (+0000) Subject: mgr/dashboard: Display the duration of each e2e test X-Git-Tag: v15.1.0~1572^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F30359%2Fhead;p=ceph.git mgr/dashboard: Display the duration of each e2e test Now we are able to see which tests are taking too much time and may need improvements. 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 1445893f1e26..86e3e568af44 100644 --- a/src/pybind/mgr/dashboard/frontend/protractor.conf.js +++ b/src/pybind/mgr/dashboard/frontend/protractor.conf.js @@ -62,7 +62,7 @@ config.onPrepare = async () => { require('ts-node').register({ project: 'e2e/tsconfig.e2e.json' }); - jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); + jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true, displayDuration: true } })); await browser.get('/#/login');