Add E2E tests for @asgardeo/react SDK#362
Merged
DonOmalVindula merged 1 commit intoasgardeo:mainfrom Feb 14, 2026
Merged
Conversation
5f63aa3 to
c20b9f8
Compare
c20b9f8 to
333721a
Compare
🦋 Changeset detectedThe changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. |
brionmario
approved these changes
Feb 14, 2026
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.
Purpose
This pull request introduces a comprehensive end-to-end (E2E) testing framework for the
@asgardeo/reactSDK using Playwright. The changes include new E2E test infrastructure, Docker-based setup for identity providers (WSO2 IS and Thunder), test helpers, and documentation updates. The main goal is to enable automated, cross-IDP E2E testing for both redirect-based and embedded sign-in flows, improving test coverage and reliability.The most important changes are:
E2E Test Infrastructure and Automation
.github/workflows/e2e-tests.yml) to automate E2E tests for the React SDK, running tests against both WSO2 IS and Thunder IDPs, with support for matrix builds and artifact uploads.e2e/docker-compose.yml) to provision and orchestrate WSO2 IS and Thunder containers for local and CI E2E testing.E2E Test Suite Implementation
e2e/fixtures/base.fixture.ts), IDP-agnostic authentication helpers (e2e/helpers/auth-helpers.ts), and IDP-specific helpers/selectors for WSO2 IS (e2e/helpers/is/auth-helpers.ts,e2e/helpers/is/selectors.ts). [1] [2] [3] [4]Documentation
e2e/README.md) describing prerequisites, test commands, project structure, sign-in modes, and test coverage.README.mdto reference the new E2E tests and improve formatting for clarity. [1] [2]Related Issues
Related PRs
Checklist
Security checks