matrix-react-sdk End to End Tests #4948
Annotations
2 errors and 1 notice
|
Run Playwright tests:
playwright/e2e/app-loading/stored-credentials.spec.ts#L42
2) [Chrome] › playwright/e2e/app-loading/stored-credentials.spec.ts:26:1 › Shows the last known page on reload
Error: expect(page).toHaveURL(expected) failed
Expected pattern: /\/#\/room\//
Received string: "http://localhost:8080/#/home"
Timeout: 5000ms
Call log:
- Expect "toHaveURL" with timeout 5000ms
9 × unexpected value "http://localhost:8080/#/home"
40 |
41 | // Check that the room reloaded
> 42 | await expect(page).toHaveURL(/\/#\/room\//);
| ^
43 | await expect(page.locator(".mx_RoomHeader")).toContainText("Test Room");
44 | });
45 |
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/app-loading/stored-credentials.spec.ts:42:24
|
|
Run Playwright tests:
playwright/e2e/accessibility/keyboard-navigation.spec.ts#L142
1) [Chrome] › playwright/e2e/accessibility/keyboard-navigation.spec.ts:106:5 › Landmark navigation tests › without an open room
Error: expect(locator).toBeFocused() failed
Locator: locator('.mx_HomePage')
Expected: focused
Received: inactive
Timeout: 5000ms
Call log:
- Expect "toBeFocused" with timeout 5000ms
- waiting for locator('.mx_HomePage')
7 × locator resolved to <main tabindex="-1" class="mx_AutoHideScrollbar mx_HomePage mx_HomePage_default">…</main>
- unexpected value "inactive"
140 | // Pressing Control+F6 again will focus the home section
141 | await page.keyboard.press("ControlOrMeta+F6");
> 142 | await expect(page.locator(".mx_HomePage")).toBeFocused();
| ^
143 |
144 | // Pressing Control+F6 will bring focus back to the space button
145 | await page.keyboard.press("ControlOrMeta+F6");
at /home/runner/work/matrix-js-sdk/matrix-js-sdk/playwright/e2e/accessibility/keyboard-navigation.spec.ts:142:52
|
|
Run Playwright tests
2 flaky
[Chrome] › playwright/e2e/accessibility/keyboard-navigation.spec.ts:106:5 › Landmark navigation tests › without an open room
[Chrome] › playwright/e2e/app-loading/stored-credentials.spec.ts:26:1 › Shows the last known page on reload
107 passed (10.4m)
|
Loading