-
Notifications
You must be signed in to change notification settings - Fork 0
fix(tests): local-setup e2e playwright tests #172
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
Conversation
- Implemented `activateUserEmail` function to automate email activation for newly registered users. - Updated registration test to use dynamic user parameters for email and password. - Added steps to log in to the portal after email activation and verify successful login. On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the e2e Playwright tests for local setup by adding email user activation in Keycloak between user registration and portal login steps. The fix addresses test failures where users couldn't log in because their email wasn't verified in Keycloak.
- Added
activateUserEmail
function to programmatically verify user emails in Keycloak admin interface - Refactored test to use variables for user data and added complete login flow after registration
- Added new task in Taskfile.yaml to run portal e2e tests
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 5 comments.
File | Description |
---|---|
local-setup/e2e/test-register-and-navigate.test.ts | Added email activation function and complete user registration/login flow |
Taskfile.yaml | Added test:portal-e2e task to run e2e tests |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
…ification On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
On-behalf-of: @SAP [email protected] Signed-off-by: Angel Kafazov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add email user activation in mailpit between user registration and portal login steps.
refers to #168