summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/ci
diff options
context:
space:
mode:
authorNizamudeen A <nia@redhat.com>2022-01-29 17:55:28 +0100
committerNizamudeen A <nia@redhat.com>2022-03-10 11:03:16 +0100
commit79f8545deba48a2bac6816caa7281e2198f8e5b8 (patch)
treedead2e4cd0e4bb51fdc378bd165755ae8613812d /src/pybind/mgr/dashboard/ci
parentMerge pull request #45330 from wxypro/fix-typos (diff)
downloadceph-79f8545deba48a2bac6816caa7281e2198f8e5b8.tar.xz
ceph-79f8545deba48a2bac6816caa7281e2198f8e5b8.zip
mgr/dashboard: BDD approach for the dashboard cephadm e2e
Files under the directory cypress/integration/common/* will contain common specs which can be used on all the .feature files. We can change the common directory to cypress/integration/* from the package.json, but if we do that now then we'll need to take care of all the absolute import in that path. So for now at least that's not a good choice. The bug in the cypress-browserify-preprocessor which doesn't allow to take our tsconfig.json file forced me to go with relative imports rather than the absolute import. We'll need to wait for this to be fixed before changing all our tests to BDD. Fixes: https://tracker.ceph.com/issues/54224 Signed-off-by: Nizamudeen A <nia@redhat.com>
Diffstat (limited to 'src/pybind/mgr/dashboard/ci')
-rwxr-xr-xsrc/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh b/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh
index e1092971608..6ed757c34f9 100755
--- a/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh
+++ b/src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh
@@ -38,4 +38,5 @@ cypress_run () {
cd ${CEPH_DEV_FOLDER}/src/pybind/mgr/dashboard/frontend
+cypress_run "orchestrator/workflow/*.feature"
cypress_run "orchestrator/workflow/*-spec.ts"