Skip to content

Conversation

@Arpit529Srivastava
Copy link
Member

Description

This PR adds a comprehensive Page Object Model (POM) for the WDS (Workload Discovery Service) page to support end-to-end testing. The WDSPage class extends BasePage and provides a robust set of methods and locators for interacting with all major features of the WDS interface.

Related Issue

Under #2159

Changes Made

  • Added WDSPage class extending BasePage with locators for UI elements (buttons, canvas, tables, filters, panels, etc.)
  • Added navigation methods (goto(), ensureOnWdsPage(), waitForPageLoad())
  • Added view switching methods (tiles/list view switching, state checks, wait conditions)
  • Added filtering and context selection methods (selectContext(), applyFilter(), clearFilters())
  • Added node interaction methods (click, select in tiles/list view, selection checks)
  • Added details panel management methods (isDetailsPanelOpen(), closeDetailsPanel())
  • Added utility methods (item counts, resource counts, empty state checks)
  • Added pagination methods (get pagination info, navigate next/previous)
  • Added verification methods (verify view mode buttons, tiles/list view rendering)

  • Updated ...
  • Refactored ...
  • Fixed ...
  • Added tests for ...

Checklist

Please ensure the following before submitting your PR:

  • I have reviewed the project's contribution guidelines.
  • I have written unit tests for the changes (if applicable).
  • I have updated the documentation (if applicable).
  • I have tested the changes locally and ensured they work as expected.
  • My code follows the project's coding standards.

Screenshots or Logs (if applicable)

Additional Notes

Signed-off-by: arpit529srivastava <arpitsrivastava529@gmail.com>
Signed-off-by: arpit529srivastava <arpitsrivastava529@gmail.com>
Copilot AI review requested due to automatic review settings November 15, 2025 12:24
@Arpit529Srivastava
Copy link
Member Author

/cc @btwshivam

@kubestellar-prow kubestellar-prow bot requested a review from btwshivam November 15, 2025 12:26
Copilot finished reviewing on behalf of Arpit529Srivastava November 15, 2025 12:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-project-automation github-project-automation bot moved this from In Progress to Ready to Merge in KubeStellar UI Project Nov 16, 2025
@kubestellar-prow
Copy link

LGTM label has been added.

Git tree hash: e6db0d638c89b7d64ead0899e0342e2b1c43d120

@btwshivam
Copy link
Contributor

/approve
/ok-to-test

@kubestellar-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: btwshivam

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow bot merged commit 60177bf into kubestellar:dev Nov 16, 2025
13 checks passed
@github-project-automation github-project-automation bot moved this from Ready to Merge to Done in KubeStellar UI Project Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants