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}"
# See /ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/orchestrator/ folder.
find cypress # List all specs
-cypress_run "orchestrator/01-hosts.e2e-spec.ts"
+cypress_run "cypress/e2e/orchestrator/01-hosts.e2e-spec.ts"
# Hosts are removed and added in the previous step. Do a refresh again.
ceph orch device ls --refresh
sleep 10
ceph orch device ls --format=json | tee cypress/fixtures/orchestrator/inventory.json
-cypress_run "orchestrator/03-inventory.e2e-spec.ts"
-cypress_run "orchestrator/04-osds.e2e-spec.ts" 300000
+cypress_run "cypress/e2e/orchestrator/03-inventory.e2e-spec.ts"
+cypress_run "cypress/e2e/orchestrator/04-osds.e2e-spec.ts" 300000