This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
End to End Tests #863
Annotations
14 errors, 30 warnings, and 6 notices
sliding-sync/sliding-sync.spec.ts:178:9 › Sliding Sync › should update user settings promptly:
matrix-react-sdk/playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
1) sliding-sync/sliding-sync.spec.ts:178:9 › Sliding Sync › should update user settings promptly ─
Error: Command failed: docker run --name react-sdk-playwright-postgres-sliding-sync-cb791c15 -d --tmpfs=/pgtmpfs -e PGDATA=/pgtmpfs -e POSTGRES_PASSWORD=p4S5w0rD --add-host host.containers.internal:host-gateway postgres -c fsync=off -c synchronous_commit=off -c full_page_writes=off
Unable to find image 'postgres:latest' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.
|
login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up:
matrix-react-sdk/playwright/e2e/login/login.spec.ts#L220
1) login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up
Error: expect(locator).not.toBeVisible()
Locator: getByRole('heading', { name: 'Verify this device', level: 1 }).locator('.mx_CompleteSecurity_skip')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Verify this device', level: 1 }).locator('.mx_CompleteSecurity_skip')
218 | await expect(h1).toBeVisible();
219 |
> 220 | expect(h1.locator(".mx_CompleteSecurity_skip")).not.toBeVisible();
| ^
221 | });
222 | });
223 | });
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/login.spec.ts:220:73
|
app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support:
matrix-react-sdk/playwright/e2e/app-loading/feature-detection.spec.ts#L33
1) app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support
Error: Screenshot comparison failed:
15744 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/app-loading-feature-detect-0cb56-r-lacks-WebAssembly-support/unsupported-browser-CompatibilityView-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/app-loading-feature-detect-0cb56-r-lacks-WebAssembly-support/unsupported-browser-CompatibilityView-diff.png
Call log:
- expect.toHaveScreenshot(unsupported-browser-CompatibilityView.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 15744 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 15744 pixels (ratio 0.02 of all image pixels) are different.
31 | await expect(header).toBeVisible();
32 |
> 33 | await expect(page).toMatchScreenshot("unsupported-browser-CompatibilityView.png");
| ^
34 | });
35 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/app-loading/feature-detection.spec.ts:33:24
|
app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support:
matrix-react-sdk/playwright/e2e/app-loading/feature-detection.spec.ts#L33
1) app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
15744 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/app-loading-feature-detect-0cb56-r-lacks-WebAssembly-support-retry1/unsupported-browser-CompatibilityView-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/app-loading-feature-detect-0cb56-r-lacks-WebAssembly-support-retry1/unsupported-browser-CompatibilityView-diff.png
Call log:
- expect.toHaveScreenshot(unsupported-browser-CompatibilityView.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 15744 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 15744 pixels (ratio 0.02 of all image pixels) are different.
31 | await expect(header).toBeVisible();
32 |
> 33 | await expect(page).toMatchScreenshot("unsupported-browser-CompatibilityView.png");
| ^
34 | });
35 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/app-loading/feature-detection.spec.ts:33:24
|
app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support:
matrix-react-sdk/playwright/e2e/app-loading/feature-detection.spec.ts#L33
1) app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
15744 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/app-loading/feature-detection.spec.ts/unsupported-browser-CompatibilityView-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/app-loading-feature-detect-0cb56-r-lacks-WebAssembly-support-retry2/unsupported-browser-CompatibilityView-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/app-loading-feature-detect-0cb56-r-lacks-WebAssembly-support-retry2/unsupported-browser-CompatibilityView-diff.png
Call log:
- expect.toHaveScreenshot(unsupported-browser-CompatibilityView.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 15744 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 15744 pixels (ratio 0.02 of all image pixels) are different.
31 | await expect(header).toBeVisible();
32 |
> 33 | await expect(page).toMatchScreenshot("unsupported-browser-CompatibilityView.png");
| ^
34 | });
35 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/app-loading/feature-detection.spec.ts:33:24
|
accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms:
matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts#L25
2) accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: locator('.mx_SpaceButton_active')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('.mx_SpaceButton_active')
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="-1" role="button" aria-label="Home" class="mx_AccessibleButton mx_SpaceButton mx_SpaceButton_home mx_SpaceButton_active mx_SpaceButton_narrow">…</div>
- unexpected value "not focused"
23 | // Pressing Control+F6 will first focus the space button
24 | await page.keyboard.press("ControlOrMeta+F6");
> 25 | await expect(page.locator(".mx_SpaceButton_active")).toBeFocused();
| ^
26 |
27 | // Pressing Control+F6 again will focus room search
28 | await page.keyboard.press("ControlOrMeta+F6");
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts:25:62
|
crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L120
3) crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.mx_InteractiveAuthDialog .mx_Dialog_title').getByText('Setting up keys')
118 | if (!isDeviceVerified) {
119 | const uiaDialogTitle = page.locator(".mx_InteractiveAuthDialog .mx_Dialog_title");
> 120 | await expect(uiaDialogTitle.getByText("Setting up keys")).toBeVisible();
| ^
121 | await expect(uiaDialogTitle.getByText("Setting up keys")).not.toBeVisible();
122 | }
123 |
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:120:79
|
crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM:
matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts#L1
4) crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM
Test timeout of 30000ms exceeded.
|
crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM:
matrix-react-sdk/playwright/e2e/crypto/utils.ts#L373
4) crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM
Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded.
at crypto/utils.ts:373
371 | botVerificationRequest: JSHandle<VerificationRequest>,
372 | ): Promise<JSHandle<Verifier>> {
> 373 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => {
| ^
374 | while (!verificationRequest.verifier) {
375 | await new Promise((r) => verificationRequest.once("change" as any, r));
376 | }
at awaitVerifier (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:373:35)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts:67:48
|
crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch:
matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts#L1
5) crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch
Test timeout of 30000ms exceeded.
|
crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch:
matrix-react-sdk/playwright/e2e/crypto/utils.ts#L373
5) crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch
Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded.
at crypto/utils.ts:373
371 | botVerificationRequest: JSHandle<VerificationRequest>,
372 | ): Promise<JSHandle<Verifier>> {
> 373 | return botVerificationRequest.evaluateHandle(async (verificationRequest) => {
| ^
374 | while (!verificationRequest.verifier) {
375 | await new Promise((r) => verificationRequest.once("change" as any, r));
376 | }
at awaitVerifier (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:373:35)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/user-verification.spec.ts:108:48
|
Run Tests 1/6
Process completed with exit code 1.
|
|
end-to-end-tests
Process completed with exit code 1.
|
Slow Test:
matrix-react-sdk/read-receipts/high-level.spec.ts#L1
matrix-react-sdk/read-receipts/high-level.spec.ts took 3.5m
|
Slow Test:
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-in-threads.spec.ts took 1.8m
|
Slow Test:
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-in-threads.spec.ts took 1.3m
|
Slow Test:
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-main-timeline.spec.ts took 1.2m
|
Slow Test:
matrix-react-sdk/read-receipts/editing-messages-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/editing-messages-thread-roots.spec.ts took 57.0s
|
Slow Test:
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-thread-roots.spec.ts took 1.2m
|
Slow Test:
matrix-react-sdk/right-panel/right-panel.spec.ts#L1
matrix-react-sdk/right-panel/right-panel.spec.ts took 1.0m
|
Slow Test:
matrix-react-sdk/spaces/spaces.spec.ts#L1
matrix-react-sdk/spaces/spaces.spec.ts took 55.8s
|
Slow Test:
matrix-react-sdk/settings/account-user-settings-tab.spec.ts#L1
matrix-react-sdk/settings/account-user-settings-tab.spec.ts took 39.1s
|
Slow Test:
matrix-react-sdk/right-panel/file-panel.spec.ts#L1
matrix-react-sdk/right-panel/file-panel.spec.ts took 37.8s
|
Slow Test:
matrix-react-sdk/timeline/timeline.spec.ts#L1
matrix-react-sdk/timeline/timeline.spec.ts took 2.9m
|
Slow Test:
matrix-react-sdk/spotlight/spotlight.spec.ts#L1
matrix-react-sdk/spotlight/spotlight.spec.ts took 2.1m
|
Slow Test:
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
matrix-react-sdk/spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.7m
|
Slow Test:
matrix-react-sdk/threads/threads.spec.ts#L1
matrix-react-sdk/threads/threads.spec.ts took 38.0s
|
Slow Test:
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts#L1
matrix-react-sdk/user-onboarding/user-onboarding-new.spec.ts took 34.4s
|
Slow Test:
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-in-threads.spec.ts took 2.6m
|
Slow Test:
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/redactions-main-timeline.spec.ts took 2.0m
|
Slow Test:
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts#L1
matrix-react-sdk/read-receipts/new-messages-main-timeline.spec.ts took 1.4m
|
Slow Test:
matrix-react-sdk/read-receipts/read-receipts.spec.ts#L1
matrix-react-sdk/read-receipts/read-receipts.spec.ts took 1.1m
|
Slow Test:
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts#L1
matrix-react-sdk/read-receipts/reactions-in-threads.spec.ts took 1.0m
|
Slow Test:
matrix-react-sdk/messages/messages.spec.ts#L1
matrix-react-sdk/messages/messages.spec.ts took 2.3m
|
Slow Test:
matrix-react-sdk/pinned-messages/pinned-messages.spec.ts#L1
matrix-react-sdk/pinned-messages/pinned-messages.spec.ts took 1.7m
|
Slow Test:
matrix-react-sdk/knock/knock-into-room.spec.ts#L1
matrix-react-sdk/knock/knock-into-room.spec.ts took 40.0s
|
Slow Test:
matrix-react-sdk/integration-manager/read_events.spec.ts#L1
matrix-react-sdk/integration-manager/read_events.spec.ts took 39.7s
|
Slow Test:
matrix-react-sdk/polls/polls.spec.ts#L1
matrix-react-sdk/polls/polls.spec.ts took 35.0s
|
Slow Test:
matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.3m
|
Slow Test:
matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.1m
|
Slow Test:
matrix-react-sdk/crypto/event-shields.spec.ts#L1
matrix-react-sdk/crypto/event-shields.spec.ts took 1.0m
|
Slow Test:
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 54.1s
|
Slow Test:
matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 49.8s
|
🎭 Playwright Run Summary
32 skipped
42 passed (9.0m)
|
🎭 Playwright Run Summary
1 flaky
sliding-sync/sliding-sync.spec.ts:178:9 › Sliding Sync › should update user settings promptly ──
10 skipped
69 passed (9.8m)
|
🎭 Playwright Run Summary
4 skipped
67 passed (9.9m)
|
🎭 Playwright Run Summary
14 skipped
62 passed (10.1m)
|
🎭 Playwright Run Summary
1 flaky
login/login.spec.ts:199:21 › Login › Password login › verification after login › with force_verification on › Shows unskippable verification prompt after login if signing keys are set up
1 skipped
77 passed (11.2m)
|
🎭 Playwright Run Summary
1 failed
app-loading/feature-detection.spec.ts:24:5 › shows error page if browser lacks WebAssembly support
4 flaky
accessibility/keyboard-navigation.spec.ts:17:9 › Landmark navigation tests › without any rooms ─
crypto/crypto.spec.ts:97:17 › Cryptography › setting up secure key backup should work isDeviceVerified=false › by recovery code
crypto/user-verification.spec.ts:34:9 › User verification › can receive a verification request when there is no existing DM
crypto/user-verification.spec.ts:78:9 › User verification › can abort emoji verification when emoji mismatch
1 skipped
72 passed (13.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports-1
Expired
|
19.1 MB |
|
all-blob-reports-2
Expired
|
6.35 MB |
|
all-blob-reports-3
Expired
|
446 KB |
|
all-blob-reports-4
Expired
|
512 KB |
|
all-blob-reports-5
Expired
|
3.52 MB |
|
all-blob-reports-6
Expired
|
878 KB |
|
html-report
Expired
|
27.5 MB |
|
webapp
Expired
|
37.8 MB |
|