Skip to content

Tests

Tests #10458

Triggered via merge group December 5, 2024 13:06
Status Cancelled
Total duration 17m 52s
Artifacts 8

tests.yml

on: merge_group
Matrix: Downstream test element-web / Jest
Matrix: jest
Run Complement Crypto tests  /  tests
9m 24s
Run Complement Crypto tests / tests
Playwright  /  Build Element-Web
2m 3s
Playwright / Build Element-Web
Downstream test element-web  /  jest-tests
0s
Downstream test element-web / jest-tests
Jest tests
0s
Jest tests
Downstream Complement Crypto tests
0s
Downstream Complement Crypto tests
Matrix: Playwright / playwright
Downstream tests
3s
Downstream tests
Playwright  /  end-to-end-tests
39s
Playwright / end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

17 errors, 30 warnings, and 6 notices
Downstream tests
Process completed with exit code 1.
[Chrome] › read-receipts/redactions-in-threads.spec.ts:155:17 › Read receipts › redactions › in threads › Marking an unread thread as read after a redaction makes it read: eval at evaluate (:234:30)#L1
1) [Chrome] › read-receipts/redactions-in-threads.spec.ts:155:17 › Read receipts › redactions › in threads › Marking an unread thread as read after a redaction makes it read Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId') at eval (eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/matrix-js-sdk/matrix-js-sdk/eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:1:44) at Helpers.sendMessageAsClient (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:338:35) at Helpers.receiveMessages (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:582:9) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:163:17
[Chrome] › read-receipts/redactions-in-threads.spec.ts:385:17 › Read receipts › redactions › in threads › Reading a thread root when its only message has been redacted leaves the room read: eval at evaluate (:234:30)#L1
2) [Chrome] › read-receipts/redactions-in-threads.spec.ts:385:17 › Read receipts › redactions › in threads › Reading a thread root when its only message has been redacted leaves the room read Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId') at eval (eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/matrix-js-sdk/matrix-js-sdk/eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:1:44) at Helpers.sendMessageAsClient (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:338:35) at Helpers.receiveMessages (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:582:9) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:393:17
[Chrome] › read-receipts/redactions-main-timeline.spec.ts:183:17 › Read receipts › redactions › in the main timeline › Redacting all unread messages makes the room read: eval at evaluate (:234:30)#L1
3) [Chrome] › read-receipts/redactions-main-timeline.spec.ts:183:17 › Read receipts › redactions › in the main timeline › Redacting all unread messages makes the room read Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId') at eval (eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/matrix-js-sdk/matrix-js-sdk/eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:1:44) at Helpers.sendMessageAsClient (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:338:35) at Helpers.receiveMessages (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:582:9) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/redactions-main-timeline.spec.ts:191:17
[Chrome] › read-receipts/editing-messages-main-timeline.spec.ts:151:17 › Read receipts › editing messages › in the main timeline › A room where all edits are read is still read after restart: playwright/e2e/read-receipts/editing-messages-main-timeline.spec.ts#L1
1) [Chrome] › read-receipts/editing-messages-main-timeline.spec.ts:151:17 › Read receipts › editing messages › in the main timeline › A room where all edits are read is still read after restart Test timeout of 30000ms exceeded.
[Chrome] › read-receipts/editing-messages-main-timeline.spec.ts:151:17 › Read receipts › editing messages › in the main timeline › A room where all edits are read is still read after restart: playwright/e2e/read-receipts/index.ts#L86
1) [Chrome] › read-receipts/editing-messages-main-timeline.spec.ts:151:17 › Read receipts › editing messages › in the main timeline › A room where all edits are read is still read after restart Error: jsHandle.evaluateHandle: Test timeout of 30000ms exceeded. at read-receipts/index.ts:86 84 | } 85 | > 86 | const promise = room.evaluateHandle( | ^ 87 | async (room, { message, includeThreads }) => { 88 | let ev = room.timeline.find((e) => e.getContent().body === message); 89 | if (!ev && includeThreads) { at MessageBuilder.getMessage (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:86:30) at MessageContentSpec.getContent (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:121:53) at Helpers.sendMessageAsClient (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:344:61) at Helpers.receiveMessages (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:582:9) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/editing-messages-main-timeline.spec.ts:159:17
[Chrome] › read-receipts/new-messages-in-threads.spec.ts:271:17 › Read receipts › new messages › in threads › A room where all threaded messages are read is still read after restart: eval at evaluate (:234:30)#L1
2) [Chrome] › read-receipts/new-messages-in-threads.spec.ts:271:17 › Read receipts › new messages › in threads › A room where all threaded messages are read is still read after restart Error: jsHandle.evaluate: TypeError: Cannot read properties of undefined (reading 'roomId') at eval (eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/matrix-js-sdk/matrix-js-sdk/eval at evaluate (:234:30), <anonymous>:1:14) at UtilityScript.evaluate (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/matrix-js-sdk/matrix-js-sdk/<anonymous>:1:44) at Helpers.sendMessageAsClient (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:338:35) at Helpers.receiveMessages (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/index.ts:582:9) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/read-receipts/new-messages-in-threads.spec.ts:279:17
[Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list: playwright/e2e/pinned-messages/pinned-messages.spec.ts#L157
1) [Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('button', { name: 'View all' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'View all' }) 155 | await util.pinMessages(["Msg1", "Msg2"]); 156 | > 157 | await expect(util.getViewAllButton()).toBeVisible(); | ^ 158 | 159 | await util.openRoomInfo(); 160 | await util.openPinnedMessagesList(); at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:157:47
[Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list: playwright/e2e/pinned-messages/pinned-messages.spec.ts#L157
1) [Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('button', { name: 'View all' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'View all' }) 155 | await util.pinMessages(["Msg1", "Msg2"]); 156 | > 157 | await expect(util.getViewAllButton()).toBeVisible(); | ^ 158 | 159 | await util.openRoomInfo(); 160 | await util.openPinnedMessagesList(); at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:157:47
[Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list: playwright/e2e/pinned-messages/pinned-messages.spec.ts#L157
1) [Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('button', { name: 'View all' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('button', { name: 'View all' }) 155 | await util.pinMessages(["Msg1", "Msg2"]); 156 | > 157 | await expect(util.getViewAllButton()).toBeVisible(); | ^ 158 | 159 | await util.openRoomInfo(); 160 | await util.openPinnedMessagesList(); at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:157:47
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L1
2) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account Test timeout of 90000ms exceeded.
[Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L23
2) [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account Error: page.waitForRequest: Test timeout of 90000ms exceeded. 21 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => { 22 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`; > 23 | const tokenApiPromise = page.waitForRequest( | ^ 24 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code", 25 | ); 26 | at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/oidc/oidc-native.spec.ts:23:38
[Chrome] › pinned-messages/pinned-messages.spec.ts:66:9 › Pinned messages › should unpin one message: playwright/e2e/pinned-messages/index.ts#L182
3) [Chrome] › pinned-messages/pinned-messages.spec.ts:66:9 › Pinned messages › should unpin one message Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: locator('#mx_RightPanel').getByRole('heading', { name: 'Pinned messages' }) Expected string: "2 Pinned messages" Received: <element(s) not found> Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('#mx_RightPanel').getByRole('heading', { name: 'Pinned messages' }) at pinned-messages/index.ts:182 180 | async assertPinnedMessagesList(messages: string[]) { 181 | const rightPanel = this.getRightPanel(); > 182 | await expect(rightPanel.getByRole("heading", { name: "Pinned messages" })).toHaveText( | ^ 183 | `${messages.length} Pinned messages`, 184 | ); 185 | at Helpers.assertPinnedMessagesList (/home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/index.ts:182:84) at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:74:20
[Chrome] › pinned-messages/pinned-messages.spec.ts:129:9 › Pinned messages › should display 4 messages in the banner @screenshot: playwright/e2e/pinned-messages/pinned-messages.spec.ts#L136
4) [Chrome] › pinned-messages/pinned-messages.spec.ts:129:9 › Pinned messages › should display 4 messages in the banner @screenshot Error: expect(locator).toHaveScreenshot(expected) 436 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/snapshots/pinned-messages/pinned-messages.spec.ts/pinned-message-banner-4-Msg4-linux.png Received: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/pinned-messages-pinned-mes-6cce3-ay-4-messages-in-the-banner-Chrome/pinned-message-banner-4-Msg4-actual.png Diff: /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/test-results/pinned-messages-pinned-mes-6cce3-ay-4-messages-in-the-banner-Chrome/pinned-message-banner-4-Msg4-diff.png Call log: - expect.toHaveScreenshot(pinned-message-banner-4-Msg4.png) with timeout 5000ms - verifying given screenshot expectation - waiting for getByTestId('pinned-message-banner') - locator resolved to <div data-single-message="false" class="mx_PinnedMessageBanner" data-testid="pinned-message-banner" aria-label="This room has pinned messages. Click to view them.">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 436 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for getByTestId('pinned-message-banner') - locator resolved to <div data-single-message="false" class="mx_PinnedMessageBanner" data-testid="pinned-message-banner" aria-label="This room has pinned messages. Click to view them.">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 436 pixels (ratio 0.01 of all image pixels) are different. 134 | for (const msg of ["Msg4", "Msg3", "Msg2", "Msg1"]) { 135 | await util.assertMessageInBanner(msg); > 136 | await expect(util.getBanner()).toMatchScreenshot(`pinned-message-banner-4-${msg}.png`); | ^ 137 | await util.getBanner().click(); 138 | } 139 | }); at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/pinned-messages/pinned-messages.spec.ts:136:44
Playwright / Run Tests 2/6
Process completed with exit code 1.
Playwright / end-to-end-tests
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for 'Tests-refs/heads/gh-readonly-queue/develop/pr-4572-009a957e48d79b2c92a3d9cf623b2818eaaaf9aa-merge_group' exists
Run Complement Crypto tests / tests
Restore cache failed: Dependencies file is not found in /home/runner/work/matrix-js-sdk/matrix-js-sdk. Supported file pattern: go.sum
Slow Test: [Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 1.1m
Slow Test: [Chrome] › right-panel/right-panel.spec.ts#L1
[Chrome] › right-panel/right-panel.spec.ts took 56.7s
Slow Test: [Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 45.6s
Slow Test: [Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 40.0s
Slow Test: [Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 32.8s
Slow Test: [Chrome] › read-receipts/read-receipts.spec.ts#L1
[Chrome] › read-receipts/read-receipts.spec.ts took 1.2m
Slow Test: [Chrome] › read-receipts/reactions-in-threads.spec.ts#L1
[Chrome] › read-receipts/reactions-in-threads.spec.ts took 1.0m
Slow Test: [Chrome] › read-receipts/redactions-thread-roots.spec.ts#L1
[Chrome] › read-receipts/redactions-thread-roots.spec.ts took 56.6s
Slow Test: [Chrome] › read-receipts/new-messages-thread-roots.spec.ts#L1
[Chrome] › read-receipts/new-messages-thread-roots.spec.ts took 55.5s
Slow Test: [Chrome] › read-receipts/reactions-main-timeline.spec.ts#L1
[Chrome] › read-receipts/reactions-main-timeline.spec.ts took 37.0s
Slow Test: [Chrome] › read-receipts/high-level.spec.ts#L1
[Chrome] › read-receipts/high-level.spec.ts took 3.4m
Slow Test: [Chrome] › read-receipts/editing-messages-in-threads.spec.ts#L1
[Chrome] › read-receipts/editing-messages-in-threads.spec.ts took 1.3m
Slow Test: [Chrome] › read-receipts/new-messages-main-timeline.spec.ts#L1
[Chrome] › read-receipts/new-messages-main-timeline.spec.ts took 1.3m
Slow Test: [Chrome] › read-receipts/editing-messages-thread-roots.spec.ts#L1
[Chrome] › read-receipts/editing-messages-thread-roots.spec.ts took 56.2s
Slow Test: [Chrome] › timeline/timeline.spec.ts#L1
[Chrome] › timeline/timeline.spec.ts took 2.9m
Slow Test: [Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.3m
Slow Test: [Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.8m
Slow Test: [Chrome] › threads/threads.spec.ts#L1
[Chrome] › threads/threads.spec.ts took 37.3s
Slow Test: [Chrome] › user-onboarding/user-onboarding-new.spec.ts#L1
[Chrome] › user-onboarding/user-onboarding-new.spec.ts took 36.6s
Slow Test: [Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 1.3m
Slow Test: [Chrome] › audio-player/audio-player.spec.ts#L1
[Chrome] › audio-player/audio-player.spec.ts took 1.2m
Slow Test: [Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 1.2m
Slow Test: [Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 1.1m
Slow Test: [Chrome] › crypto/device-verification.spec.ts#L1
[Chrome] › crypto/device-verification.spec.ts took 46.0s
Slow Test: [Chrome] › messages/messages.spec.ts#L1
[Chrome] › messages/messages.spec.ts took 2.3m
Slow Test: [Chrome] › login/login.spec.ts#L1
[Chrome] › login/login.spec.ts took 1.0m
Slow Test: [Chrome] › integration-manager/read_events.spec.ts#L1
[Chrome] › integration-manager/read_events.spec.ts took 43.7s
Slow Test: [Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 39.5s
Slow Test: [Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 35.3s
🎭 Playwright Run Summary
9 skipped 68 passed (9.2m)
🎭 Playwright Run Summary
3 flaky [Chrome] › read-receipts/redactions-in-threads.spec.ts:155:17 › Read receipts › redactions › in threads › Marking an unread thread as read after a redaction makes it read [Chrome] › read-receipts/redactions-in-threads.spec.ts:385:17 › Read receipts › redactions › in threads › Reading a thread root when its only message has been redacted leaves the room read [Chrome] › read-receipts/redactions-main-timeline.spec.ts:183:17 › Read receipts › redactions › in the main timeline › Redacting all unread messages makes the room read 15 skipped 57 passed (10.6m)
🎭 Playwright Run Summary
2 flaky [Chrome] › read-receipts/editing-messages-main-timeline.spec.ts:151:17 › Read receipts › editing messages › in the main timeline › A room where all edits are read is still read after restart [Chrome] › read-receipts/new-messages-in-threads.spec.ts:271:17 › Read receipts › new messages › in threads › A room where all threaded messages are read is still read after restart 32 skipped 48 passed (10.8m)
🎭 Playwright Run Summary
3 skipped 69 passed (10.5m)
🎭 Playwright Run Summary
79 passed (11.7m)
🎭 Playwright Run Summary
1 failed [Chrome] › pinned-messages/pinned-messages.spec.ts:152:9 › Pinned messages › banner should listen to pinned message list 3 flaky [Chrome] › oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account [Chrome] › pinned-messages/pinned-messages.spec.ts:66:9 › Pinned messages › should unpin one message [Chrome] › pinned-messages/pinned-messages.spec.ts:129:9 › Pinned messages › should display 4 messages in the banner @screenshot 1 skipped 74 passed (13.6m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
675 KB
all-blob-reports-2 Expired
12 MB
all-blob-reports-3 Expired
3.72 MB
all-blob-reports-4 Expired
4.56 MB
all-blob-reports-5 Expired
735 KB
all-blob-reports-6 Expired
774 KB
html-report
21.8 MB
webapp Expired
34 MB