Skip to content

Fix permissions

Fix permissions #2597

Triggered via push November 21, 2024 15:39
Status Success
Total duration 17m 39s
Artifacts 8
Build Element-Web
1m 42s
Build Element-Web
Matrix: playwright
end-to-end-tests
32s
end-to-end-tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 30 warnings, and 6 notices
room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A: playwright/e2e/room/room.spec.ts#L96
1) room/room.spec.ts:56: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') - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" - locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div> - unexpected value "viewport ratio 0" 94 | // The timeline should display the first message 95 | // The previous position before switching to Room B should be remembered > 96 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport(); | ^ 97 | }); 98 | }); 99 | at /home/runner/work/element-web/element-web/playwright/e2e/room/room.spec.ts:96:91
settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow: playwright/e2e/settings/general-room-settings-tab.spec.ts#L47
2) settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('#canonicalAlias') Expected string: "#abcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksdabcasdhjasjhdaj1jh1asdhasjdhajsdhjavhjksd:localhost" Received string: "" Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('.mx_Dialog').filter({ has: locator('.mx_RoomSettingsDialog') }).locator('#canonicalAlias') - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" - locator resolved to <select type="text" id="canonicalAlias" label="Main address" placeholder="Main address">…</select> - unexpected value "" 45 | 46 | // 2. wait for the new setting to apply ... > 47 | await expect(settings.locator("#canonicalAlias")).toHaveValue(`#${longString}:localhost`); | ^ 48 | 49 | // 3. Check if the dialog overflows 50 | const dialogBoundingBox = await page.locator(".mx_Dialog").boundingBox(); at /home/runner/work/element-web/element-web/playwright/e2e/settings/general-room-settings-tab.spec.ts:47:59
read-receipts/redactions-in-threads.spec.ts:410:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart: playwright/e2e/read-receipts/index.ts#L446
1) read-receipts/redactions-in-threads.spec.ts:410:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for getByRole('treeitem', { name: /^Room Beta/ }).locator('.mx_NotificationBadge_dot') - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" - locator resolved to <div class="mx_NotificationBadge mx_NotificationBadge_visible mx_NotificationBadge_dot">…</div> - unexpected value "visible" at read-receipts/index.ts:446 444 | async assertRead(room: string | { name: string }) { 445 | const tile = this.getRoomListTile(room); > 446 | await expect(tile.locator(".mx_NotificationBadge_dot")).not.toBeVisible(); | ^ 447 | await expect(tile.locator(".mx_NotificationBadge_count")).not.toBeVisible(); 448 | } 449 | at Helpers.assertRead (/home/runner/work/element-web/element-web/playwright/e2e/read-receipts/index.ts:446:69) at /home/runner/work/element-web/element-web/playwright/e2e/read-receipts/redactions-in-threads.spec.ts:440:28
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
1) oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account ─── Test timeout of 90000ms exceeded.
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
1) 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/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:23:38
oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account: playwright/e2e/oidc/oidc-native.spec.ts#L28
1) oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account ─── Error: locator.click: Test timeout of 90000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Continue' }) 26 | 27 | await page.goto("/#/login"); > 28 | await page.getByRole("button", { name: "Continue" }).click(); | ^ 29 | await registerAccountMas(page, mailhog.api, "alice", "[email protected]", "Pa$sW0rD!"); 30 | 31 | // Eventually, we should end up at the home screen. at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:28:62
Slow Test: read-receipts/high-level.spec.ts#L1
read-receipts/high-level.spec.ts took 3.5m
Slow Test: read-receipts/new-messages-in-threads.spec.ts#L1
read-receipts/new-messages-in-threads.spec.ts took 1.8m
Slow Test: read-receipts/editing-messages-in-threads.spec.ts#L1
read-receipts/editing-messages-in-threads.spec.ts took 1.3m
Slow Test: read-receipts/editing-messages-main-timeline.spec.ts#L1
read-receipts/editing-messages-main-timeline.spec.ts took 1.3m
Slow Test: read-receipts/editing-messages-thread-roots.spec.ts#L1
read-receipts/editing-messages-thread-roots.spec.ts took 57.4s
Slow Test: spaces/spaces.spec.ts#L1
spaces/spaces.spec.ts took 1.1m
Slow Test: right-panel/right-panel.spec.ts#L1
right-panel/right-panel.spec.ts took 59.2s
Slow Test: settings/account-user-settings-tab.spec.ts#L1
settings/account-user-settings-tab.spec.ts took 48.0s
Slow Test: right-panel/file-panel.spec.ts#L1
right-panel/file-panel.spec.ts took 41.8s
Slow Test: settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 34.6s
Slow Test: timeline/timeline.spec.ts#L1
timeline/timeline.spec.ts took 3.0m
Slow Test: spotlight/spotlight.spec.ts#L1
spotlight/spotlight.spec.ts took 2.3m
Slow Test: spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.8m
Slow Test: threads/threads.spec.ts#L1
threads/threads.spec.ts took 38.0s
Slow Test: user-onboarding/user-onboarding-new.spec.ts#L1
user-onboarding/user-onboarding-new.spec.ts took 36.4s
Slow Test: read-receipts/redactions-main-timeline.spec.ts#L1
read-receipts/redactions-main-timeline.spec.ts took 2.2m
Slow Test: read-receipts/new-messages-main-timeline.spec.ts#L1
read-receipts/new-messages-main-timeline.spec.ts took 1.5m
Slow Test: read-receipts/read-receipts.spec.ts#L1
read-receipts/read-receipts.spec.ts took 1.2m
Slow Test: read-receipts/reactions-in-threads.spec.ts#L1
read-receipts/reactions-in-threads.spec.ts took 1.1m
Slow Test: read-receipts/redactions-thread-roots.spec.ts#L1
read-receipts/redactions-thread-roots.spec.ts took 59.6s
Slow Test: composer/RTE.spec.ts#L1
composer/RTE.spec.ts took 1.4m
Slow Test: audio-player/audio-player.spec.ts#L1
audio-player/audio-player.spec.ts took 1.3m
Slow Test: crypto/crypto.spec.ts#L1
crypto/crypto.spec.ts took 1.2m
Slow Test: crypto/event-shields.spec.ts#L1
crypto/event-shields.spec.ts took 1.1m
Slow Test: crypto/decryption-failure-messages.spec.ts#L1
crypto/decryption-failure-messages.spec.ts took 54.8s
Slow Test: messages/messages.spec.ts#L1
messages/messages.spec.ts took 2.5m
Slow Test: pinned-messages/pinned-messages.spec.ts#L1
pinned-messages/pinned-messages.spec.ts took 1.8m
Slow Test: login/login.spec.ts#L1
login/login.spec.ts took 1.1m
Slow Test: integration-manager/read_events.spec.ts#L1
integration-manager/read_events.spec.ts took 45.1s
Slow Test: knock/knock-into-room.spec.ts#L1
knock/knock-into-room.spec.ts took 41.5s
🎭 Playwright Run Summary
32 skipped 42 passed (9.0m)
🎭 Playwright Run Summary
2 flaky room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A settings/general-room-settings-tab.spec.ts:39:9 › General room settings tab › long address should not cause dialog to overflow 9 skipped 63 passed (9.9m)
🎭 Playwright Run Summary
3 skipped 69 passed (10.6m)
🎭 Playwright Run Summary
1 flaky read-receipts/redactions-in-threads.spec.ts:410:17 › Read receipts › redactions › in threads › A thread with a redacted unread is still read after restart 15 skipped 67 passed (12.3m)
🎭 Playwright Run Summary
78 passed (12.6m)
🎭 Playwright Run Summary
1 flaky oidc/oidc-native.spec.ts:21:9 › OIDC Native › can register the oauth2 client and an account ──── 1 skipped 77 passed (13.4m)

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
668 KB
all-blob-reports-2 Expired
4.56 MB
all-blob-reports-3 Expired
271 KB
all-blob-reports-4 Expired
3.92 MB
all-blob-reports-5 Expired
8.15 MB
all-blob-reports-6 Expired
773 KB
html-report Expired
16.7 MB
webapp Expired
37 MB