-
Bug
-
Resolution: Done
-
Critical
-
1.8.0
-
1
-
False
-
-
False
-
-
-
RHDH Install 3281, RHDH Install 3282
Description of problem:
Flaky Tests with GitHub Happy Path: Login as a Github user from Settings page.
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>