Skip to content

test: add critical flow test for on-prem login redirect [WPB-25319]#21407

Merged
zskhan merged 9 commits into
devfrom
refinement/WPB-25319-onPrem-Login-Redirect
Jun 1, 2026
Merged

test: add critical flow test for on-prem login redirect [WPB-25319]#21407
zskhan merged 9 commits into
devfrom
refinement/WPB-25319-onPrem-Login-Redirect

Conversation

@JacquelineLehner
Copy link
Copy Markdown
Collaborator

@JacquelineLehner JacquelineLehner commented May 29, 2026

TaskWPB-25319 [Web][QA] Write Critical Flow -> On Prem Login Redirect

This PR introduces a critical flow E2E test (TC-8757) to verify the on-premise login redirect behavior. It ensures that users entering an email associated with a claimed domain on the SSO page are correctly prompted and redirected to the correct backend.

Refs: WPB-25319

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

🔗 Download Full Report Artifact

🧪 Playwright Test Summary

  • Passed: 11
  • Failed: 0
  • Skipped: 0
  • 🔁 Flaky: 4
  • 📊 Total: 15
  • Total Runtime: 187.0s (~ 3 min 7 sec)
specs/CriticalFlow/joinTeam-TC-8635.spec.ts (❌ 0 failed, ⚠️ 1 flaky)
  • ⚠️ New person joins team and sets up device (tags: TC-8635, crit-flow-web)
specs/CriticalFlow/messagesInGroups-TC-8751.spec.ts (❌ 0 failed, ⚠️ 1 flaky)
  • ⚠️ Messages in Groups (tags: TC-8751, crit-flow-web)
specs/CriticalFlow/personalAccountLifecycle-TC-8638.spec.ts (❌ 0 failed, ⚠️ 1 flaky)
  • ⚠️ Personal Account Lifecycle (tags: TC-8638, crit-flow-web)
specs/CriticalFlow/startupHasNoConsoleErrors.spec.ts (❌ 0 failed, ⚠️ 1 flaky)
  • ⚠️ Application startup does not emit uncaught runtime errors (tags: crit-flow-web)

Comment thread apps/webapp/test/e2e_tests/backend/brigRepository.e2e.ts Outdated
Comment thread apps/webapp/test/e2e_tests/backend/brigRepository.e2e.ts Outdated
Comment thread apps/webapp/test/e2e_tests/specs/CriticalFlow/onPremLoginRedirect-TC-8757.spec.ts Outdated
Comment thread apps/webapp/test/e2e_tests/specs/CriticalFlow/onPremLoginRedirect-TC-8757.spec.ts Outdated
Comment thread apps/webapp/test/e2e_tests/specs/CriticalFlow/onPremLoginRedirect-TC-8757.spec.ts Outdated
Add a critical flow E2E test to verify the on-premise login redirect behaviour
when a user enters an email associated with a claimed domain on the SSO page.

Changes included:
- Add `onPremLoginRedirect-TC-8757.spec.ts` to test the redirect flow and
  verify the custom backend dialog.
- Implement `CustomBackendPage` POM.
- Update `brig.repository.e2e.ts` with `claimDomain` and `deleteDomain`
  API helpers to handle test setup and guaranteed teardown.
- Use FakerJS to ensure domain uniqueness per test run to prevent collisions.

Refs: WPB-25319
…ackend URL for resilience and reducing maintenance effort

Refs: WPB-25319
@JacquelineLehner JacquelineLehner force-pushed the refinement/WPB-25319-onPrem-Login-Redirect branch from 4aee884 to 9d16374 Compare June 1, 2026 08:58
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 1, 2026

@zskhan zskhan disabled auto-merge June 1, 2026 12:31
@zskhan zskhan merged commit 967c71e into dev Jun 1, 2026
37 of 40 checks passed
@zskhan zskhan deleted the refinement/WPB-25319-onPrem-Login-Redirect branch June 1, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants