Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasionally failing e2e test checking auth. page with SSO #357

Open
odockal opened this issue Oct 15, 2024 · 0 comments
Open

Occasionally failing e2e test checking auth. page with SSO #357

odockal opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
area/e2e tests e2e tests related issues

Comments

@odockal
Copy link
Contributor

odockal commented Oct 15, 2024

there is occasional failure on the e2e test verifying auth. page. Happening on Windows.

   1) [chromium] › tests\src\sso-extension.spec.ts:100:5 › Red Hat Authentication extension verification › Red Hat Authentication extension installation › SSO provider is available in Authentication Page 

    Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)

    Locator: getByRole('region', { name: 'Authentication' }).getByRole('region', { name: 'Content' }).getByRole('list').getByRole('listitem', { name: 'Red Hat SSO' }).getByLabel('Provider Information').getByLabel('Provider Name')
    Expected string: "Red Hat SSO"
    Received: <element(s) not found>
    Call log:
      - expect.toHaveText with timeout 5000ms
      - waiting for getByRole('region', { name: 'Authentication' }).getByRole('region', { name: 'Content' }).getByRole('list').getByRole('listitem', { name: 'Red Hat SSO' }).getByLabel('Provider Information').getByLabel('Provider Name')


      103 |       await playExpect(authPage.heading).toHaveText('Authentication');
      104 |       const provider = authPage.getProvider(authProviderName);
    > 105 |       await playExpect(provider.getByLabel('Provider Information').getByLabel('Provider Name')).toHaveText(authProviderName);
          |                                                                                                 ^
      106 |       await playExpect(provider.getByLabel('Provider Information').getByLabel('Provider Status')).toHaveText('Logged out');
      107 |       await playExpect(provider.getByLabel('Provider Actions').getByRole('button')).toContainText('Sign in');
      108 |     });

        at C:\Users\rhqp\pd-e2e\podman-desktop-redhat-account-ext\tests\src\sso-extension.spec.ts:105:97

  1 failed
    [chromium] › tests\src\sso-extension.spec.ts:100:5 › Red Hat Authentication extension verification › Red Hat Authentication extension installation › SSO provider is available in Authentication Page 
@odockal odockal added the area/e2e tests e2e tests related issues label Oct 15, 2024
@odockal odockal self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/e2e tests e2e tests related issues
Projects
None yet
Development

No branches or pull requests

1 participant