Skip to content

v1.0.1

v1.0.1 #288

Triggered via push October 30, 2024 18:30
Status Success
Total duration 1m 49s
Artifacts 1

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
[webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value: test/item.test.ts#L1
1) [webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value Test timeout of 5000ms exceeded.
[webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value: test/item.test.ts#L68
1) [webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value Error: expect(locator).toHaveCount(expected) Locator: locator('[cmdk-item]') Expected: 0 Received: 2 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('[cmdk-item]') - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 66 | const button = page.locator(`data-testid=increment`) 67 | await button.click() > 68 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(0) | ^ 69 | await button.click() 70 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(2) 71 | }) at /home/runner/work/cmdk/cmdk/test/item.test.ts:68:47
[webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L1
2) [webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ──────────────────── Test timeout of 5000ms exceeded.
[webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L121
2) [webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ──────────────────── Error: expect(locator).toHaveAttribute(expected) Locator: locator('[cmdk-item][aria-selected="true"]') Expected string: "first" Received string: "A" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('[cmdk-item][aria-selected="true"]') - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" - locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div> - unexpected value "A" 119 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first') 120 | await page.locator(`[cmdk-input]`).press('Control+n') > 121 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first') | ^ 122 | await page.locator(`[cmdk-input]`).press('Control+p') 123 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first') 124 | }) at /home/runner/work/cmdk/cmdk/test/keybind.test.ts:121:69
[webkit] › props.test.ts:11:7 › props › results match against custom filter: test/props.test.ts#L14
3) [webkit] › props.test.ts:11:7 › props › results match against custom filter ─────────────────── Error: expect.toHaveAttribute: Error: strict mode violation: locator('[cmdk-item]') resolved to 2 elements: 1) <div cmdk-item="" role="option" id="radix-:Rqqm:" ari…>ant</div> aka getByLabel('Suggestions').getByText('ant', { exact: true }) 2) <div cmdk-item="" role="option" id="radix-:R1aqm:" ar…>anteater</div> aka getByText('anteater') Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('[cmdk-item]') 12 | await page.goto('/props?customFilter=true') 13 | await page.locator(`[cmdk-input]`).type(`ant`) > 14 | await expect(page.locator(`[cmdk-item]`)).toHaveAttribute('data-value', 'ant') | ^ 15 | }) 16 | 17 | test('controlled value', async ({ page }) => { at /home/runner/work/cmdk/cmdk/test/props.test.ts:14:47
🎭 Playwright Run Summary
3 flaky [webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value [webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ───────────────────── [webkit] › props.test.ts:11:7 › props › results match against custom filter ──────────────────── 38 passed (35.4s)

Artifacts

Produced during runtime
Name Size
playwright-report
4.92 KB