Playwright #738
Annotations
3 errors, 2 warnings, and 1 notice
src/components/advanced-color-picker/advanced-color-picker.pw.tsx#L49
1) [chromium] › src/components/advanced-color-picker/advanced-color-picker.pw.tsx:37:7 › when focused › should have the expected styling when the focusRedesignOptOut is true
Error: Timed out 5000ms waiting for expect(received).toHaveCSS(expected)
Expected string: "rgb(255, 188, 25) solid 3px"
Received string: "rgb(0, 0, 0) none 0px"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('button[data-element="close"]')
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "rgb(0, 0, 0) none 0px"
47 | const icon = closeIconButton(page);
48 | await icon.focus();
> 49 | await expect(closeIconButton(page)).toHaveCSS(
| ^
50 | "outline",
51 | "rgb(255, 188, 25) solid 3px"
52 | );
at /__w/carbon/carbon/src/components/advanced-color-picker/advanced-color-picker.pw.tsx:49:41
|
src/components/batch-selection/batch-selection.pw.tsx#L42
2) [chromium] › src/components/batch-selection/batch-selection.pw.tsx:86:9 › check BatchSelection buttons are focused › should check BatchSelection first button has expected styling when focusRedesignOptOut is true
Error: locator.getAttribute: Context was reset for reuse.
=========================== logs ===========================
waiting for locator('[data-component="batch-selection"]')
============================================================
40 | await mount(<BatchSelectionComponent hidden />);
41 | const batchSelection = batchSelectionComponent(page);
> 42 | await expect(batchSelection.getAttribute("hidden")).not.toBeNull();
| ^
43 |
44 | await expect(batchSelection).toHaveCSS("opacity", "0");
45 | });
at /__w/carbon/carbon/src/components/batch-selection/batch-selection.pw.tsx:42:33
|
src/components/dialog/dialog.pw.tsx#L274
3) [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
|
|
|
3 flaky
[chromium] › src/components/advanced-color-picker/advanced-color-picker.pw.tsx:37:7 › when focused › should have the expected styling when the focusRedesignOptOut is true
[chromium] › src/components/batch-selection/batch-selection.pw.tsx:86:9 › check BatchSelection buttons are focused › should check BatchSelection first button has expected styling when focusRedesignOptOut is true
[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
2 skipped
2092 passed (21.4m)
|
The logs for this run have expired and are no longer available.
Loading