refactor: Migrate test suite to Playwright and revamp dev environment#117
Merged
refactor: Migrate test suite to Playwright and revamp dev environment#117
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Enables tests that rely on predefined file-storage users to work against the mongo-backed dev server by importing users.json and organizations.json into MongoDB. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Migrates session, jwks, i18n, users, organizations, invitations, sites, mails, password-lists, single-membership, pseudo-session, admin-credentials, external-apps-authorization, and unescape-dn tests. Adds rotate-keys endpoint to test-env API for JWKS testing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rver LDAP, OIDC, and file-storage tests use an in-process server helper since they require different server configurations than the dev server. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ading) - Move env var assignments from module level to beforeAll in in-process tests - Add config overlay PATCH endpoint to test-env API - Add patchConfig() to support utils for remote config mutation - Increase authRateLimit in development config for testing - Set NODE_CONFIG_DIR in test support for config imports - Switch external-apps-authorization to in-process server (needs config mutation) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix waitForMail link extraction to find action links - Set alwaysAcceptInvitation=false in beforeEach for invitation tests - Relax password validation in dev config to match test expectations - Disable observer for in-process server tests - Add patchConfig to test-env API for remote config mutation - Revert external-apps-authorization to dev-server pattern - Add test-results to .gitignore Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add secretKeys.pseudoSession - Set defaultMaxCreatedOrgs to -1 (unlimited for testing) - Add passwordUpdateInterval - Relax password entropy to 20 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix createUser to filter for token_callback mails only (ignore invitation mails) - Clean all organizations in test-env (including admins-org) - Skip 3 tests needing cookie manipulation or events service - Fix waitForMail link extraction in organizations test Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
tests/support/ toolkit (axios helpers, in-process server, e2e fixtures).
segregation across parallel worktrees.
issues surfaced during the migration.