Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
"resolutions": {
"**/pretty-format/react-is": "19.1.1",
"@playwright/test": "1.54.2",
"@playwright/test": "1.55.0",
"@types/react": "19.1.12",
"@types/react-dom": "19.1.9",
"oidc-client-ts": "3.3.0",
Expand Down
4 changes: 3 additions & 1 deletion playwright/e2e/threads/threads.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*
Copyright 2024 New Vector Ltd.
Copyright 2023 The Matrix.org Foundation C.I.C.
Expand Down Expand Up @@ -344,9 +344,11 @@

await expect(page.locator(".mx_ThreadView_timelinePanelWrapper")).toHaveCount(1);

await (await app.openMessageComposerOptions(true)).getByRole("menuitem", { name: "Voice Message" }).click();
const composerOptions = await app.openMessageComposerOptions(true);
await page.waitForTimeout(1000);
await composerOptions.getByRole("menuitem", { name: "Voice Message" }).click();
await page.waitForTimeout(3000);
await app.getComposer(true).getByRole("button", { name: "Send voice message" }).click();

Check failure on line 351 in playwright/e2e/threads/threads.spec.ts

View workflow job for this annotation

GitHub Actions / Run Tests [Chrome] 5/6

[Chrome] › playwright/e2e/threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit

1) [Chrome] › playwright/e2e/threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RightPanel .mx_MessageComposer').getByRole('button', { name: 'Send voice message' }) 349 | await composerOptions.getByRole("menuitem", { name: "Voice Message" }).click(); 350 | await page.waitForTimeout(3000); > 351 | await app.getComposer(true).getByRole("button", { name: "Send voice message" }).click(); | ^ 352 | await expect(page.locator(".mx_ThreadView .mx_MVoiceMessageBody")).toHaveCount(1); 353 | }); 354 | }); at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:351:93

Check failure on line 351 in playwright/e2e/threads/threads.spec.ts

View workflow job for this annotation

GitHub Actions / Run Tests [Chrome] 5/6

[Chrome] › playwright/e2e/threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit

1) [Chrome] › playwright/e2e/threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RightPanel .mx_MessageComposer').getByRole('button', { name: 'Send voice message' }) 349 | await composerOptions.getByRole("menuitem", { name: "Voice Message" }).click(); 350 | await page.waitForTimeout(3000); > 351 | await app.getComposer(true).getByRole("button", { name: "Send voice message" }).click(); | ^ 352 | await expect(page.locator(".mx_ThreadView .mx_MVoiceMessageBody")).toHaveCount(1); 353 | }); 354 | }); at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:351:93

Check failure on line 351 in playwright/e2e/threads/threads.spec.ts

View workflow job for this annotation

GitHub Actions / Run Tests [Chrome] 5/6

[Chrome] › playwright/e2e/threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit

1) [Chrome] › playwright/e2e/threads/threads.spec.ts:327:13 › Threads › with larger viewport › can send voice messages @no-firefox @no-webkit Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RightPanel .mx_MessageComposer').getByRole('button', { name: 'Send voice message' }) 349 | await composerOptions.getByRole("menuitem", { name: "Voice Message" }).click(); 350 | await page.waitForTimeout(3000); > 351 | await app.getComposer(true).getByRole("button", { name: "Send voice message" }).click(); | ^ 352 | await expect(page.locator(".mx_ThreadView .mx_MVoiceMessageBody")).toHaveCount(1); 353 | }); 354 | }); at /home/runner/work/element-web/element-web/playwright/e2e/threads/threads.spec.ts:351:93
await expect(page.locator(".mx_ThreadView .mx_MVoiceMessageBody")).toHaveCount(1);
});
});
Expand Down
1 change: 1 addition & 0 deletions playwright/e2e/timeline/timeline.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*
Copyright 2024, 2025 New Vector Ltd.
Copyright 2022, 2023 The Matrix.org Foundation C.I.C.
Expand Down Expand Up @@ -997,6 +997,7 @@
await viewRoomSendMessageAndSetupReply(page, app, room.roomId);

const composerOptions = await app.openMessageComposerOptions();
await page.waitForTimeout(1000);
await composerOptions.getByRole("menuitem", { name: "Voice Message" }).click();

// Record an empty message
Expand All @@ -1006,7 +1007,7 @@
await roomViewBody
.locator(".mx_MessageComposer")
.getByRole("button", { name: "Send voice message" })
.click();

Check failure on line 1010 in playwright/e2e/timeline/timeline.spec.ts

View workflow job for this annotation

GitHub Actions / Run Tests [Chrome] 5/6

[Chrome] › playwright/e2e/timeline/timeline.spec.ts:996:13 › Timeline › message sending › can reply with a voice message @no-firefox @no-webkit

2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:996:13 › Timeline › message sending › can reply with a voice message @no-firefox @no-webkit Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RoomView_body').locator('.mx_MessageComposer').getByRole('button', { name: 'Send voice message' }) 1008 | .locator(".mx_MessageComposer") 1009 | .getByRole("button", { name: "Send voice message" }) > 1010 | .click(); | ^ 1011 | 1012 | const lastEventTileLine = roomViewBody.locator(".mx_EventTile_last .mx_EventTile_line"); 1013 | await expect(lastEventTileLine.locator(".mx_ReplyTile .mx_MTextBody").getByText(MESSAGE)).toBeVisible(); at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:1010:18

Check failure on line 1010 in playwright/e2e/timeline/timeline.spec.ts

View workflow job for this annotation

GitHub Actions / Run Tests [Chrome] 5/6

[Chrome] › playwright/e2e/timeline/timeline.spec.ts:996:13 › Timeline › message sending › can reply with a voice message @no-firefox @no-webkit

2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:996:13 › Timeline › message sending › can reply with a voice message @no-firefox @no-webkit Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.mx_RoomView_body').locator('.mx_MessageComposer').getByRole('button', { name: 'Send voice message' }) 1008 | .locator(".mx_MessageComposer") 1009 | .getByRole("button", { name: "Send voice message" }) > 1010 | .click(); | ^ 1011 | 1012 | const lastEventTileLine = roomViewBody.locator(".mx_EventTile_last .mx_EventTile_line"); 1013 | await expect(lastEventTileLine.locator(".mx_ReplyTile .mx_MTextBody").getByText(MESSAGE)).toBeVisible(); at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:1010:18

const lastEventTileLine = roomViewBody.locator(".mx_EventTile_last .mx_EventTile_line");
await expect(lastEventTileLine.locator(".mx_ReplyTile .mx_MTextBody").getByText(MESSAGE)).toBeVisible();
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2842,12 +2842,12 @@
resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==

"@playwright/test@1.54.2", "@playwright/test@^1.50.1":
version "1.54.2"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.54.2.tgz#ff0d1e5d8e26f3258ae65364e2d4d10176926b07"
integrity sha512-A+znathYxPf+72riFd1r1ovOLqsIIB0jKIoPjyK2kqEIe30/6jF6BC7QNluHuwUmsD2tv1XZVugN8GqfTMOxsA==
"@playwright/test@1.55.0", "@playwright/test@^1.50.1":
version "1.55.0"
resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.55.0.tgz#080fa6d9ee6d749ff523b1c18259572d0268b963"
integrity sha512-04IXzPwHrW69XusN/SIdDdKZBzMfOT9UNT/YiJit/xpy2VuAoB8NHc8Aplb96zsWDddLnbkPL3TsmrS04ZU2xQ==
dependencies:
playwright "1.54.2"
playwright "1.55.0"

"@polka/url@^1.0.0-next.24":
version "1.0.0-next.28"
Expand Down Expand Up @@ -12093,17 +12093,17 @@ [email protected], playwright-core@>=1.2.0:
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.53.2.tgz#78f71e2f727713daa8d360dc11c460022c13cf91"
integrity sha512-ox/OytMy+2w1jcYEYlOo1Hhp8hZkLCximMTUTMBXjGUA1KoFfiSZ+DU+3a739jsPY0yoKH2TFy9S2fsJas8yAw==

playwright-core@1.54.2, playwright-core@^1.51.0:
version "1.54.2"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.54.2.tgz#73cc5106f19ec6b9371908603d61a7f171ebd8f0"
integrity sha512-n5r4HFbMmWsB4twG7tJLDN9gmBUeSPcsBZiWSE4DnYz9mJMAFqr2ID7+eGC9kpEnxExJ1epttwR59LEWCk8mtA==
playwright-core@1.55.0, playwright-core@^1.51.0:
version "1.55.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.55.0.tgz#ec8a9f8ef118afb3e86e0f46f1393e3bea32adf4"
integrity sha512-GvZs4vU3U5ro2nZpeiwyb0zuFaqb9sUiAJuyrWpcGouD8y9/HLgGbNRjIph7zU9D3hnPaisMl9zG9CgFi/biIg==

playwright@1.54.2:
version "1.54.2"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.54.2.tgz#e2435abb2db3a96a276f8acc3ada1a85b587dff3"
integrity sha512-Hu/BMoA1NAdRUuulyvQC0pEqZ4vQbGfn8f7wPXcnqQmM+zct9UliKxsIkLNmz/ku7LElUNqmaiv1TG/aL5ACsw==
playwright@1.55.0:
version "1.55.0"
resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.55.0.tgz#7aca7ac3ffd9e083a8ad8b2514d6f9ba401cc78b"
integrity sha512-sdCWStblvV1YU909Xqx0DhOjPZE4/5lJsIS84IfN9dAZfcl/CIZ5O8l3o0j7hPMjDvqoTF8ZUcc+i/GL5erstA==
dependencies:
playwright-core "1.54.2"
playwright-core "1.55.0"
optionalDependencies:
fsevents "2.3.2"

Expand Down
Loading