bring back use-sync-external-store shim #291
Annotations
10 errors, 1 warning, and 1 notice
[webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results:
test/basic.test.ts#L1
1) [webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results
Test timeout of 5000ms exceeded.
|
[webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results:
test/basic.test.ts#L62
1) [webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results
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"
60 | const input = page.locator('[cmdk-input]')
61 | await input.type('z')
> 62 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(0)
| ^
63 | await expect(page.locator(`[cmdk-empty]`)).toHaveText('No results.')
64 | })
65 |
at /home/runner/work/cmdk/cmdk/test/basic.test.ts:62:47
|
[webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part:
test/basic.test.ts#L1
2) [webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part ────────────
Test timeout of 5000ms exceeded.
|
[webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part:
test/basic.test.ts#L72
2) [webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part ────────────
Error: expect(locator).toHaveCount(expected)
Locator: locator('.item')
Expected: 0
Received: 2
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('.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"
70 | await expect(page.locator(`.item`)).toHaveCount(2)
71 | await page.locator('[cmdk-input]').type('zzzz')
> 72 | await expect(page.locator(`.item`)).toHaveCount(0)
| ^
73 | await expect(page.locator(`.empty`)).toHaveCount(1)
74 | })
75 | })
at /home/runner/work/cmdk/cmdk/test/basic.test.ts:72:41
|
[webkit] › item.test.ts:15:7 › item › mounted item does not match search:
test/item.test.ts#L1
3) [webkit] › item.test.ts:15:7 › item › mounted item does not match search ──────────────────────
Test timeout of 5000ms exceeded.
|
[webkit] › item.test.ts:15:7 › item › mounted item does not match search:
test/item.test.ts#L17
3) [webkit] › 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]')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- 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
|
[webkit] › numeric.test.ts:8:7 › behavior for numeric values › items filter correctly on numeric inputs:
test/numeric.test.ts#L1
4) [webkit] › numeric.test.ts:8:7 › behavior for numeric values › items filter correctly on numeric inputs
Test timeout of 5000ms exceeded.
|
[webkit] › numeric.test.ts:8:7 › behavior for numeric values › items filter correctly on numeric inputs:
test/numeric.test.ts#L13
4) [webkit] › numeric.test.ts:8:7 › behavior for numeric values › items filter correctly on numeric inputs
Error: expect(locator).toHaveCount(expected)
Locator: locator('[cmdk-item][data-value="removed"]')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[cmdk-item][data-value="removed"]')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
11 | const removed = page.locator(`[cmdk-item][data-value="removed"]`)
12 | const remains = page.locator(`[cmdk-item][data-value="foo.bar112.value"]`)
> 13 | await expect(removed).toHaveCount(0)
| ^
14 | await expect(remains).toHaveCount(1)
15 | })
16 |
at /home/runner/work/cmdk/cmdk/test/numeric.test.ts:13:27
|
[webkit] › numeric.test.ts:17:7 › behavior for numeric values › items filter correctly on non-numeric inputs:
test/numeric.test.ts#L1
5) [webkit] › numeric.test.ts:17:7 › behavior for numeric values › items filter correctly on non-numeric inputs
Test timeout of 5000ms exceeded.
|
[webkit] › numeric.test.ts:17:7 › behavior for numeric values › items filter correctly on non-numeric inputs:
test/numeric.test.ts#L22
5) [webkit] › numeric.test.ts:17:7 › behavior for numeric values › items filter correctly on non-numeric inputs
Error: expect(locator).toHaveCount(expected)
Locator: locator('[cmdk-item][data-value="removed"]')
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[cmdk-item][data-value="removed"]')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
20 | const removed = page.locator(`[cmdk-item][data-value="removed"]`)
21 | const remains = page.locator(`[cmdk-item][data-value="foo.bar112.value"]`)
> 22 | await expect(removed).toHaveCount(0)
| ^
23 | await expect(remains).toHaveCount(1)
24 | })
25 | })
at /home/runner/work/cmdk/cmdk/test/numeric.test.ts:22:27
|
Slow Test:
[webkit] › basic.test.ts#L1
[webkit] › basic.test.ts took 20.8s
|
🎭 Playwright Run Summary
6 flaky
[webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results
[webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part ─────────────
[webkit] › item.test.ts:15:7 › item › mounted item does not match search ───────────────────────
[webkit] › numeric.test.ts:8:7 › behavior for numeric values › items filter correctly on numeric inputs
[webkit] › numeric.test.ts:17:7 › behavior for numeric values › items filter correctly on non-numeric inputs
[webkit] › props.test.ts:11:7 › props › results match against custom filter ────────────────────
35 passed (44.8s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
5.33 KB |
|