]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Automatically use correct chromedriver version 31371/head
authorTiago Melo <tmelo@suse.com>
Mon, 4 Nov 2019 11:27:46 +0000 (10:27 -0100)
committerNathan Cutler <ncutler@suse.com>
Mon, 4 Nov 2019 17:26:26 +0000 (18:26 +0100)
commit4fa2265984c33251dc53a74a46ddfdde1cfa05d8
tree272d851badc5ad1db17a328da621e3c5fcaf2d4c
parenta0e157401d92c13adaf92fd8fbade40c60f0bf09
mgr/dashboard: Automatically use correct chromedriver version

Every Chrome version requires a corresponding chromedriver version for the e2e
test to work.
Since we were using a fixed chromedriver version, each time chrome was updated
the e2e scripts stopped working.
With this new script we will check which version of Chrome is installed and
update chromedriver to the correct version.

Fixes: https://tracker.ceph.com/issues/42607
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 242e76e8840b5d9085239a6fa55a29a093792ee3)

Conflicts:
src/pybind/mgr/dashboard/frontend/package.json
- use "e2e:dev" in nautilus, instead of "e2e:ci"
src/pybind/mgr/dashboard/frontend/package.json