Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-4205

[Playwright smoke Tests] Refactor token page spec to avoid navigation dependencies

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Team Sprint 284

      Description of the Issue

      Recent updates to the left navigation in OCM UI exposed implicit dependencies in the Token page test spec. As a result, the spec began failing due to changes in the left navigation structure.

      To prevent similar issues in the future, we should avoid introducing cross-feature dependencies in test specs. The intent of a test case should not be blocked by unrelated UI structure changes.

      As a side note, left navigation behavior should be validated through a dedicated test definition rather than being indirectly covered within feature-specific specs.

      Acceptance Criteria

      • Remove left navigation dependencies from the Token page spec.
      • Navigate using the parent page URL and then proceed to the correct Token page as required by the feature.
      • Ensure the test validates only the intended Token page functionality, without relying on left navigation structure.

              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: