update lockfile #282
Annotations
10 errors, 2 warnings, and 1 notice
Run pnpm test || exit 1:
test/basic.test.ts#L4
1) [webkit] › basic.test.ts:8:7 › basic behavior › input props are forwarded ─────────────────────
Test timeout of 5000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe('basic behavior', async () => {
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | await page.goto('/')
6 | })
7 |
at /home/runner/work/cmdk/cmdk/test/basic.test.ts:4:8
|
Run pnpm test || exit 1:
test/basic.test.ts#L1
1) [webkit] › basic.test.ts:8:7 › basic behavior › input props are forwarded ─────────────────────
Error: browserContext.newPage: Test timeout of 5000ms exceeded.
|
Run pnpm test || exit 1:
test/basic.test.ts#L26
2) [webkit] › basic.test.ts:23:7 › basic behavior › item onSelect is called on click ─────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "Item selected"
Received: "[HMR] connected"
24 | const item = page.locator(`[cmdk-item][data-value="Item"]`)
25 | const [message] = await Promise.all([page.waitForEvent('console'), item.click()])
> 26 | expect(message.text()).toEqual('Item selected')
| ^
27 | })
28 |
29 | test('first item is selected by default', async ({ page }) => {
at /home/runner/work/cmdk/cmdk/test/basic.test.ts:26:28
|
Run pnpm test || exit 1:
test/basic.test.ts#L1
3) [webkit] › basic.test.ts:34:7 › basic behavior › first item is selected when search changes ───
Test timeout of 5000ms exceeded.
|
Run pnpm test || exit 1:
test/basic.test.ts#L38
3) [webkit] › basic.test.ts:34:7 › basic behavior › first item is selected when search changes ───
Error: expect(locator).toHaveText(expected)
Locator: locator('[cmdk-item][aria-selected="true"]')
Expected string: "Value"
Received string: "Item"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('[cmdk-item][aria-selected="true"]')
- locator resolved to <div class="item" cmdk-item="" role="option" id="radi…>Item</div>
- unexpected value "Item"
- locator resolved to <div class="item" cmdk-item="" role="option" id="radi…>Item</div>
- unexpected value "Item"
- locator resolved to <div class="item" cmdk-item="" role="option" id="radi…>Item</div>
- unexpected value "Item"
- locator resolved to <div class="item" cmdk-item="" role="option" id="radi…>Item</div>
- unexpected value "Item"
- locator resolved to <div class="item" cmdk-item="" role="option" id="radi…>Item</div>
- unexpected value "Item"
- locator resolved to <div class="item" cmdk-item="" role="option" id="radi…>Item</div>
- unexpected value "Item"
36 | await input.type('x')
37 | const selected = page.locator(`[cmdk-item][aria-selected="true"]`)
> 38 | await expect(selected).toHaveText('Value')
| ^
39 | })
40 |
41 | test('items filter when searching', async ({ page }) => {
at /home/runner/work/cmdk/cmdk/test/basic.test.ts:38:28
|
Run pnpm test || exit 1:
test/basic.test.ts#L1
4) [webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part ────────────
Test timeout of 5000ms exceeded.
|
Run pnpm test || exit 1:
test/basic.test.ts#L72
4) [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
|
Run pnpm test || exit 1:
test/dialog.test.ts#L4
5) [webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal ─────────────────────────────
Test timeout of 5000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe('dialog', async () => {
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | await page.goto('/dialog')
6 | })
7 |
at /home/runner/work/cmdk/cmdk/test/dialog.test.ts:4:8
|
Run pnpm test || exit 1:
test/dialog.test.ts#L1
5) [webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal ─────────────────────────────
Error: browserContext.newPage: Test timeout of 5000ms exceeded.
|
Run pnpm test || exit 1:
test/group.test.ts#L1
6) [webkit] › group.test.ts:14:7 › group › group can be progressively rendered ───────────────────
Test timeout of 5000ms exceeded.
|
Run pnpm test || exit 1:
[webkit] › basic.test.ts#L1
[webkit] › basic.test.ts took 26.1s
|
Run pnpm test || exit 1:
[webkit] › item.test.ts#L1
[webkit] › item.test.ts took 17.0s
|
Run pnpm test || exit 1
9 flaky
[webkit] › basic.test.ts:8:7 › basic behavior › input props are forwarded ──────────────────────
[webkit] › basic.test.ts:23:7 › basic behavior › item onSelect is called on click ──────────────
[webkit] › basic.test.ts:34:7 › basic behavior › first item is selected when search changes ────
[webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part ─────────────
[webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal ──────────────────────────────
[webkit] › group.test.ts:14:7 › group › group can be progressively rendered ────────────────────
[webkit] › item.test.ts:8:7 › item › mounted item matches search ───────────────────────────────
[webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value
[webkit] › props.test.ts:11:7 › props › results match against custom filter ────────────────────
32 passed (55.4s)
|
Loading