Playwright #794
Annotations
4 errors, 2 warnings, and 1 notice
src/components/advanced-color-picker/advanced-color-picker.pw.tsx#L27
1) [chromium] › src/components/advanced-color-picker/advanced-color-picker.pw.tsx:19:7 › when focused › should have the expected styling when the focusRedesignOptOut is false
Error: Timed out 5000ms waiting for expect(received).toHaveCSS(expected)
Expected string: "rgb(255, 188, 25) 0px 0px 0px 3px, rgba(0, 0, 0, 0.9) 0px 0px 0px 6px"
Received string: "none"
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 "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
- locator resolved to <button type="button" aria-label="Close" data-element="c…>…</button>
- unexpected value "none"
25 | const icon = closeIconButton(page);
26 | await icon.focus();
> 27 | await expect(closeIconButton(page)).toHaveCSS(
| ^
28 | "box-shadow",
29 | "rgb(255, 188, 25) 0px 0px 0px 3px, rgba(0, 0, 0, 0.9) 0px 0px 0px 6px"
30 | );
at /__w/carbon/carbon/src/components/advanced-color-picker/advanced-color-picker.pw.tsx:27: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 second 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#L302
3) [chromium] › src/components/dialog/dialog.pw.tsx:289:7 › Testing Dialog component properties › when shift 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('Textbox3')
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
- locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/>
- unexpected value "not focused"
300 |
301 | await dialog.press("Shift+Tab");
> 302 | await expect(thirdTextbox).toBeFocused();
| ^
303 |
304 | await thirdTextbox.press("Shift+Tab");
305 | await expect(secondTextbox).toBeFocused();
at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:302:32
|
playwright/support/helper.ts#L225
4) [chromium] › src/components/tile/tile.pw.tsx:87:9 › Tile component › check vertical orientation
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 197
Received: 196
at playwright/support/helper.ts:225
223 | ) => {
224 | const val = await getStyle(element, cssProp);
> 225 | expect(parseInt(val)).toBeGreaterThanOrEqual(value - 2);
| ^
226 | expect(parseInt(val)).toBeLessThanOrEqual(value + 2);
227 | };
228 |
at assertCssValueIsApproximately (/__w/carbon/carbon/playwright/support/helper.ts:225:25)
at /__w/carbon/carbon/src/components/tile/tile.pw.tsx:93:7
|
|
|
4 flaky
[chromium] › src/components/advanced-color-picker/advanced-color-picker.pw.tsx:19:7 › when focused › should have the expected styling when the focusRedesignOptOut is false
[chromium] › src/components/batch-selection/batch-selection.pw.tsx:86:9 › check BatchSelection buttons are focused › should check BatchSelection second button has expected styling when focusRedesignOptOut is true
[chromium] › src/components/dialog/dialog.pw.tsx:289:7 › Testing Dialog component properties › when shift tabbing through Dialog content, focus should remain trapped inside the Dialog
[chromium] › src/components/tile/tile.pw.tsx:87:9 › Tile component › check vertical orientation
2 skipped
2177 passed (21.6m)
|
The logs for this run have expired and are no longer available.
Loading