End to End Tests #8885
Annotations
6 errors and 1 notice
|
playwright/e2e/timeline/timeline.spec.ts#L256
4) [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/e2e/timeline/timeline.spec.ts#L179
3) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:162:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) 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
177 | const gels = page.locator(".mx_GenericEventListSummary");
178 | // Click "expand" link button
> 179 | await gels.getByRole("button", { name: "Expand" }).click();
| ^
180 | // Assert that the "expand" link button worked
181 | await expect(gels.getByRole("button", { name: "Collapse" })).toBeVisible();
182 |
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:179:68
|
|
playwright/e2e/timeline/timeline.spec.ts#L0
3) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:162:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot
Test timeout of 30000ms exceeded.
|
|
playwright/e2e/timeline/timeline.spec.ts#L158
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:142:13 › Timeline › configure room › should create and configure a room on IRC layout @screenshot
Error: expect(locator).toHaveScreenshot(expected)
40 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/element-web/element-web/playwright/snapshots/timeline/timeline.spec.ts/configured-room-irc-layout-linux.png
Received: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-43bff-figure-a-room-on-IRC-layout-Chrome/configured-room-irc-layout-actual.png
Diff: /home/runner/work/element-web/element-web/playwright/test-results/timeline-timeline-Timeline-43bff-figure-a-room-on-IRC-layout-Chrome/configured-room-irc-layout-diff.png
Call log:
- Expect "toHaveScreenshot(configured-room-irc-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
- 40 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
- 40 pixels (ratio 0.01 of all image pixels) are different.
156 | await expect(page.locator(".mx_TimelineSeparator")).toHaveText("today");
157 |
> 158 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot("configured-room-irc-layout.png");
| ^
159 | },
160 | );
161 |
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:158:61
|
|
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:45301/_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)
|
|
playwright/e2e/oidc/oidc-native.spec.ts#L109
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: expect(received).toHaveLength(expected)
Expected length: 0
Received length: 21
Received array: ["react_sdk_session_lock_owner", "mx_local_settings", "mx_has_access_token", "mx_oidc_client_id", "mx_oidc_token_issuer", "must_verify_device", "mx_draft_cleanup", "mx_profile_displayname", "mx_device_id", "mx_has_refresh_token", …]
107 |
108 | const localStorageKeys = await page.evaluate(() => Object.keys(localStorage));
> 109 | expect(localStorageKeys).toHaveLength(0);
| ^
110 | },
111 | );
112 |
at /home/runner/work/element-web/element-web/playwright/e2e/oidc/oidc-native.spec.ts:109:38
|
|
4 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/timeline/timeline.spec.ts:142:13 › Timeline › configure room › should create and configure a room on IRC layout @screenshot
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:162:13 › Timeline › configure room › should have an expanded generic event list summary (GELS) on IRC layout @screenshot
[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
83 passed (10.9m)
|
The logs for this run have expired and are no longer available.
Loading