Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

feat: playwright test migration #30

feat: playwright test migration

feat: playwright test migration #30

Triggered via pull request August 18, 2023 11:33
Status Failure
Total duration 5m 47s
Artifacts 1

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
[webkit] › core-scroll/core-scroll.spec.ts:116:7 › initialization › dispatches "scroll.change" onConnected and when children are added/removed: packages/core-scroll/core-scroll.spec.ts#L142
1) [webkit] › core-scroll/core-scroll.spec.ts:116:7 › initialization › dispatches "scroll.change" onConnected and when children are added/removed Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 140 | <div>This is overflowing content</div> 141 | `)) > 142 | expect(numChangeEvents).toBe(1) | ^ 143 | await coreScroll.evaluate(node => node.children[0].remove()) 144 | expect(numChangeEvents).toBe(2) 145 | }) at /Users/runner/work/core-components/core-components/packages/core-scroll/core-scroll.spec.ts:142:29
[webkit] › core-scroll/core-scroll.spec.ts:116:7 › initialization › dispatches "scroll.change" onConnected and when children are added/removed: packages/core-scroll/core-scroll.spec.ts#L142
1) [webkit] › core-scroll/core-scroll.spec.ts:116:7 › initialization › dispatches "scroll.change" onConnected and when children are added/removed Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 140 | <div>This is overflowing content</div> 141 | `)) > 142 | expect(numChangeEvents).toBe(1) | ^ 143 | await coreScroll.evaluate(node => node.children[0].remove()) 144 | expect(numChangeEvents).toBe(2) 145 | }) at /Users/runner/work/core-components/core-components/packages/core-scroll/core-scroll.spec.ts:142:29
[chromium] › core-suggest/core-suggest.spec.ts:317:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append: packages/core-suggest/core-suggest.spec.ts#L321
2) [chromium] › core-suggest/core-suggest.spec.ts:317:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append, then clear textContent of aria-live region Error: Timed out 5000ms waiting for expect(received).toHaveText(expected) Expected string: "TEST" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('body > span').filter({ hasNotText: 'outside' }) - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" 319 | await defaultTemplate(page) 320 | await coreSuggest.evaluate((node, text) => node.pushToLiveRegion(text), LIVE_REGION_TEXT) > 321 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText(LIVE_REGION_TEXT) | ^ 322 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText('') 323 | }) 324 | at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:321:76
[firefox] › core-suggest/core-suggest.spec.ts:317:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append: packages/core-suggest/core-suggest.spec.ts#L321
3) [firefox] › core-suggest/core-suggest.spec.ts:317:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append, then clear textContent of aria-live region Error: Timed out 5000ms waiting for expect(received).toHaveText(expected) Expected string: "TEST" Received string: "" Call log: - expect.toHaveText with timeout 5000ms - waiting for locator('body > span').filter({ hasNotText: 'outside' }) - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" - locator resolved to <span aria-live="polite"></span> - unexpected value "" 319 | await defaultTemplate(page) 320 | await coreSuggest.evaluate((node, text) => node.pushToLiveRegion(text), LIVE_REGION_TEXT) > 321 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText(LIVE_REGION_TEXT) | ^ 322 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText('') 323 | }) 324 | at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:321:76
test
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [webkit] › core-scroll/core-scroll.spec.ts:116:7 › initialization › dispatches "scroll.change" onConnected and when children are added/removed 2 flaky [chromium] › core-suggest/core-suggest.spec.ts:317:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append, then clear textContent of aria-live region [firefox] › core-suggest/core-suggest.spec.ts:317:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append, then clear textContent of aria-live region 4 skipped 326 passed (3.6m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.64 MB