Skip to content

mgr/dashboard: fix cephadm e2e test selectors and assertions - #70273

Closed
afreen23 wants to merge 2 commits into
ceph:mainfrom
rhcs-dashboard:fix-cephadm-tests
Closed

afreen23 wants to merge 2 commits into
ceph:mainfrom
rhcs-dashboard:fix-cephadm-tests

Conversation

@afreen23

Copy link
Copy Markdown
Contributor
  • replace .title selector with h4 - step components render plain

    tags with no .title CSS class

  • change have.text to contain.text for legend check to handle i18n template whitespace around 'Cluster Resources'
  • pass shouldReload=true to checkExist after host add so the hosts table has time to reflect the newly added host

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@afreen23
afreen23 requested a review from a team as a code owner July 17, 2026 08:22
@afreen23 afreen23 changed the title mgr/dashboard: fix cephadm e2e test selectors and assertions mgr/dashboard: fix cephadm e2e test selectors and assertions Jul 17, 2026
@afreen23

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

@afreen23

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard

@afreen23
afreen23 force-pushed the fix-cephadm-tests branch 2 times, most recently from 420ecf1 to f6c0079 Compare July 17, 2026 11:38
@afreen23
afreen23 requested review from a team as code owners July 17, 2026 11:38
@afreen23
afreen23 force-pushed the fix-cephadm-tests branch 6 times, most recently from 60cef85 to dbc27c4 Compare July 17, 2026 20:15
@afreen23
afreen23 removed request for a team July 17, 2026 20:15
@afreen23
afreen23 force-pushed the fix-cephadm-tests branch from dbc27c4 to 8e7db44 Compare July 17, 2026 21:21
@afreen23

Copy link
Copy Markdown
Contributor Author

jenkins test dashboard cephadm

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

Fix ModuleStatusGuardService race condition: the guard's fire-and-forget
getConfig('orchestrator') subscribe error handler redirects to 'overview'
independently of the guard's return value. When the cy.intercept stub
doesn't match in time, this async redirect removes cd-create-cluster.

Fix by:
- Adding cy.wait for aliased orchStatus/orchConfig intercepts in
  OnboardingHelper.navigateTo() and Cucumber onboarding step
- Stubbing ui-api/osd/deployment_options (called by create-cluster
  component ngOnInit without error handling)
- Adding explicit statusCode: 200 to all orchestrator stubs
- Fixing clickRowActionButton to use cds-overflow-menu-option selector
- Fixing expand button selector for Carbon table migration
- Fixing tag selectors (.tag -> cds-tag) in hosts.po and table-helper
- Fixing comma operator syntax bug in 08-hosts spec
- Adding blink_device_light feature to orchestrator status stub
- Fixing inventory identify timeout syntax

Signed-off-by: Afreen Misbah <[email protected]>
@afreen23

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@afreen23

Copy link
Copy Markdown
Contributor Author

Need to fix some more issues

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Sep 22, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions Bot closed this Oct 22, 2026
@github-project-automation github-project-automation Bot moved this from New to Done in Ceph-Dashboard Oct 22, 2026
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.

1 participant