diff options
author | Nizamudeen A <nia@redhat.com> | 2022-01-29 17:55:28 +0100 |
---|---|---|
committer | Nizamudeen A <nia@redhat.com> | 2022-03-10 11:03:16 +0100 |
commit | 79f8545deba48a2bac6816caa7281e2198f8e5b8 (patch) | |
tree | dead2e4cd0e4bb51fdc378bd165755ae8613812d /src/pybind/mgr/dashboard/ci | |
parent | Merge pull request #45330 from wxypro/fix-typos (diff) | |
download | ceph-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-x | src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh | 1 |
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" |