-
Notifications
You must be signed in to change notification settings - Fork 305
test: add mention regression tests [WPB-19960] #20498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+753
−65
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a6cbbbe
test: implement TC-3487
markbrockhoff 8bee67e
test: add TC-3488
markbrockhoff b278e34
test: implement TC-3489
markbrockhoff 70e93ca
test: implement TC-3490
markbrockhoff 603d12e
test: implement TC-3491
markbrockhoff dc948eb
test: implement TC-3492
markbrockhoff 7562a2b
test: implement TC-3493
markbrockhoff 85340ff
test: implement TC-3494
markbrockhoff d4b8704
test: implement TC-3498
markbrockhoff e546033
test: implement TC-3521
markbrockhoff 5bcb1e2
test: implement TC-3528
markbrockhoff 3808146
fix: add correct aria label to decline button
markbrockhoff 125a0bb
test: implement TC-3529
markbrockhoff 0e17322
refactor: group conversation list item locators
markbrockhoff 426b4b1
test: implement TC-3530
markbrockhoff 05ef5fc
test: implement TC-3531
markbrockhoff a13c3c7
test: implement TC-3532
markbrockhoff 93a27dd
test: implement TC-3533
markbrockhoff 1916c1a
test: implement TC-3535
markbrockhoff 488fb07
test: implement TC-3537
markbrockhoff 846b4d5
refactor: fix a11y for group member lists
markbrockhoff 8c237f8
test: implement TC-3540 mention guest user
markbrockhoff 834d040
test: implement TC-3545
markbrockhoff d3deea0
test: implement TC-3546
markbrockhoff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
35 changes: 35 additions & 0 deletions
35
apps/webapp/test/e2e_tests/pageManager/webapp/modals/guestLinkPassword.modal.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| /* | ||
| * Wire | ||
| * Copyright (C) 2025 Wire Swiss GmbH | ||
| * | ||
| * This program is free software: you can redistribute it and/or modify | ||
| * it under the terms of the GNU General Public License as published by | ||
| * the Free Software Foundation, either version 3 of the License, or | ||
| * (at your option) any later version. | ||
| * | ||
| * This program is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| * GNU General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU General Public License | ||
| * along with this program. If not, see http://www.gnu.org/licenses/. | ||
| * | ||
| */ | ||
|
|
||
| import {Locator, Page} from '@playwright/test'; | ||
|
|
||
| import {BaseModal} from './base.modal'; | ||
|
|
||
| /** Modal shown when a link for guests to join a group conversation with a password is created */ | ||
| export class GuestLinkPasswordModal extends BaseModal { | ||
| readonly setPasswordInput: Locator; | ||
| readonly confirmPasswordInput: Locator; | ||
|
|
||
| constructor(page: Page) { | ||
| super(page, 'modal-template-guest-link-password'); | ||
|
|
||
| this.setPasswordInput = this.modal.getByRole('textbox', {name: 'Set password'}); | ||
| this.confirmPasswordInput = this.modal.getByRole('textbox', {name: 'Confirm password'}); | ||
| } | ||
| } |
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
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
15 changes: 15 additions & 0 deletions
15
apps/webapp/test/e2e_tests/pageManager/webapp/pages/conversationJoin.page.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import {Page} from 'playwright/test'; | ||
|
|
||
| /** Page shown to users using a guest link to join a group conversation */ | ||
| export const ConversationJoinPage = (page: Page) => { | ||
| const joinAsGuest = async (name: string) => { | ||
| await page.getByRole('textbox', {name: 'Your name'}).fill(name); | ||
| // It's necessary to specify a position since the text contains a link which would be clicked instead of the checkbox | ||
| await page.getByText(/I accept .* terms of use/i).click({position: {x: 0, y: 8}}); | ||
| await page.getByRole('button', {name: 'Join as Temporary Guest'}).click(); | ||
| }; | ||
|
|
||
| return { | ||
| joinAsGuest, | ||
| }; | ||
| }; |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.