]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix test_dashboard_e2e.sh failure 51866/head
authorNizamudeen A <nia@redhat.com>
Wed, 31 May 2023 05:39:25 +0000 (11:09 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 1 Jun 2023 06:37:30 +0000 (12:07 +0530)
The qa e2e is failing because the script is not adapted with cypress 10.

Fixes: https://tracker.ceph.com/issues/61519
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 7c5d92ad489637473d60e83fe064e2a2474fd192)

qa/workunits/cephadm/test_dashboard_e2e.sh

index e2e5dbf2ff27875527469112abbcda8a6cbb90a3..28e1b097a0e6604e7f7ff1e12ea1becaaced10ce 100755 (executable)
@@ -58,7 +58,7 @@ EOF
 cypress_run () {
     local specs="$1"
     local timeout="$2"
-    local override_config="ignoreTestFiles=*.po.ts,retries=0,testFiles=${specs}"
+    local override_config="excludeSpecPattern=*.po.ts,retries=0,specPattern=${specs}"
 
     if [ x"$timeout" != "x" ]; then
         override_config="${override_config},defaultCommandTimeout=${timeout}"