Skip to content

Playwright

Playwright #721

Manually triggered October 18, 2023 09:40
Status Success
Total duration 23m 4s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

playwright.yml

on: workflow_dispatch
Matrix: playwright-react
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 1 notice
[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: 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" - 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
[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: src/components/confirm/confirm.pw.tsx#L551
2) [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
[chromium] › src/components/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content: 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" 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
playwright-react (chromium, 1, 1)
Unexpected input(s) 'owner', 'repo', 'pull_number', valid inputs are ['route', 'mediaType']
playwright-react (chromium, 1, 1)
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 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/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 2 skipped 2012 passed (19.7m)