Stabilise playwright tests using createRoom util (#28802) #3608
Annotations
10 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/audio-player/audio-player.spec.ts#L125
1) [Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
Test timeout of 30000ms exceeded while running "beforeEach" hook.
123 | };
124 |
> 125 | test.beforeEach(async ({ page, app, user }) => {
| ^
126 | await app.client.createRoom({ name: "Test Room" });
127 | await app.viewRoomByName("Test Room");
128 |
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:125:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:127:19
|
Run Playwright tests:
playwright/e2e/audio-player/audio-player.spec.ts#L125
1) [Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
123 | };
124 |
> 125 | test.beforeEach(async ({ page, app, user }) => {
| ^
126 | await app.client.createRoom({ name: "Test Room" });
127 | await app.viewRoomByName("Test Room");
128 |
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:125:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:127:19
|
Run Playwright tests:
playwright/e2e/audio-player/audio-player.spec.ts#L125
1) [Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
123 | };
124 |
> 125 | test.beforeEach(async ({ page, app, user }) => {
| ^
126 | await app.client.createRoom({ name: "Test Room" });
127 | await app.viewRoomByName("Test Room");
128 |
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:125:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:127:19
|
Run Playwright tests:
playwright/e2e/audio-player/audio-player.spec.ts#L125
2) [Chrome] › audio-player/audio-player.spec.ts:142:9 › Audio player › should be correctly rendered - light theme with monospace font @no-firefox @no-webkit @screenshot
Test timeout of 30000ms exceeded while running "beforeEach" hook.
123 | };
124 |
> 125 | test.beforeEach(async ({ page, app, user }) => {
| ^
126 | await app.client.createRoom({ name: "Test Room" });
127 | await app.viewRoomByName("Test Room");
128 |
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:125:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
2) [Chrome] › audio-player/audio-player.spec.ts:142:9 › Audio player › should be correctly rendered - light theme with monospace font @no-firefox @no-webkit @screenshot
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:127:19
|
Run Playwright tests:
playwright/e2e/audio-player/audio-player.spec.ts#L125
3) [Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot
Test timeout of 30000ms exceeded while running "beforeEach" hook.
123 | };
124 |
> 125 | test.beforeEach(async ({ page, app, user }) => {
| ^
126 | await app.client.createRoom({ name: "Test Room" });
127 | await app.viewRoomByName("Test Room");
128 |
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:125:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
3) [Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Test Room"],[aria-label="Test Room"]').first()
at ../pages/ElementAppPage.ts:92
90 | .locator(`[title="${name}"],[aria-label="${name}"]`)
91 | .first()
> 92 | .click();
| ^
93 | }
94 |
95 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:92:14)
at /home/runner/work/element-web/element-web/playwright/e2e/audio-player/audio-player.spec.ts:127:19
|
Run Playwright tests:
[Chrome] › composer/RTE.spec.ts#L1
[Chrome] › composer/RTE.spec.ts took 1.2m
|
Run Playwright tests:
[Chrome] › crypto/event-shields.spec.ts#L1
[Chrome] › crypto/event-shields.spec.ts took 1.2m
|
Run Playwright tests:
[Chrome] › crypto/crypto.spec.ts#L1
[Chrome] › crypto/crypto.spec.ts took 1.0m
|
Run Playwright tests:
[Chrome] › crypto/decryption-failure-messages.spec.ts#L1
[Chrome] › crypto/decryption-failure-messages.spec.ts took 49.6s
|
Run Playwright tests:
[Chrome] › crypto/backups.spec.ts#L1
[Chrome] › crypto/backups.spec.ts took 45.2s
|
Run Playwright tests
1 failed
[Chrome] › audio-player/audio-player.spec.ts:199:9 › Audio player › should support downloading an audio file @no-firefox @no-webkit
3 flaky
[Chrome] › audio-player/audio-player.spec.ts:142:9 › Audio player › should be correctly rendered - light theme with monospace font @no-firefox @no-webkit @screenshot
[Chrome] › audio-player/audio-player.spec.ts:152:9 › Audio player › should be correctly rendered - high contrast theme @no-firefox @no-webkit @screenshot
[Chrome] › audio-player/audio-player.spec.ts:177:9 › Audio player › should play an audio file @no-firefox @no-webkit
77 passed (15.1m)
|
Loading