Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2042

[e2e] test flaky because relying on UI to go to settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.8.0
    • Test framework
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH Install 3280

      Description of problem:

      Often, the PR check or nightly job fails, because the e2e-test is relying on UI, as seen here: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-redhat-developer-rhdh-main-e2e-tests-nightly-ocp-v4-17/1967151551583621120/artifacts/e2e-tests-nightly-ocp-v4-17/redhat-developer-rhdh-nightly/artifacts/showcase-ci-nightly/index.html#?testId=4710ef93113da210e22e-ef62f2ab8c9c5964dfd9 

      It is better to minimize the use of UI only to check it works at one test, and then navigate to the exact url (at this case `/settings`).

      The failures occur often with guest-signin-happy-path.spec.ts

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              zdrapela@redhat.com Zbynek Drapela
              zdrapela@redhat.com Zbynek Drapela
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: