Fix more flaky playwright tests #4161
Annotations
3 errors, 1 warning, and 1 notice
Run Playwright tests:
playwright/e2e/crypto/utils.ts#L170
1) [Dendrite] › settings/encryption-user-tab/recovery.spec.ts:84:9 › Recovery section in Encryption tab › should setup the recovery key @screenshot
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('.mx_SecureBackupPanel_statusList tr:nth-child(5) td')
Expected string: "1 (Algorithm: m.megolm_backup.v1.curve25519-aes-sha2)"
Received string: "3 (Algorithm: m.megolm_backup.v1.curve25519-aes-sha2)"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('.mx_SecureBackupPanel_statusList tr:nth-child(5) td')
9 × locator resolved to <td>…</td>
- unexpected value "3 (Algorithm: m.megolm_backup.v1.curve25519-aes-sha2)"
at crypto/utils.ts:170
168 | }
169 |
> 170 | await expect(page.locator(".mx_SecureBackupPanel_statusList tr:nth-child(5) td")).toHaveText(
| ^
171 | expectedBackupVersion + " (Algorithm: m.megolm_backup.v1.curve25519-aes-sha2)",
172 | );
173 |
at checkDeviceIsConnectedKeyBackup (/home/runner/work/element-web/element-web/playwright/e2e/crypto/utils.ts:170:87)
at /home/runner/work/element-web/element-web/playwright/e2e/settings/encryption-user-tab/recovery.spec.ts:120:9
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
2) [Dendrite] › sliding-sync/sliding-sync.spec.ts:370:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L404
2) [Dendrite] › sliding-sync/sliding-sync.spec.ts:370:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Error: page.waitForRequest: Test timeout of 30000ms exceeded.
402 | await Promise.all([
403 | page.waitForRequest(matchRoomSubRequest(roomPId)),
> 404 | page.waitForRequest(matchRoomUnsubRequest(roomAId)),
| ^
405 | page.getByRole("treeitem", { name: "Pineapple", exact: true }).click(),
406 | ]);
407 |
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:404:18
|
Run Playwright tests:
[Dendrite] › settings/account-user-settings-tab.spec.ts#L1
[Dendrite] › settings/account-user-settings-tab.spec.ts took 15.4s
|
Run Playwright tests
2 flaky
[Dendrite] › settings/encryption-user-tab/recovery.spec.ts:84:9 › Recovery section in Encryption tab › should setup the recovery key @screenshot
[Dendrite] › sliding-sync/sliding-sync.spec.ts:370:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
35 skipped
50 passed (3.9m)
|
Set up job
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/checkout@v4
2s
2s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
📥 Download artifact
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run actions/setup-node@v4
8s
8s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install dependencies
33s
33s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Get installed Playwright version
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Cache playwright binaries
3s
3s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install Playwright browsers
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Install system dependencies for WebKit
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Run Playwright tests
3m 56s
3m 56s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Upload blob report to GitHub Actions Artifacts
1s
1s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Cache playwright binaries
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/setup-node@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Post Run actions/checkout@v4
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Complete job
0s
0s
Error:
This step has been truncated due to its large size. Download the full logs from the menu
once the workflow run has completed.
Loading