Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: mgr/dashboard: BDD approach for the dashboard cephadm e2e #46529

Merged
merged 4 commits into from Jun 24, 2022

Conversation

nizamial09
Copy link
Member

@nizamial09 nizamial09 commented Jun 6, 2022

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>
(cherry picked from commit 79f8545)
@nizamial09 nizamial09 requested a review from a team as a code owner June 6, 2022 06:17
@nizamial09 nizamial09 requested review from nSedrickm and Pegonzal and removed request for a team June 6, 2022 06:17
@nizamial09 nizamial09 added this to the pacific milestone Jun 6, 2022
@github-actions github-actions bot added the pybind label Jun 6, 2022
Its a regression introduced by BDD testing
ceph@79f8545

Fixes: https://tracker.ceph.com/issues/54990
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 4a34762)
@github-actions github-actions bot added this to In progress in Dashboard Jun 6, 2022
Cypress sometimes fail to register the click and that causes the
deselect/select to not happen properly. Deselecting the row immediately
after performing the action makes it pass from cypress.

Fixes: https://tracker.ceph.com/issues/55741
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit dcf0445)
@nizamial09
Copy link
Member Author

qa run 1 passed and 1 failed. failure doesn't seem related though

Save the mgr container logs of cephadm inside a folder and later on
archive it and get it as an artifact on the cephadm dashboard e2e jobs

Fixes: https://tracker.ceph.com/issues/55247
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit d74defb)
Dashboard automation moved this from In progress to Reviewer approved Jun 23, 2022
@nizamial09 nizamial09 merged commit f438822 into ceph:pacific Jun 24, 2022
Dashboard automation moved this from Reviewer approved to Done Jun 24, 2022
@nizamial09 nizamial09 deleted the wip-54623-pacific branch June 24, 2022 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Dashboard
  
Done
3 participants