This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
feat: playwright test migration #27
Annotations
3 errors and 1 notice
[webkit] › core-toggle/core-toggle.spec.ts:63:7 › core-toggle › closes nested toggle with esc:
packages/core-toggle/core-toggle.spec.ts#L80
1) [webkit] › core-toggle/core-toggle.spec.ts:63:7 › core-toggle › closes nested toggle with esc ─
Error: Timed out 5000ms waiting for expect(received).toHaveJSProperty(expected) // deep equality
Expected: true
Received: false
Call log:
- expect.toHaveJSProperty with timeout 5000ms
- waiting for getByTestId('core-toggle').locator('core-toggle')
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqrhos89" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
78 | await page.keyboard.press('Escape')
79 | await expect(coreToggle).toHaveJSProperty('hidden', false)
> 80 | await expect(coreToggle.locator('core-toggle')).toHaveJSProperty('hidden', true)
| ^
81 | await page.keyboard.press('Escape')
82 | await expect(coreToggle).toHaveJSProperty('hidden', true)
83 | })
at /Users/runner/work/core-components/core-components/packages/core-toggle/core-toggle.spec.ts:80:53
|
[webkit] › core-toggle/core-toggle.spec.ts:63:7 › core-toggle › closes nested toggle with esc:
packages/core-toggle/core-toggle.spec.ts#L80
1) [webkit] › core-toggle/core-toggle.spec.ts:63:7 › core-toggle › closes nested toggle with esc ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toHaveJSProperty(expected) // deep equality
Expected: true
Received: false
Call log:
- expect.toHaveJSProperty with timeout 5000ms
- waiting for getByTestId('core-toggle').locator('core-toggle')
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="llezqx0hmi6" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
78 | await page.keyboard.press('Escape')
79 | await expect(coreToggle).toHaveJSProperty('hidden', false)
> 80 | await expect(coreToggle.locator('core-toggle')).toHaveJSProperty('hidden', true)
| ^
81 | await page.keyboard.press('Escape')
82 | await expect(coreToggle).toHaveJSProperty('hidden', true)
83 | })
at /Users/runner/work/core-components/core-components/packages/core-toggle/core-toggle.spec.ts:80:53
|
test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[webkit] › core-toggle/core-toggle.spec.ts:63:7 › core-toggle › closes nested toggle with esc ──
6 skipped
326 passed (4.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
1.59 MB |
|