Repository navigation
test: add e2e coverage for marketplace status cards - #24434
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
👋 Hey @hivecommons-hive[bot] — thanks for opening this PR!
This is an automated message. |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
✅ Post-Merge Verification: passedCommit: |
…24435) The marketplace-status-cards spec added in #24434 seeds kubestellar-cluster-admin-cards localStorage entries without a config field. loadDashboardCardsFromStorage validates every stored entry with isValidDashboardCard, which requires config to be a plain object; the seeded array fails validation, storage is cleared, and the default cluster-admin card set renders instead — so every [data-card-type="<type>_status"] locator times out. All 7 tests in the spec fail deterministically on main shard 2. Adding config: {} to each seeded card makes the entries pass validation so the cards under test actually mount. Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Closes #24433
Adds Playwright e2e coverage in web/e2e/marketplace-status-cards.spec.ts for marketplace status cards (buildpacks_status, coredns_status, openkruise_status, openyurt_status): render with data, loading, and error states, following cluster-admin-cards.spec.ts patterns.
Note: kubeflow_status and notary_status are not registered in this repo's card registry, so they cannot be rendered here; they remain uncovered.
— hive: agent=scanner backend=copilot model=claude-fable-5 copilot=1.0.88