Playwright #748
Annotations
3 errors, 2 warnings, and 1 notice
src/components/confirm/confirm.pw.tsx#L551
1) [chromium] › src/components/confirm/confirm.pw.tsx:537:7 › should render Confirm component for event tests › should check onCancel callback when Esc key event is triggered
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
549 |
550 | await page.keyboard.press("Escape");
> 551 | expect(callbackCount).toBe(1);
| ^
552 | });
553 | });
554 |
at /__w/carbon/carbon/src/components/confirm/confirm.pw.tsx:551:27
|
src/components/dialog/dialog.pw.tsx#L274
2) [chromium] › src/components/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content, focus should remain trapped inside the Dialog
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Close')
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
272 |
273 | await dialog.press("Tab");
> 274 | await expect(closeButton).toBeFocused();
| ^
275 |
276 | await closeButton.press("Tab");
277 | await expect(firstTextbox).toBeFocused();
at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:274:31
|
src/components/dialog/dialog.pw.tsx#L350
3) [chromium] › src/components/dialog/dialog.pw.tsx:337:7 › Testing Dialog component properties › when shift tabbing through Dialog content, background should not scroll to the bottom of the page
Error: Timed out 5000ms waiting for expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Close')
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "not focused"
348 | await textbox.press("Shift+Tab");
349 |
> 350 | await expect(closeButton).toBeFocused();
| ^
351 | await expect(
352 | page.getByText("I should not be scrolled into view")
353 | ).not.toBeInViewport();
at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:350:31
|
|
|
3 flaky
[chromium] › src/components/confirm/confirm.pw.tsx:537:7 › should render Confirm component for event tests › should check onCancel callback when Esc key event is triggered
[chromium] › src/components/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content, focus should remain trapped inside the Dialog
[chromium] › src/components/dialog/dialog.pw.tsx:337:7 › Testing Dialog component properties › when shift tabbing through Dialog content, background should not scroll to the bottom of the page
3 skipped
1883 passed (14.5m)
|
The logs for this run have expired and are no longer available.
Loading