Playwright fixes and improvements #3844
Annotations
4 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/element-web-test.ts#L313
1) [Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
Error: expect.toHaveScreenshot(share-dialog-room.png): Test ended.
Call log:
- expect.toHaveScreenshot(share-dialog-room.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('dialog', { name: 'Share room' })
at ../element-web-test.ts:313
311 |
312 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
314 |
315 | await style.evaluate((tag) => tag.remove());
316 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L313
2) [Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
Error: expect.toHaveScreenshot(share-dialog-user.png): Target page, context or browser has been closed
at ../element-web-test.ts:313
311 |
312 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
314 |
315 | await style.evaluate((tag) => tag.remove());
316 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
|
Run Playwright tests:
playwright/element-web-test.ts#L313
3) [Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
Error: expect.toHaveScreenshot(share-dialog-event.png): Test ended.
Call log:
- expect.toHaveScreenshot(share-dialog-event.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('dialog', { name: 'Share Room Message' })
- locator resolved to <div role="dialog" class="mx_ShareDialog" data-focus-lock-disabled="false" aria-describedby="mx_Dialog_content" aria-labelledby="mx_BaseDialog_title">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
at ../element-web-test.ts:313
311 |
312 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 313 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
314 |
315 | await style.evaluate((tag) => tag.remove());
316 |
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/playwright/element-web-test.ts:313:9)
|
Run Playwright tests:
playwright/e2e/sliding-sync/sliding-sync.spec.ts#L383
4) [Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
Error: expect(received).not.toHaveProperty(path)
Matcher error: received value must not be null nor undefined
Received has value: undefined
381 | }
382 | expect(body.unsubscribe_rooms).toEqual([unsubRoomId]);
> 383 | expect(body.room_subscriptions).not.toHaveProperty(unsubRoomId);
| ^
384 | expect(body.room_subscriptions).toHaveProperty(subRoomId);
385 | };
386 |
at assertUnsubExists (/home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:383:49)
at /home/runner/work/element-web/element-web/playwright/e2e/sliding-sync/sliding-sync.spec.ts:404:9
|
Run Playwright tests:
[Chrome] › spotlight/spotlight.spec.ts#L1
[Chrome] › spotlight/spotlight.spec.ts took 2.2m
|
Run Playwright tests:
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
[Chrome] › spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.5m
|
Run Playwright tests:
[Chrome] › spaces/spaces.spec.ts#L1
[Chrome] › spaces/spaces.spec.ts took 1.0m
|
Run Playwright tests:
[Chrome] › settings/general-room-settings-tab.spec.ts#L1
[Chrome] › settings/general-room-settings-tab.spec.ts took 25.9s
|
Run Playwright tests:
[Chrome] › settings/preferences-user-settings-tab.spec.ts#L1
[Chrome] › settings/preferences-user-settings-tab.spec.ts took 19.1s
|
Run Playwright tests
4 flaky
[Chrome] › share-dialog/share-dialog.spec.ts:19:9 › Share dialog › should share a room @screenshot
[Chrome] › share-dialog/share-dialog.spec.ts:32:9 › Share dialog › should share a room member @screenshot
[Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
[Chrome] › sliding-sync/sliding-sync.spec.ts:366:5 › Sliding Sync › should send unsubscribe_rooms for every room switch
2 skipped
50 passed (8.9m)
|
Loading