Skip to content

test(WPB-19947): Add e2e regression tests for deep links#21032

Draft
JacquelineLehner wants to merge 6 commits intodevfrom
19947-deep-links-tests
Draft

test(WPB-19947): Add e2e regression tests for deep links#21032
JacquelineLehner wants to merge 6 commits intodevfrom
19947-deep-links-tests

Conversation

@JacquelineLehner
Copy link
Copy Markdown
Collaborator

@JacquelineLehner JacquelineLehner commented Apr 17, 2026

TaskWPB-19947 [Web/QA] Write the Deep Links regression tests in Playwright

Summary

  • add regression tests for deep links

Security Checklist (required)

  • External inputs are validated & sanitized on client and/or server where applicable.
  • API responses are validated; unexpected shapes are handled safely (fallbacks or errors).
  • No unsafe HTML is rendered; if unavoidable, sanitization is applied and documented where it happens.
  • Injection risks (XSS/SQL/command) are prevented via safe APIs and/or escaping.

Accessibility (required)

Standards Acknowledgement (required)


This commit introduces a new test suite `deepLinks.spec.ts` to verify
the handling and presentation of deep links within the webapp.

Implemented scenarios include:
- Opening profile deep links as a team member (@TC-590).
- Opening profile and conversation join deep links as a personal account (@TC-591).
- Verifying the correct display of profile information (email, domain,
  guest chip, connect warnings) when interacting with deep links from
  connected users, unconnected users, and team members.
- Joining a group conversation via a shared conversation join deep link.
- Utilizing clipboard permissions to successfully copy and paste
  deep links during the test flow.

Additionally, the `UserProfileModal` page object has been updated to
support these assertions. New locators include:
- `userEmailLabel` and `userEmailEntry`
- `domainLabel`
- `guestChip` and `connectWarning`
- `cancelButton` and `modalCloseButton`

Refs: WPB-19947
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 17, 2026

🔗 Download Full Report Artifact

🧪 Playwright Test Summary

  • Passed: 4
  • Failed: 0
  • Skipped: 0
  • 🔁 Flaky: 1
  • 📊 Total: 5
  • Total Runtime: 91.3s (~ 1 min 31 sec)
specs/ParticipantProfile/participantProfile.spec.ts (❌ 0 failed, ⚠️ 1 flaky)
  • ⚠️ Participant Profile > Verify big profile picture and username are shown on participant popover (tags: TC-1480, regression)

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
46.6% Duplication on New Code (required ≤ 5%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants