End to End Tests #13837
Annotations
3 errors and 1 notice
|
playwright/e2e/widgets/permissions-dialog.spec.ts#L92
3) [Chrome] › playwright/e2e/widgets/permissions-dialog.spec.ts:49:9 › Widger permissions dialog › should be updated if user is re-invited into the room with updated state event @screenshot
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 55
- Array []
+ Array [
+ Object {
+ "description": "Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
+ "help": "Interactive controls must not be nested",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/nested-interactive?application=playwright",
+ "id": "nested-interactive",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "no-focusable-content",
+ "impact": "serious",
+ "message": "Element has focusable descendants",
+ "relatedNodes": Array [
+ Object {
+ "html": "<button class=\"_icon-button_1pz9o_8\" role=\"button\" tabindex=\"0\" aria-disabled=\"false\" aria-label=\"More Options\" type=\"button\" id=\"radix-_r_23_\" aria-haspopup=\"menu\" aria-expanded=\"false\" data-state=\"closed\" data-kind=\"primary\" aria-labelledby=\"_r_25_\" style=\"--cpd-icon-button-size: 24px;\">",
+ "target": Array [
+ "#radix-_r_23_",
+ ],
+ },
+ Object {
+ "html": "<button class=\"_icon-button_1pz9o_8\" role=\"button\" tabindex=\"0\" aria-disabled=\"false\" aria-label=\"Notification options\" type=\"button\" id=\"radix-_r_2a_\" aria-haspopup=\"menu\" aria-expanded=\"false\" data-state=\"closed\" data-kind=\"primary\" aria-labelledby=\"_r_2c_\" style=\"--cpd-icon-button-si...\">",
+ "target": Array [
+ "#radix-_r_2a_",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has focusable descendants",
+ "html": "<button type=\"button\" role=\"option\" aria-posinset=\"1\" aria-setsize=\"1\" aria-selected=\"true\" aria-label=\"Open room Demo\" tabindex=\"0\" data-state=\"closed\" aria-haspopup=\"menu\" class=\"_flex_4dswl_9 mx_Roo...\" style=\"--mx-flex-display: f...\">",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ ".mx_RoomListItemView",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.keyboard",
+ "wcag2a",
+ "wcag412",
+ "TTv5",
+ "TT6.a",
+ "EN-301-549",
+ "EN-9.4.1.2",
+ "RGAAv4",
+ "RGAA-7.1.1",
+ ],
+ },
+ ]
90 |
91 | axe.disableRules("color-contrast"); // XXX: Inheriting colour contrast issues from room view.
> 92 | await expect(axe).toHaveNoViolations();
| ^
93 | await expect(page.locator(".mx_WidgetCapabilitiesPromptDialog")).toMatchScreenshot(
94 | "widget-capabilites-prompt.png",
95 | );
at /home/runner/work/element-web/element-web/playwright/e2e/widgets/permissions-dialog.spec.ts:92:31
|
|
playwright/e2e/timeline/timeline.spec.ts#L1189
2) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:1104:13 › Timeline › message sending › should display a reply chain @no-firefox @no-webkit @screenshot
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('.mx_EventTile_last')
41 pixels (ratio 0.01 of all image pixels) are different.
Snapshot: event-tile-reply-chains-irc-modern.png
Call log:
- Expect "toHaveScreenshot(event-tile-reply-chains-irc-modern.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" aria-atomic="true" data-layout="group" data-has-reply="true" data-event-id="$Aa7enBs5-jNO-iYE8cQMYSf9GumLJXRcPQW3EtKmHqg" data-scroll-tokens="$Aa7enBs5-jNO-iYE8cQMYSf9GumLJXRcPQW3EtKmHqg" class="mx_EventTile mx_EventTile_continuation 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
- 41 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" aria-atomic="true" data-layout="group" data-has-reply="true" data-event-id="$Aa7enBs5-jNO-iYE8cQMYSf9GumLJXRcPQW3EtKmHqg" data-scroll-tokens="$Aa7enBs5-jNO-iYE8cQMYSf9GumLJXRcPQW3EtKmHqg" class="mx_EventTile mx_EventTile_continuation 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
- captured a stable screenshot
- 41 pixels (ratio 0.01 of all image pixels) are different.
1187 |
1188 | // Take a snapshot on modern layout
> 1189 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot(
| ^
1190 | "event-tile-reply-chains-irc-modern.png",
1191 | screenshotOptions,
1192 | );
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:1189:62
|
|
playwright/e2e/timeline/timeline.spec.ts#L260
1) [Chrome] › playwright/e2e/timeline/timeline.spec.ts:232: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) failed
Locator: locator('.mx_MainSplit')
214 pixels (ratio 0.01 of all image pixels) are different.
Snapshot: expanded-gels-bubble-layout.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
- 214 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
- 214 pixels (ratio 0.01 of all image pixels) are different.
258 |
259 | // Save snapshot of expanded generic event list summary on bubble layout
> 260 | await expect(page.locator(".mx_MainSplit")).toMatchScreenshot("expanded-gels-bubble-layout.png", {
| ^
261 | // Exclude timestamp from snapshot
262 | css: `
263 | .mx_MessageTimestamp {
at /home/runner/work/element-web/element-web/playwright/e2e/timeline/timeline.spec.ts:260:61
|
|
3 flaky
[Chrome] › playwright/e2e/timeline/timeline.spec.ts:232: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:1104:13 › Timeline › message sending › should display a reply chain @no-firefox @no-webkit @screenshot
[Chrome] › playwright/e2e/widgets/permissions-dialog.spec.ts:49:9 › Widger permissions dialog › should be updated if user is re-invited into the room with updated state event @screenshot
1 skipped
142 passed (16.1m)
|
The logs for this run have expired and are no longer available.
Loading