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)
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}"