This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
End to End Tests #863
Annotations
10 errors, 5 warnings, and 1 notice
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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
|
Run Playwright tests:
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.
|
Run Playwright tests:
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
|
Run Playwright tests:
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.
|
Run Playwright tests:
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 Playwright tests
Process completed with exit code 1.
|
Run Playwright tests:
matrix-react-sdk/audio-player/audio-player.spec.ts#L1
matrix-react-sdk/audio-player/audio-player.spec.ts took 1.3m
|
Run Playwright tests:
matrix-react-sdk/composer/RTE.spec.ts#L1
matrix-react-sdk/composer/RTE.spec.ts took 1.1m
|
Run Playwright tests:
matrix-react-sdk/crypto/event-shields.spec.ts#L1
matrix-react-sdk/crypto/event-shields.spec.ts took 1.0m
|
Run Playwright tests:
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts#L1
matrix-react-sdk/crypto/decryption-failure-messages.spec.ts took 54.1s
|
Run Playwright tests:
matrix-react-sdk/crypto/device-verification.spec.ts#L1
matrix-react-sdk/crypto/device-verification.spec.ts took 49.8s
|
Run Playwright tests
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)
|
Loading