Skip to content

mgr/dashboard: check .badge instead of text for expected label#39363

Merged
tchaikov merged 1 commit intoceph:masterfrom
rhcs-dashboard:fix-orch-host-e2e
Feb 17, 2021
Merged

mgr/dashboard: check .badge instead of text for expected label#39363
tchaikov merged 1 commit intoceph:masterfrom
rhcs-dashboard:fix-orch-host-e2e

Conversation

@nizamial09
Copy link
Member

@nizamial09 nizamial09 commented Feb 8, 2021

e2e got broke after this PR: #39229

Fixes: https://tracker.ceph.com/issues/49205
Signed-off-by: Nizamudeen A nia@redhat.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@nizamial09 nizamial09 requested a review from a team as a code owner February 8, 2021 20:24
@nizamial09 nizamial09 requested review from aaSharma14 and alfonsomthd and removed request for a team February 8, 2021 20:24
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nizamial09 could you revise the commit message like

mgr/dashboard: check .badge instead of text for expected label

this change fixes a regression introduced by
8c5e31ec1a13bc53394eb2cb6880d74db169fac4 which broke the 01-hosts.e2e-spec.ts test
driven by test_dashboard_e2e.sh

Fixes: https://tracker.ceph.com/issues/49205
Signed-off-by: Nizamudeen A <nia@redhat.com>

?

@tchaikov tchaikov changed the title fix 01-hosts.e2e-spec.ts failed in test_dashboard_e2e.sh mgr/dashboard: check .badge instead of text for expected label Feb 9, 2021
@tchaikov
Copy link
Contributor

tchaikov commented Feb 9, 2021

@nizamial09
Copy link
Member Author

@tchaikov Update the commit message and title.

@nizamial09 nizamial09 requested a review from tchaikov February 9, 2021 05:05
Copy link
Member

@epuertat epuertat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix @nizamial09 !

@tchaikov
Copy link
Contributor

@nizamial09 could you please rerun the failed test to verify the fix? i tried to run it twice. but both runs timed out. see my another comment in this PR.

@nizamial09
Copy link
Member Author

@tchaikov I've been trying for getting the e2e done locally but I couldn't do it succefully since this requires an orchestrator e2e to be run.

this change fixes a regression introduced by
8c5e31e which broke the 01-hosts.e2e-spec.ts test
driven by test_dashboard_e2e.sh

Fixes: https://tracker.ceph.com/issues/49205
Signed-off-by: Nizamudeen A <nia@redhat.com>
@nizamial09
Copy link
Member Author

@tchaikov @epuertat Made a slight change to the PR and verified locally that the tests are passing.

Hosts page
    when Orchestrator is available
      ✓ should edit host labels (8584ms)

@tchaikov tchaikov merged commit 70ba947 into ceph:master Feb 17, 2021
@epuertat epuertat deleted the fix-orch-host-e2e branch February 17, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants