Skip to content

Conversation

@StylusFrost
Copy link
Collaborator

Context

This PR implements the critical path of Invite User e2e test flow. PR DEPENDECY #9037

Description

The implementation includes a comprehensive E2E test suite (@INVITATION-E2E-001) that validates the Invite User process using ramdon email

@INVITATION-E2E-001

  1. Navigate to invitations page
  2. Click "Send Invitation" button
  3. Fill unique email address for the invite
  4. Select role e2e_admin
  5. Click "Send Invitation" to generate invitation
  6. Read the generated share URL from the invitation details
  7. Open a new browser context (no admin cookies) and navigate to the share URL
  8. Complete sign-up with provided password and accept terms
  9. Verify sign-up success (no errors) and redirect to login page
  10. Log in with the newly created credentials in the new context
  11. Verify successful login
  12. Navigate to user profile and verify organizationId matches E2E_ORGANIZATION_ID

Steps to review

cd ui
npx playwright test --grep @invitations

Checklist

API

  • Verify if API specs need to be regenerated.
  • Check if version updates are required (e.g., specs, Poetry, etc.).
  • Ensure new entries are added to CHANGELOG.md, if applicable.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- Added support for invitations management in the UI E2E tests, including a new InvitationsPage class for handling invitation-related actions.
- Updated the Playwright configuration to include a new project for invitations tests.
- Created comprehensive end-to-end tests for inviting new users, verifying the sign-up process, and ensuring proper organization association.
- Introduced new environment variable 'E2E_ORGANIZATION_ID' for managing organization-specific tests.
- Documented the new test cases and flow for invitations management in the corresponding markdown files.
@StylusFrost StylusFrost requested review from a team as code owners October 28, 2025 10:58
@github-actions
Copy link
Contributor

⚠️ Changes detected in the following folders without a corresponding update to the CHANGELOG.md:

  • ui

Please add an entry to the corresponding CHANGELOG.md file to maintain a clear history of changes.

@StylusFrost StylusFrost self-assigned this Oct 28, 2025
@StylusFrost StylusFrost added the no-changelog Skip including change in changelog/release notes label Oct 28, 2025
…add-an-connect-the-provider' into PROWLER-188-invite-new-user
- Added missing spaces in the InvitationsPage tests to improve readability and maintain consistency in the code style.
- This change enhances the overall clarity of the test code without affecting functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Skip including change in changelog/release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants