Run Playwright tests against Dendrite & Pinecone periodically #3993
Annotations
10 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
1) [Firefox] › sliding-sync/sliding-sync.spec.ts:371: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#L412
1) [Firefox] › sliding-sync/sliding-sync.spec.ts:371:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Error: page.waitForRequest: Test timeout of 30000ms exceeded.
410 | await Promise.all([
411 | page.waitForRequest(matchRoomSubRequest(roomOId)),
> 412 | page.waitForRequest(matchRoomUnsubRequest(roomPId)),
| ^
413 | page.getByRole("treeitem", { name: "Orange", exact: true }).click(),
414 | ]);
415 |
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:412:18
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
1) [Firefox] › sliding-sync/sliding-sync.spec.ts:371:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/pages/client.ts#L181
1) [Firefox] › sliding-sync/sliding-sync.spec.ts:371:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: Test timeout of 30000ms exceeded.
at ../pages/client.ts:181
179 | public async createRoom(options: ICreateRoomOpts): Promise<string> {
180 | const client = await this.prepareClient();
> 181 | return await client.evaluate(async (cli, options) => {
| ^
182 | const roomPromise = new Promise<void>((resolve) => {
183 | const onRoom = (room: Room) => {
184 | if (room.roomId === roomId) {
at Client.createRoom (/home/runner/work/element-web/element-web/playwright/pages/client.ts:181:29)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:375:24
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L1
1) [Firefox] › sliding-sync/sliding-sync.spec.ts:371:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run Playwright tests:
playwright/pages/client.ts#L181
1) [Firefox] › sliding-sync/sliding-sync.spec.ts:371:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: jsHandle.evaluate: Test timeout of 30000ms exceeded.
at ../pages/client.ts:181
179 | public async createRoom(options: ICreateRoomOpts): Promise<string> {
180 | const client = await this.prepareClient();
> 181 | return await client.evaluate(async (cli, options) => {
| ^
182 | const roomPromise = new Promise<void>((resolve) => {
183 | const onRoom = (room: Room) => {
184 | if (room.roomId === roomId) {
at Client.createRoom (/home/runner/work/element-web/element-web/playwright/pages/client.ts:181:29)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:375:24
|
Run Playwright tests:
playwright/e2e/room/room.spec.ts#L83
2) [Firefox] › room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
Error: Timed out 5000ms waiting for expect(locator).toBeInViewport()
Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
Expected: in viewport
Received: outside viewport
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
8 × locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div>
- unexpected value "viewport ratio 0"
81 |
82 | // Wait for the first message to be displayed
> 83 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport();
| ^
84 |
85 | // Display Room B
86 | await app.viewRoomById(roomBId);
at /home/runner/work/element-web/element-web/playwright/e2e/room/room.spec.ts:83:91
|
Run Playwright tests:
playwright/e2e/room/room.spec.ts#L83
2) [Firefox] › room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeInViewport()
Locator: locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
Expected: in viewport
Received: outside viewport
Call log:
- expect.toBeInViewport with timeout 5000ms
- waiting for locator('.mx_MTextBody .mx_EventTile_body').getByText('test0')
8 × locator resolved to <div dir="auto" class="mx_EventTile_body translate">test0</div>
- unexpected value "viewport ratio 0"
81 |
82 | // Wait for the first message to be displayed
> 83 | await expect(page.locator(".mx_MTextBody .mx_EventTile_body").getByText("test0")).toBeInViewport();
| ^
84 |
85 | // Display Room B
86 | await app.viewRoomById(roomBId);
at /home/runner/work/element-web/element-web/playwright/e2e/room/room.spec.ts:83:91
|
Run Playwright tests:
playwright/e2e/room-directory/room-directory.spec.ts#L35
3) [Firefox] › room-directory/room-directory.spec.ts:19:9 › Room Directory › should allow admin to add alias & publish room to directory @no-webkit
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#gaming:localhost')
Expected string: "mx_EditableItem_item"
Received: <element(s) not found>
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#gaming:localhost')
33 | await localAddresses.getByRole("textbox").fill("gaming");
34 | await localAddresses.getByRole("button", { name: "Add" }).click();
> 35 | await expect(localAddresses.getByText(`#gaming:${user.homeServer}`)).toHaveClass("mx_EditableItem_item");
| ^
36 |
37 | // Publish into the public rooms directory
38 | const publishedAddresses = page.locator(".mx_SettingsFieldset", { hasText: "Published Addresses" });
at /home/runner/work/element-web/element-web/playwright/e2e/room-directory/room-directory.spec.ts:35:82
|
Run Playwright tests:
playwright/element-web-test.ts#L334
4) [Firefox] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
Error: expect.toMatchScreenshot: Test ended.
at ../element-web-test.ts:334
332 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
333 |
> 334 | await style.evaluate((tag) => tag.remove());
| ^
335 |
336 | testInfo.annotations.push({
337 | // `_` prefix hides it from the HTML reporter
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:334:21)
|
Run Playwright tests:
[Firefox] › spaces/spaces.spec.ts#L1
[Firefox] › spaces/spaces.spec.ts took 54.4s
|
Run Playwright tests:
[Firefox] › room/room-header.spec.ts#L1
[Firefox] › room/room-header.spec.ts took 36.3s
|
Run Playwright tests:
[Firefox] › settings/account-user-settings-tab.spec.ts#L1
[Firefox] › settings/account-user-settings-tab.spec.ts took 32.1s
|
Run Playwright tests:
[Firefox] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Firefox] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 22.1s
|
Run Playwright tests:
[Firefox] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts#L1
[Firefox] › settings/appearance-user-settings-tab/message-layout-panel.spec.ts took 15.1s
|
Run Playwright tests
1 failed
[Firefox] › sliding-sync/sliding-sync.spec.ts:371:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
12 flaky
[Firefox] › room/room.spec.ts:56:9 › Room Directory › should memorize the timeline position when switch Room A -> Room B -> Room A
[Firefox] › room-directory/room-directory.spec.ts:19:9 › Room Directory › should allow admin to add alias & publish room to directory @no-webkit
[Firefox] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
[Firefox] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
[Firefox] › spotlight/spotlight.spec.ts:135:9 › Spotlight › should find known public rooms ─────
[Firefox] › spotlight/spotlight.spec.ts:149:9 › Spotlight › should find unknown public rooms ───
[Firefox] › spotlight/spotlight.spec.ts:164:9 › Spotlight › should find unknown public world readable rooms
[Firefox] › spotlight/spotlight.spec.ts:223:9 › Spotlight › should find unknown people ─────────
[Firefox] › spotlight/spotlight.spec.ts:324:9 › Spotlight › should allow opening group chat dialog
[Firefox] › spotlight/spotlight.spec.ts:342:9 › Spotlight › should close spotlight after starting a DM
[Firefox] › spotlight/spotlight.spec.ts:347:9 › Spotlight › should show the same user only once
[Firefox] › spotlight/spotlight.spec.ts:360:9 › Spotlight › should be able to navigate results via keyboard
14 skipped
56 passed (14.7m)
|
Loading