Skip to content

Playwright

Playwright #831

Manually triggered October 26, 2023 16:11
Status Success
Total duration 22m 17s
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/batch-selection/batch-selection.pw.tsx:60:11 › check BatchSelection component properties › check BatchSelection component transparent colorTheme and it uses as a background color: src/components/batch-selection/batch-selection.pw.tsx#L42
1) [chromium] › src/components/batch-selection/batch-selection.pw.tsx:60:11 › check BatchSelection component properties › check BatchSelection component transparent colorTheme and it uses as a background color Error: locator.getAttribute: Context was reset for reuse. =========================== logs =========================== waiting for locator('[data-component="batch-selection"]') ============================================================ 40 | await mount(<BatchSelectionComponent hidden />); 41 | const batchSelection = batchSelectionComponent(page); > 42 | await expect(batchSelection.getAttribute("hidden")).not.toBeNull(); | ^ 43 | 44 | await expect(batchSelection).toHaveCSS("opacity", "0"); 45 | }); at /__w/carbon/carbon/src/components/batch-selection/batch-selection.pw.tsx:42:33
[chromium] › src/components/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content: src/components/dialog/dialog.pw.tsx#L280
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('Textbox2') - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox2" aria-invalid="false…/> - unexpected value "not focused" 278 | 279 | await firstTextbox.press("Tab"); > 280 | await expect(secondTextbox).toBeFocused(); | ^ 281 | 282 | await secondTextbox.press("Tab"); 283 | await expect(thirdTextbox).toBeFocused(); at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:280:33
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/batch-selection/batch-selection.pw.tsx:60:11 › check BatchSelection component properties › check BatchSelection component transparent colorTheme and it uses as a background color [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 2 skipped 2180 passed (19.2m)