-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement E2E test that would verify logging in into SSO using Red Hat Account #156
Comments
We might need to use goax framework, prepare a e2e test interaction with a browser bundled into a binary and run it during playwright e2e test. This would require some PoC to be done. Especially running the e2e test (using) from within playwright e2e test run. Not talking about passing also some credentials into the test while on CI. |
@odockal You can run try to use SeleniumDriver. The trick is to run SeleniumDriver test in default web browser before e2e test and then wait for new tab to be opened, presumably by Auth extension, and then put user name, password and click login button using selenium driver api. There is even Selenium manager that would let you to install specific driver and browser. Just an idea. |
@dgolovin yes, playwright should enable something similar, except I am trying to achieve that using just one test run, but using multiple browser contexts (https://playwright.dev/docs/api/class-browsercontext). |
Basic E2E tests handles verification of the extension itself, now it is time to verify the main functionality.
We needs to find out a way to open browser from playwright e2e test once the Authenticate request is sent from SSO/PD. Then go back to PD and check the successful authentication.
This case should be trying to tackle authentication using Red Hat Account.
The text was updated successfully, but these errors were encountered: