Skip to content

Playwright

Playwright #748

Manually triggered October 19, 2023 16:38
Status Success
Total duration 17m 8s
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/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
1) [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
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" 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
[chromium] › src/components/dialog/dialog.pw.tsx:337:7 › Testing Dialog component properties › when shift tabbing through Dialog content: src/components/dialog/dialog.pw.tsx#L350
3) [chromium] › src/components/dialog/dialog.pw.tsx:337:7 › Testing Dialog component properties › when shift tabbing through Dialog content, background should not scroll to the bottom of the page 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" 348 | await textbox.press("Shift+Tab"); 349 | > 350 | await expect(closeButton).toBeFocused(); | ^ 351 | await expect( 352 | page.getByText("I should not be scrolled into view") 353 | ).not.toBeInViewport(); at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:350: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/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 [chromium] › src/components/dialog/dialog.pw.tsx:337:7 › Testing Dialog component properties › when shift tabbing through Dialog content, background should not scroll to the bottom of the page 3 skipped 1883 passed (14.5m)