Skip to content

Playwright

Playwright #823

Manually triggered October 26, 2023 09:58
Status Success
Total duration 26m 58s
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/dialog/dialog.pw.tsx:261:7 › Testing Dialog component properties › when tabbing through Dialog content: src/components/dialog/dialog.pw.tsx#L277
1) [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('Textbox1') - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox1" aria-invalid="false…/> - unexpected value "not focused" 275 | 276 | await closeButton.press("Tab"); > 277 | await expect(firstTextbox).toBeFocused(); | ^ 278 | 279 | await firstTextbox.press("Tab"); 280 | await expect(secondTextbox).toBeFocused(); at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:277:32
[chromium] › src/components/dialog/dialog.pw.tsx:289:7 › Testing Dialog component properties › when shift tabbing through Dialog content: src/components/dialog/dialog.pw.tsx#L302
2) [chromium] › src/components/dialog/dialog.pw.tsx:289:7 › Testing Dialog component properties › when shift 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('Textbox3') - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" - locator resolved to <input type="text" value="Textbox3" aria-invalid="false…/> - unexpected value "not focused" 300 | 301 | await dialog.press("Shift+Tab"); > 302 | await expect(thirdTextbox).toBeFocused(); | ^ 303 | 304 | await thirdTextbox.press("Shift+Tab"); 305 | await expect(secondTextbox).toBeFocused(); at /__w/carbon/carbon/src/components/dialog/dialog.pw.tsx:302:32
[chromium] › src/components/tile/tile.pw.tsx:87:9 › Tile component › check vertical orientation: playwright/support/helper.ts#L225
3) [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
3 flaky [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:289:7 › Testing Dialog component properties › when shift tabbing through Dialog content, focus should remain trapped inside the Dialog [chromium] › src/components/tile/tile.pw.tsx:87:9 › Tile component › check vertical orientation 3 skipped 2325 passed (23.5m)