test(multi-action-button): playwright refactor #1382
Triggered via pull request
December 12, 2023 18:29
Status
Success
Total duration
18m 59s
Artifacts
–
playwright.yml
on: pull_request
Run Playwright tests
18m 45s
Annotations
1 error and 1 notice
[chromium] › src/components/dialog-full-screen/dialog-full-screen.pw.tsx:204: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#L228
1) [chromium] › src/components/dialog-full-screen/dialog-full-screen.pw.tsx:204: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"
226 | "rgb(255, 188, 25) 0px 0px 0px 3px, rgba(0, 0, 0, 0.9) 0px 0px 0px 6px"
227 | );
> 228 | await expect(closeIcon).toHaveCSS("outline", "rgba(0, 0, 0, 0) solid 3px");
| ^
229 | });
230 |
231 | 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:228:29
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/components/dialog-full-screen/dialog-full-screen.pw.tsx:204:7 › render DialogFullScreen component and check properties › should always place focus on the inner dialog when tabbing with nested dialogs after focus is lost
20 skipped
3749 passed (16.8m)
|