[ENHANCEMENT] [MER-5850] Add parameterized OAuth login Playwright tests - #6764
Open
manelli wants to merge 2 commits into
Open
[ENHANCEMENT] [MER-5850] Add parameterized OAuth login Playwright tests#6764manelli wants to merge 2 commits into
manelli wants to merge 2 commits into
Conversation
manelli
marked this pull request as ready for review
August 6, 2026 21:30
Contributor
Contributor
AI Review —No issues found |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds fully parameterized Playwright smoke tests for Google OAuth login across Torus account classes and deployment environments.
The suite covers:
/users/log_in/authors/log_inImplementation
learnerandauthor.PLAYWRIGHT_PARAMETER_CONFIG_URL.npm run test-oauth-logins.Full configuration documentation is in
assets/automation/README.md.Prerequisites
Each target environment requires:
Do not commit credentials or the runtime YAML.
All commands below should be run from:
cd assets/automationTesting locally
Configure a Google OAuth web client with these authorized redirect URIs:
Start Torus with the OAuth client credentials set (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET):
Set the YAML target:
Fill in the learner and author account values, including the exact Torus display names.
Serve the configuration on loopback:
Run:
Testing Tokamak/Stellarator
Use dedicated accounts already linked in Tokamak and set:
Run:
See: https://eliterate.atlassian.net/browse/MER-5850