Skip to content

Playwright

Playwright #724

Manually triggered October 18, 2023 09:54
Status Success
Total duration 20m 46s
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

2 errors, 2 warnings, and 1 notice
[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: 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" - 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
[chromium] › src/components/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content: src/components/dialog/dialog.pw.tsx#L277
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('Textbox1') - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" 275 | 276 | await closeButton.press("Tab"); > 277 | await expect(firstTextbox).toBeFocused(); | ^ 278 | 279 | await firstTextbox.press("Tab"); 280 | await expect(secondTextbox).toBeFocused(); at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:277:32
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
2 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/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content, focus should remain trapped inside the Dialog 2 skipped 2013 passed (16.5m)