Stabilise playwright tests using createRoom util (#28802) #3608
Annotations
5 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/integration-manager/read_events.spec.ts#L99
1) [Chrome] › integration-manager/read_events.spec.ts:129:9 › Integration Manager: Read Events › should read a state event by state key
Test timeout of 30000ms exceeded while running "beforeEach" hook.
97 | });
98 |
> 99 | test.beforeEach(async ({ page, user, app, room }) => {
| ^
100 | await app.client.setAccountData("m.widgets", {
101 | "m.integration_manager": {
102 | content: {
at /home/runner/work/element-web/element-web/playwright/e2e/integration-manager/read_events.spec.ts:99:10
|
Run Playwright tests:
playwright/pages/ElementAppPage.ts#L92
1) [Chrome] › integration-manager/read_events.spec.ts:129:9 › Integration Manager: Read Events › should read a state event by state key
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="Integration Manager Test"],[aria-label="Integration Manager Test"]').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/integration-manager/read_events.spec.ts:126:19
|
Run Playwright tests:
playwright/e2e/left-panel/left-panel.spec.ts#L20
2) [Chrome] › left-panel/left-panel.spec.ts:16:9 › LeftPanel › should render the Rooms list ──────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('treeitem', { name: 'Apple' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('treeitem', { name: 'Apple' })
18 | for (const name of ["Apple", "Pineapple", "Orange"]) {
19 | await app.client.createRoom({ name });
> 20 | await expect(page.getByRole("treeitem", { name })).toBeVisible();
| ^
21 | }
22 | });
23 | });
at /home/runner/work/element-web/element-web/playwright/e2e/left-panel/left-panel.spec.ts:20:64
|
Run Playwright tests:
playwright/e2e/oidc/oidc-native.spec.ts#L1
3) [Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit
Test timeout of 90000ms exceeded.
|
Run Playwright tests:
playwright/e2e/oidc/oidc-native.spec.ts#L19
3) [Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit
Error: page.waitForRequest: Test timeout of 90000ms exceeded.
17 | test("can register the oauth2 client and an account", async ({ context, page, homeserver, mailhog, mas }) => {
18 | const tokenUri = `http://localhost:${mas.port}/oauth2/token`;
> 19 | const tokenApiPromise = page.waitForRequest(
| ^
20 | (request) => request.url() === tokenUri && request.postDataJSON()["grant_type"] === "authorization_code",
21 | );
22 |
at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:19:38
|
Run Playwright tests:
[Chrome] › messages/messages.spec.ts#L1
[Chrome] › messages/messages.spec.ts took 2.2m
|
Run Playwright tests:
[Chrome] › pinned-messages/pinned-messages.spec.ts#L1
[Chrome] › pinned-messages/pinned-messages.spec.ts took 1.7m
|
Run Playwright tests:
[Chrome] › login/login.spec.ts#L1
[Chrome] › login/login.spec.ts took 1.0m
|
Run Playwright tests:
[Chrome] › knock/knock-into-room.spec.ts#L1
[Chrome] › knock/knock-into-room.spec.ts took 37.2s
|
Run Playwright tests:
[Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 33.6s
|
Run Playwright tests
3 flaky
[Chrome] › integration-manager/read_events.spec.ts:129:9 › Integration Manager: Read Events › should read a state event by state key
[Chrome] › left-panel/left-panel.spec.ts:16:9 › LeftPanel › should render the Rooms list ───────
[Chrome] › oidc/oidc-native.spec.ts:17:9 › OIDC Native › can register the oauth2 client and an account @no-firefox @no-webkit
1 skipped
74 passed (12.2m)
|
Loading