Skip to content

Playwright

Playwright #693

Manually triggered October 16, 2023 09:43
Status Success
Total duration 15m 40s
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

1 error, 2 warnings, and 1 notice
[chromium] › src/components/dialog/dialog.pw.tsx:359:11 › Testing Dialog component properties › when there is a button inside Dialog: src/components/dialog/dialog.pw.tsx#L371
1) [chromium] › src/components/dialog/dialog.pw.tsx:359:11 › Testing Dialog component properties › when there is a button inside Dialog, which opens a Toast › clicking button moves focus out of Dialog to the newly-opened Toast Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('[data-component=\'toast\']') - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" - locator resolved to <div data-component="toast" class="sc-jnlKLf sc-ktHwx…>…</div> - unexpected value "not focused" 369 | 370 | const toast = toastComponent(page); > 371 | await expect(toast).toBeFocused(); | ^ 372 | }); 373 | 374 | test("when Toast is opened and focus on it is lost, pressing Tab key traps focus back inside the Dialog", async ({ at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:371:29
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
1 flaky [chromium] › src/components/dialog/dialog.pw.tsx:359:11 › Testing Dialog component properties › when there is a button inside Dialog, which opens a Toast › clicking button moves focus out of Dialog to the newly-opened Toast 2 skipped 1835 passed (12.9m)