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

[E2E] GitHub Happy Path: Login as a Github user from Settings page.

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH Install 3281, RHDH Install 3282

      Description of problem:

      Flaky Tests with GitHub Happy Path:  Login as a Github user from Settings page. 

      Job link: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/redhat-developer_rhdh/3555/pull-ci-redhat-developer-rhdh-main-e2e-ocp-helm/1980107031138275328 

       

      Logs:

      **

      showcase] › e2e/github-happy-path.spec.ts:37:3 › GitHub Happy path › Login as a Github user from Settings page. 
      
          Error: locator.click: Error: strict mode violation: getByTitle('GitHub') resolved to 2 elements:
              1) <div title="Provides authentication towards GitHub APIs and identities" class="MuiGrid-root-1967 MuiGrid-container-1968 MuiGrid-spacing-xs-6-1995">...</div> aka getByTitle('Provides authentication towards GitHub APIs and identities')
              2) <button tabindex="0" type="button" title="Sign in to GitHub" class="MuiButtonBase-root-2094 MuiButton-root-2213 MuiButton-outlined-2218 MuiButton-outlinedPrimary-2219">...</button> aka getByTitle('Sign in to GitHub')
      
          Call log:
            - waiting for getByTitle('GitHub')
      
      
             at utils/common.ts:359
      
            357 |       this.page
            358 |         .getByTitle(t["rhdh"][lang]["signIn.providers.github.title"])
          > 359 |         .click(),
                |          ^
            360 |       this.uiHelper.clickButton("Log in"),
            361 |     ]);
            362 |
              at Common.githubLoginFromSettingsPage (/tmp/rhdh/e2e-tests/playwright/utils/common.ts:359:10)
              at /tmp/rhdh/e2e-tests/playwright/e2e/github-happy-path.spec.ts:42:21 

       

      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
              jakumar jaivardhan Kumar
              RHDH Install
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: