This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
feat: playwright test migration #26
Annotations
10 errors and 1 notice
packages/core-suggest/core-suggest.spec.ts#L73
1) [firefox] › core-suggest/core-suggest.spec.ts:60:7 › core-suggest › does not open suggestions on clicking a disabled input
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-suggest')
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtuea98o8" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
71 | await coreSuggestInput.click({ force: true })
72 | await expect(coreSuggestInput).toHaveAttribute('aria-expanded', 'false')
> 73 | await expect(coreSuggest).toHaveJSProperty('hidden', true)
| ^
74 | })
75 |
76 | test('closes suggestions on click outside', async ({ page }) => {
at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:73:31
|
packages/core-suggest/core-suggest.spec.ts#L73
1) [firefox] › core-suggest/core-suggest.spec.ts:60:7 › core-suggest › does not open suggestions on clicking a disabled input
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-suggest')
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
- locator resolved to <core-suggest id="lldtulmk2sh" data-testid="core-suggest">…</core-suggest>
- unexpected value "false"
71 | await coreSuggestInput.click({ force: true })
72 | await expect(coreSuggestInput).toHaveAttribute('aria-expanded', 'false')
> 73 | await expect(coreSuggest).toHaveJSProperty('hidden', true)
| ^
74 | })
75 |
76 | test('closes suggestions on click outside', async ({ page }) => {
at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:73:31
|
packages/core-suggest/core-suggest.spec.ts#L1
2) [firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
Test timeout of 30000ms exceeded.
|
packages/core-suggest/core-suggest.spec.ts#L260
2) [firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
Error: page.waitForRequest: Page closed
=========================== logs ===========================
waiting for request "http://foo/"
============================================================
258 | })
259 | await coreSuggestInput.fill('abc')
> 260 | await page.waitForRequest(TEST_BAD_URL)
| ^
261 | await page.waitForFunction(() => window.captureErrorEvent)
262 | await expect(ajaxErrorEvents).toHaveLength(1)
263 | // TODO: Assert errorResponse message
at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:260:16
|
packages/core-suggest/core-suggest.spec.ts#L1
2) [firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
Pending operations:
- page.close at packages/core-suggest/core-suggest.spec.ts:28:10
|
packages/core-suggest/core-suggest.spec.ts#L1
2) [firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
packages/core-suggest/core-suggest.spec.ts#L260
2) [firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForRequest: Page closed
=========================== logs ===========================
waiting for request "http://foo/"
============================================================
258 | })
259 | await coreSuggestInput.fill('abc')
> 260 | await page.waitForRequest(TEST_BAD_URL)
| ^
261 | await page.waitForFunction(() => window.captureErrorEvent)
262 | await expect(ajaxErrorEvents).toHaveLength(1)
263 | // TODO: Assert errorResponse message
at /Users/runner/work/core-components/core-components/packages/core-suggest/core-suggest.spec.ts:260:16
|
packages/core-suggest/core-suggest.spec.ts#L1
2) [firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- page.close at packages/core-suggest/core-suggest.spec.ts:28:10
|
packages/core-toggle/core-toggle.spec.ts#L80
3) [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="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtyvms9ed" 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
|
packages/core-toggle/core-toggle.spec.ts#L80
3) [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="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" aria-labelledby="l…>…</core-toggle>
- unexpected value "false"
- locator resolved to <core-toggle role="group" id="lldtz0xtmdx" 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
|
3 failed
[firefox] › core-suggest/core-suggest.spec.ts:60:7 › core-suggest › does not open suggestions on clicking a disabled input
[firefox] › core-suggest/core-suggest.spec.ts:248:7 › core-suggest › triggers ajax error event on bad url
[webkit] › core-toggle/core-toggle.spec.ts:63:7 › core-toggle › closes nested toggle with esc ──
6 skipped
324 passed (5.5m)
|
The logs for this run have expired and are no longer available.
Loading