Skip to content

Playwright

Playwright #829

Manually triggered October 26, 2023 14:49
Status Success
Total duration 21m 42s
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/dialog-full-screen/dialog-full-screen.pw.tsx:200:7 › render DialogFullScreen component and check properties › should always place focus on the inner dialog when tabbing with nested dialogs after focus is lost: src/components/dialog-full-screen/dialog-full-screen.pw.tsx#L224
1) [chromium] › src/components/dialog-full-screen/dialog-full-screen.pw.tsx:200:7 › render DialogFullScreen component and check properties › should always place focus on the inner dialog when tabbing with nested dialogs after focus is lost Error: Timed out 5000ms waiting for expect(received).toHaveCSS(expected) Expected string: "rgba(0, 0, 0, 0) solid 3px" Received string: "rgb(0, 0, 0) none 0px" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for locator('[data-element="close"]').nth(2) - 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" 222 | "rgb(255, 188, 25) 0px 0px 0px 3px, rgba(0, 0, 0, 0.9) 0px 0px 0px 6px" 223 | ); > 224 | await expect(closeIcon).toHaveCSS("outline", "rgba(0, 0, 0, 0) solid 3px"); | ^ 225 | }); 226 | 227 | test("should render nested dialogs with the aria-modal property only set on the top one, even when the dialogs are wrapped in separate CarbonProviders", async ({ at /__w/carbon/carbon/src/components/dialog-full-screen/dialog-full-screen.pw.tsx:224:29
[chromium] › src/components/tile/tile.pw.tsx:87:9 › Tile component › check vertical orientation: playwright/support/helper.ts#L225
2) [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
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/dialog-full-screen/dialog-full-screen.pw.tsx:200:7 › render DialogFullScreen component and check properties › should always place focus on the inner dialog when tabbing with nested dialogs after focus is lost [chromium] › src/components/tile/tile.pw.tsx:87:9 › Tile component › check vertical orientation 3 skipped 2274 passed (18.9m)