Accept invite tests and documentation update#717
Open
Phillipe-Bojorquez wants to merge 2 commits intoChildMindInstitute:devfrom
Open
Accept invite tests and documentation update#717Phillipe-Bojorquez wants to merge 2 commits intoChildMindInstitute:devfrom
Phillipe-Bojorquez wants to merge 2 commits intoChildMindInstitute:devfrom
Conversation
- Add browser-based user invitation acceptance test - Create shared API classes for applets, users, invitations, and client - Add shared credential loading utility - Update storage state path and cross-env scripts - Refactor specs to use shared helpers
- Add comprehensive JSDoc to API helper classes (applets, users, invitations, client) - Document utility functions in api.ts, file.ts, loginPage.ts, userApi.ts - Add type annotations and parameter descriptions for better IDE support
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.
📝 Description
🔗 Jira Ticket M2-#?
I do not have access to the CMI Jira instance to retrieve the Jira story id to include here. If someone could update this for me, I would appreciate it.
This PR enhances the Playwright E2E test suite by adding comprehensive user invitation testing capabilities and improving test maintainability through shared API helpers.
Changes include:
tests/e2e/specs/invitations/user-invite.spec.ts)tests/utils/credentials.ts)🪤 Peer Testing
Requires
yarn installTo test the changes: