Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

End to End Tests

End to End Tests #6348

Triggered via workflow run December 21, 2023 08:49
@charlynguyencharlynguyen
completed 0a881e2
Status Success
Total duration 20m 27s
Artifacts 2

end-to-end-tests.yaml

on: workflow_run
Prepare
4s
Prepare
Matrix: tests
Report results
1m 1s
Report results
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 5 warnings, and 1 notice
[Legacy Crypto] › crypto/verification.spec.ts:69:9 › Device verification › Verify device with SAS during login: matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js#L33292
1) [Legacy Crypto] › crypto/verification.spec.ts:69:9 › Device verification › Verify device with SAS during login Error: page.evaluateHandle: M_UNKNOWN: MatrixError: [500] Internal server error (http://localhost:39091/_matrix/client/v3/keys/upload) at parseErrorResponse (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (eval at evaluate (:226:30), <anonymous>:82:9) at parseErrorResponse (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/eval at evaluate (:226:30), <anonymous>:82:9) at Bot.getClientHandle (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/bot.ts:103:40) at Bot.prepareClient (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:47:27) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:52:9
[Legacy Crypto] › crypto/verification.spec.ts:156:9 › Device verification › Verify device with Security Key during login: matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js#L33292
2) [Legacy Crypto] › crypto/verification.spec.ts:156:9 › Device verification › Verify device with Security Key during login Error: page.evaluateHandle: M_UNKNOWN: MatrixError: [500] Internal server error (http://localhost:38827/_matrix/client/v3/keys/upload) at parseErrorResponse (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (eval at evaluate (:226:30), <anonymous>:82:9) at parseErrorResponse (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/eval at evaluate (:226:30), <anonymous>:82:9) at Bot.getClientHandle (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/bot.ts:103:40) at Bot.prepareClient (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:47:27) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:52:9
[Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A: matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
3) [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A Error: Timed out 5000ms waiting for expect(locator).toBeInViewport() Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') Expected: in viewport Received: outside viewport Call log: - expect.toBeInViewport with timeout 5000ms - waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') 98 | // The timeline should display the first message 99 | // The previous position before switching to Room B should be remembered > 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport(); | ^ 101 | }); 102 | }); 103 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
[Rust Crypto] › crypto/verification.spec.ts:69:9 › Device verification › Verify device with SAS during login: matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js#L33292
4) [Rust Crypto] › crypto/verification.spec.ts:69:9 › Device verification › Verify device with SAS during login Error: page.evaluateHandle: M_UNKNOWN: MatrixError: [500] Internal server error (http://localhost:35751/_matrix/client/v3/keys/upload) at parseErrorResponse (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (eval at evaluate (:226:30), <anonymous>:82:9) at parseErrorResponse (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/eval at evaluate (:226:30), <anonymous>:82:9) at Bot.getClientHandle (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/bot.ts:103:40) at Bot.prepareClient (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:47:27) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:52:9
[Rust Crypto] › crypto/verification.spec.ts:156:9 › Device verification › Verify device with Security Key during login: matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js#L33292
5) [Rust Crypto] › crypto/verification.spec.ts:156:9 › Device verification › Verify device with Security Key during login Error: page.evaluateHandle: M_UNKNOWN: MatrixError: [500] Internal server error (http://localhost:46065/_matrix/client/v3/keys/upload) at parseErrorResponse (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (http://localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (eval at evaluate (:226:30), <anonymous>:82:9) at parseErrorResponse (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33292:12) at MatrixHttpApi.requestOtherUrl (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33642:13) at async MatrixHttpApi.authedRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/bundle.js:33483:24) at async OutgoingRequestProcessor.rawJsonRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:436:12) at async OutgoingRequestProcessor.makeOutgoingRequest (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:346:14) at async CrossSigningIdentity.resetCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:756:9) at async CrossSigningIdentity.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:721:9) at async RustCrypto.bootstrapCrossSigning (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/http:/localhost:8080/bundles/9a56dde3d1f2d0588693/2606.js:3145:5) at async eval (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/eval at evaluate (:226:30), <anonymous>:82:9) at Bot.getClientHandle (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/bot.ts:103:40) at Bot.prepareClient (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/pages/client.ts:47:27) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/verification.spec.ts:52:9
[Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A: matrix-react-sdk/playwright/e2e/room/room.spec.ts#L100
6) [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A Error: Timed out 5000ms waiting for expect(locator).toBeInViewport() Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') Expected: in viewport Received: outside viewport Call log: - expect.toBeInViewport with timeout 5000ms - waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0') 98 | // The timeline should display the first message 99 | // The previous position before switching to Room B should be remembered > 100 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport(); | ^ 101 | }); 102 | }); 103 | at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/room/room.spec.ts:100:91
[Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line: matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L587
7) [Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line Error: Screenshot comparison failed: 28 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/timeline/timeline.spec.ts/hidden-event-line-zero-padding-irc-layout-linux.png Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying-should-set-inline-start-padding-to-a-hidden-event-line-Rust-Crypto/hidden-event-line-zero-padding-irc-layout-actual.png Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-message-displaying-should-set-inline-start-padding-to-a-hidden-event-line-Rust-Crypto/hidden-event-line-zero-padding-irc-layout-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - waiting for locator('.mx_MainSplit') - locator resolved to <div class="mx_MainSplit">…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - 28 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.mx_MainSplit') - locator resolved to <div class="mx_MainSplit">…</div> - taking element screenshot - disabled all CSS animations - waiting for element to be visible and stable - element is visible and stable - captured a stable screenshot - 28 pixels (ratio 0.01 of all image pixels) are different. 585 | }; 586 | > 587 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot( | ^ 588 | "hidden-event-line-zero-padding-irc-layout.png", 589 | screenshotOptions, 590 | ); at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:587:57
Slow Test: [Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 5.7m
Slow Test: [Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.2m
Slow Test: [Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.8m
Slow Test: [Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.4m
Slow Test: [Legacy Crypto] › read-receipts/new-messages.spec.ts#L1
[Legacy Crypto] › read-receipts/new-messages.spec.ts took 3.4m
🎭 Playwright Run Summary
7 flaky [Legacy Crypto] › crypto/verification.spec.ts:69:9 › Device verification › Verify device with SAS during login [Legacy Crypto] › crypto/verification.spec.ts:156:9 › Device verification › Verify device with Security Key during login [Legacy Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A [Rust Crypto] › crypto/verification.spec.ts:69:9 › Device verification › Verify device with SAS during login [Rust Crypto] › crypto/verification.spec.ts:156:9 › Device verification › Verify device with Security Key during login [Rust Crypto] › room/room.spec.ts:64:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A [Rust Crypto] › timeline/timeline.spec.ts:555:13 › Timeline › message displaying › should set inline start padding to a hidden event line 117 skipped 604 passed (17.5m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
62.4 MB
html-report--attempt-1 Expired
70.4 MB