Fix unintended double triggering of key bindings during IME composition #339
Annotations
4 errors and 1 notice
|
test/item.test.ts#L68
2) [webkit] › test/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]')
7 × 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
|
|
test/item.test.ts#L0
2) [webkit] › test/item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value
Test timeout of 5000ms exceeded.
|
|
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/item.test.ts#L0
1) [webkit] › test/item.test.ts:8:7 › item › mounted item matches search ─────────────────────────
Test timeout of 5000ms exceeded.
|
|
|
The logs for this run have expired and are no longer available.
Loading