This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
feat: playwright test migration #47
Annotations
4 errors and 1 notice
test
ENOENT: no such file or directory, open 'playwright-report/results.xml'
|
[chromium] › core-suggest/core-suggest.spec.ts:338:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append:
packages/core-suggest/core-suggest.spec.ts#L342
1) [chromium] › core-suggest/core-suggest.spec.ts:338: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 ""
340 | await defaultTemplate(page)
341 | await coreSuggest.evaluate((node: CoreSuggest, text) => node.pushToLiveRegion(text), LIVE_REGION_TEXT)
> 342 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText(LIVE_REGION_TEXT)
| ^
343 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText('')
344 | })
345 | })
at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:342:76
|
[chromium] › core-suggest/core-suggest.spec.ts:338:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append:
packages/core-suggest/core-suggest.spec.ts#L342
1) [chromium] › core-suggest/core-suggest.spec.ts:338:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append, then clear textContent of aria-live region
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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 ""
340 | await defaultTemplate(page)
341 | await coreSuggest.evaluate((node: CoreSuggest, text) => node.pushToLiveRegion(text), LIVE_REGION_TEXT)
> 342 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText(LIVE_REGION_TEXT)
| ^
343 | await expect(page.locator('body > span', { hasNotText: 'outside' })).toHaveText('')
344 | })
345 | })
at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:342:76
|
test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chromium] › core-suggest/core-suggest.spec.ts:338:9 › core-suggest › aria-live › exposes internal function pushToLiveRegion to append, then clear textContent of aria-live region
7 skipped
325 passed (5.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
61.7 KB |
|