Skip to content

Playwright

Playwright #828

Manually triggered October 26, 2023 14:17
Status Success
Total duration 24m 29s
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#L275
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" 273 | await page.waitForTimeout(250); 274 | await dialog.press("Tab"); > 275 | await expect(closeButton).toBeFocused(); | ^ 276 | 277 | await closeButton.press("Tab"); 278 | await expect(firstTextbox).toBeFocused(); at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:275: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
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 3 skipped 2291 passed (21.1m)