End to End Tests #8982
Annotations
7 errors and 1 notice
|
playwright/e2e/timeline/timeline.spec.ts#L895
5) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:877:13 › Timeline › message displaying › should render a code block @screenshot
Error: expect(locator).toHaveScreenshot(expected)
16 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/element-web/element-web/playwright/snapshots/timeline/timeline.spec.ts/code-block-linux.png
Received: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-0ac37--should-render-a-code-block-Chrome/code-block-actual.png
Diff: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-0ac37--should-render-a-code-block-Chrome/code-block-diff.png
Call log:
- Expect "toHaveScreenshot(code-block.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" data-layout="irc" aria-atomic="true" data-has-reply="false" data-event-id="~!AmRgWSONoUOwVXDGUr:localhost:m1752128386399.0" class="mx_EventTile mx_EventTile_sending mx_EventTile_last mx_EventTile_lastInSection">…</li>
- 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
- 16 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" data-layout="irc" aria-atomic="true" data-has-reply="false" data-event-id="$NvOoDjRlVlLu7qFbpgRj2WalMEgBW4EC0Z2kezIj59M" class="mx_EventTile mx_EventTile_last mx_EventTile_lastInSection" data-scroll-tokens="$NvOoDjRlVlLu7qFbpgRj2WalMEgBW4EC0Z2kezIj59M">…</li>
- 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
- captured a stable screenshot
- 16 pixels (ratio 0.01 of all image pixels) are different.
893 | const tile = page.locator(".mx_EventTile");
894 | await expect(tile).toBeVisible();
> 895 | await expect(tile).toMatchScreenshot("code-block.png", { mask: [page.locator(".mx_MessageTimestamp")] });
| ^
896 |
897 | // Edit a code block and assert the edited code block has been correctly rendered
898 | await tile.hover();
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:895:32
|
|
playwright/e2e/timeline/timeline.spec.ts#L297
4) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:279:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_GenericEventListSummary').getByRole('button', { name: 'Expand' })
- locator resolved to <div tabindex="0" role="button" aria-expanded="false" class="mx_AccessibleButton mx_GenericEventListSummary_toggle mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline">Expand</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
53 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="0" role="button" aria-label="Scroll to most recent messages" class="mx_AccessibleButton mx_JumpToBottomButton_scrollDown"></div> from <div class="mx_JumpToBottomButton">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
295 |
296 | // Click "expand" link button
> 297 | await page.locator(".mx_GenericEventListSummary").getByRole("button", { name: "Expand" }).click();
| ^
298 |
299 | // Check the event line has margin instead of inset property
300 | // cf. _EventTile.pcss
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:297:107
|
|
playwright/e2e/timeline/timeline.spec.ts#L0
4) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:279:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot
Test timeout of 30000ms exceeded.
|
|
playwright/e2e/timeline/timeline.spec.ts#L256
3) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:228:13 › Timeline › configure room › should click 'collapse' on the first hovered info event line inside GELS on bubble layout @screenshot
Error: expect(locator).toHaveScreenshot(expected)
210 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/element-web/element-web/playwright/snapshots/timeline/timeline.spec.ts/expanded-gels-bubble-layout-linux.png
Received: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-d0f12-nside-GELS-on-bubble-layout-Chrome/expanded-gels-bubble-layout-actual.png
Diff: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-d0f12-nside-GELS-on-bubble-layout-Chrome/expanded-gels-bubble-layout-diff.png
Call log:
- Expect "toHaveScreenshot(expanded-gels-bubble-layout.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</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
- 210 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_MainSplit')
- locator resolved to <div class="mx_MainSplit">…</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
- captured a stable screenshot
- 210 pixels (ratio 0.01 of all image pixels) are different.
254 |
255 | // Save snapshot of expanded generic event list summary on bubble layout
> 256 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot("expanded-gels-bubble-layout.png", {
| ^
257 | // Exclude timestamp from snapshot
258 | mask: [page.locator(".mx_MessageTimestamp")],
259 | });
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:256:61
|
|
playwright/pages/ElementAppPage.ts#L96
2) [Chrome] › playwright/e2e/share-dialog/share-by-url.spec.ts:19:9 › share from URL › should share message when users navigates to share URL
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('tree', { name: 'Rooms' }).locator('[title="A test room"],[aria-label="A test room"]').first()
at ../pages/ElementAppPage.ts:96
94 | .locator(`[title="${name}"],[aria-label="${name}"]`)
95 | .first()
> 96 | .click();
| ^
97 | }
98 |
99 | public async viewRoomById(roomId: string): Promise<void> {
at ElementAppPage.viewRoomByName (/home/runner/work/element-web/element-web/playwright/pages/ElementAppPage.ts:96:14)
at /home/runner/work/element-web/element-web/playwright/e2e/share-dialog/share-by-url.spec.ts:28:19
|
|
playwright/e2e/share-dialog/share-by-url.spec.ts#L0
2) [Chrome] › playwright/e2e/share-dialog/share-by-url.spec.ts:19:9 › share from URL › should share message when users navigates to share URL
Test timeout of 30000ms exceeded.
|
|
playwright/e2e/oidc/oidc-native.spec.ts#L0
1) [Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:81:9 › OIDC Native › it should log out the user & wipe data when logging out via MAS @no-firefox @no-webkit @screenshot
Error: Request to http://localhost:44941/_matrix/client/v3/publicRooms failed with status 500: {"errcode":"M_FORBIDDEN","error":"User not found"}
at ClientServerApi.request (/home/runner/work/element-web/element-web/node_modules/@element-hq/element-web-playwright-common/lib/utils/api.js:38:19)
at StartedSynapseWithMasContainer.deletePublicRooms (/home/runner/work/element-web/element-web/node_modules/@element-hq/element-web-playwright-common/lib/testcontainers/synapse.js:277:34)
at StartedSynapseWithMasContainer.onTestFinished (/home/runner/work/element-web/element-web/node_modules/@element-hq/element-web-playwright-common/lib/testcontainers/synapse.js:272:9)
at Object.context (/home/runner/work/element-web/element-web/node_modules/@element-hq/element-web-playwright-common/lib/fixtures/services.js:112:9)
|
|
5 flaky
[Chrome] › playwright/e2e/oidc/oidc-native.spec.ts:81:9 › OIDC Native › it should log out the user & wipe data when logging out via MAS @no-firefox @no-webkit @screenshot
[Chrome] › playwright/e2e/share-dialog/share-by-url.spec.ts:19:9 › share from URL › should share message when users navigates to share URL
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:228:13 › Timeline › configure room › should click 'collapse' on the first hovered info event line inside GELS on bubble layout @screenshot
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:279:13 › Timeline › configure room › should add inline start margin to an event line on IRC layout @screenshot
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:877:13 › Timeline › message displaying › should render a code block @screenshot
2 skipped
134 passed (16.2m)
|
The logs for this run have expired and are no longer available.
Loading