Skip to content

Fix ci

Fix ci #309

Triggered via pull request March 14, 2025 18:22
Status Success
Total duration 1m 55s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 1 notice
test: test/props.test.ts#L14
3) [webkit] › test/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" data-value="ant" id="radix-:Rqqm:" aria-selected="true" data-selected="true" aria-disabled="false" data-disabled="false">ant</div> aka getByRole('option', { name: 'ant', exact: true }) 2) <div cmdk-item="" role="option" id="radix-:R1aqm:" aria-disabled="false" aria-selected="false" data-disabled="false" data-selected="false" data-value="anteater">anteater</div> aka getByRole('option', { name: '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
test: test/item.test.ts#L17
2) [webkit] › test/item.test.ts:15:7 › item › mounted item does not match search ───────────────── Error: expect(locator).toHaveCount(expected) Locator: locator('[cmdk-item]') Expected: 0 Received: 1 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('[cmdk-item]') 8 × locator resolved to 1 element - unexpected value "1" 15 | test('mounted item does not match search', async ({ page }) => { 16 | await page.locator(`[cmdk-input]`).type('z') > 17 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(0) | ^ 18 | await page.locator(`data-testid=mount`).click() 19 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(0) 20 | }) at /home/runner/work/cmdk/cmdk/test/item.test.ts:17:47
test: test/item.test.ts#L0
2) [webkit] › test/item.test.ts:15:7 › item › mounted item does not match search ───────────────── Test timeout of 5000ms exceeded.
test: test/item.test.ts#L10
1) [webkit] › test/item.test.ts:8:7 › item › mounted item matches search ───────────────────────── Error: expect(locator).toHaveCount(expected) Locator: locator('[cmdk-item]') Expected: 0 Received: 1 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('[cmdk-item]') 8 × locator resolved to 1 element - unexpected value "1" 8 | test('mounted item matches search', async ({ page }) => { 9 | await page.locator(`[cmdk-input]`).type('b') > 10 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(0) | ^ 11 | await page.locator(`data-testid=mount`).click() 12 | await expect(page.locator(`[cmdk-item]`)).toHaveText('B') 13 | }) at /home/runner/work/cmdk/cmdk/test/item.test.ts:10:47
test: test/item.test.ts#L0
1) [webkit] › test/item.test.ts:8:7 › item › mounted item matches search ───────────────────────── Test timeout of 5000ms exceeded.
test
Cache not found for keys: node-cache-Linux-x64-pnpm-36b9caa1a3efb3127db44ef537eb0b367546cbb74d0491942deaf84e7f9801e4
test
3 flaky [webkit] › test/item.test.ts:8:7 › item › mounted item matches search ────────────────────────── [webkit] › test/item.test.ts:15:7 › item › mounted item does not match search ────────────────── [webkit] › test/props.test.ts:11:7 › props › results match against custom filter ─────────────── 38 passed (32.3s)

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
205 KB
sha256:4ad57c81c1d67d2bae84af36a02098bcb396a5548021908b4671bc37475b7e98