The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/tests/e2e
Lucas Pelegrino 6d334f21b9
fix: Contact conflict resolution (#36019)
8 months ago
..
apps feat: disable uploading of exempt apps (#33949) 1 year ago
config refactor(tests): API tests (#32643) 2 years ago
containers/saml
federation feat: Separate video call and voice call room actions (#35700) 9 months ago
fixtures test: Decouple E2E encryption tests (#36000) 8 months ago
omnichannel fix: Contact conflict resolution (#36019) 8 months ago
page-objects chore: bump fuselage packages (#36008) 8 months ago
utils fix: Contact's custom fields are now properly sent to api (#35879) 8 months ago
.eslintrc.json
README.md
access-security-page.spec.ts
account-forgetSessionOnWindowClose.spec.ts fix lint: add space 1 year ago
account-profile.spec.ts feat: improve UX for logged users with mandatory 2FA roles (#35709) 9 months ago
admin-room.spec.ts test: close pages properly (#32681) 2 years ago
admin-users.spec.ts fix: new user not moving from Pending to Deactivated tab in admin UI (#35828) 8 months ago
administration-settings.spec.ts fix: CodeSettingInput renders duplicate code text box (#35273) 10 months ago
administration.spec.ts fix: Owner change modal not showing content as expected (#35815) 8 months ago
anonymous-user.spec.ts
avatar-settings.ts
channel-management.spec.ts feat: Use `IconButton` to navigate to parent room (#35613) 9 months ago
create-channel.spec.ts
create-direct.spec.ts
create-discussion.spec.ts
e2e-encryption.spec.ts test: Decouple E2E encryption tests (#36000) 8 months ago
email-inboxes.spec.ts
embedded-layout.spec.ts chore: Only public channels cannot be previewed by permissions (#35611) 9 months ago
emojis.spec.ts regression: `EmojiPicker` not displaying scrollbar properly (#35536) 10 months ago
enforce-2FA.spec.ts feat: improve UX for logged users with mandatory 2FA roles (#35709) 9 months ago
export-messages.spec.ts feat: Export selected room messages as JSON file (#34076) 1 year ago
feature-preview.spec.ts test: flaky feature preview tests (#35891) 8 months ago
file-upload.spec.ts fix: `FileUpload` initial focus order (#35889) 8 months ago
forgot-password.spec.ts
homepage.spec.ts
image-gallery.spec.ts test: Replace invalid `imageLink` in image-gallery (#35645) 10 months ago
image-upload.spec.ts fix: upload of malformed jpegs with Message_Attachments_Strip_Exif disabled fails silently (#35839) 8 months ago
imports.spec.ts feat!: shrink payload of the startImport endpoint (#33630) 1 year ago
jump-to-thread-message.spec.ts refactor: dont use `useEffect` to control thread scroll (#35818) 9 months ago
login.spec.ts i18n: Rocket.Chat language update from Lingohub 🤖 on 2025-05-01Z (#35916) 8 months ago
mark-unread.spec.ts test: flaky - stop closing page before sending the message (#35646) 10 months ago
message-actions.spec.ts fix: Clicking repeatedly on 'create' button result in multiple discusions created (#33985) 1 year ago
message-composer.spec.ts chore: `AudioMessageRecorder` mount effect (#35146) 11 months ago
message-mentions.spec.ts test: flaky feature preview tests (#35891) 8 months ago
messaging.spec.ts fix: Parsing emojis inside code blocks in attachment content using `chat.postMessage` API call (#35963) 8 months ago
oauth.spec.ts
otr.spec.ts fix: Don't allow OTR message editing (#35600) 8 months ago
permissions.spec.ts fix: bad word filtering not working (#32810) 1 year ago
presence.spec.ts feat: set busy status on calendar appointments (#35474) 10 months ago
preview-public-channel.spec.ts chore: Only public channels cannot be previewed by permissions (#35611) 9 months ago
prune-messages.spec.ts feat: differentiate between pruning messages and files (#35996) 8 months ago
read-receipts.spec.ts test: closing remaining opened pages (#32844) 1 year ago
register.spec.ts
report-message.spec.ts test: create tests for reporting messages (#35783) 9 months ago
reset-password.spec.ts
retention-policy.spec.ts chore: update eslint plugins (#33879) 1 year ago
saml.spec.ts fix: SAML login redirects to incorrect room when using an invite (#34873) 12 months ago
search-discussion.spec.ts feat: Use `IconButton` to navigate to parent room (#35613) 9 months ago
settings-assets.spec.ts
settings-int.spec.ts fix: saveSettings endpoint allowing NaN to be stored on Int settings (#32428) 2 years ago
settings-persistence-on-ui-navigation.spec.ts fix: settings disappear on UI navigation back and forth (#32713) 1 year ago
sidebar-administration-menu.spec.ts
sidebar.spec.ts regression: Sidebar should collapse in tablet view under feature preview only (#35872) 8 months ago
system-messages.spec.ts
team-management.spec.ts chore: improve unread badge content a11y (#33903) 10 months ago
threads.spec.ts test: Minor E2E test adjustments (#35049) 11 months ago
translations.spec.ts
user-card-info-actions-by-member.spec.ts fix: show only relevant userInfoActions for mentioned non-members (#31525) 1 year ago
user-card-info-actions-by-room-owner.spec.ts fix: show only relevant userInfoActions for mentioned non-members (#31525) 1 year ago
video-conference-ring.spec.ts feat: Separate video call and voice call room actions (#35700) 9 months ago
video-conference.spec.ts feat: Separate video call and voice call room actions (#35700) 9 months ago

README.md

E2E Testing with playwright

Running tests

The application must be started with TEST_MODE=true

$ TEST_MODE=true yarn dev

Then we can run a single suite with

$ yarn test:e2e ./tests/e2e/administration.spec.ts

Or all the tests with

$ yarn test:e2e

We can also provide some env vars to test:e2e script:

  • BASE_URL=<any_url> Run the tests to the given url
  • PWDEBUG=1 Control the test execution

Page Objects

  • Any locator name must start with of one the following prefixes: btn, link, input, select, checkbox, text

Assertions

Checking if a element is visible

 await expect(anyElement).toBeVisible();