Add basic grid component #211
Annotations
10 errors, 3 warnings, and 1 notice
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount:
test/group.test.ts#L1
1) [webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
Test timeout of 1000ms exceeded.
|
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount:
test/group.test.ts#L24
1) [webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
Error: locator.type: Test timeout of 1000ms exceeded.
Call log:
- waiting for locator('[cmdk-input]')
- locator resolved to <input value="" type="text" id=":R4mH2:" cmdk-input="" …/>
- elementHandle.type("Giraffe")
22 | test('mounted group still rendered with filter using forceMount', async ({ page }) => {
23 | await page.locator(`data-testid=forceMount`).click()
> 24 | await page.locator(`[cmdk-input]`).type('Giraffe')
| ^
25 | await expect(page.locator(`[cmdk-group][data-value="Letters"]`)).toBeVisible()
26 | })
27 | })
at /home/runner/work/cmdk/cmdk/test/group.test.ts:24:40
|
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount:
test/group.test.ts#L4
1) [webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 1000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe('group', async () => {
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | await page.goto('/group')
6 | })
7 |
at /home/runner/work/cmdk/cmdk/test/group.test.ts:4:8
|
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount:
test/group.test.ts#L1
1) [webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.newPage: Test ended.
|
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount:
test/group.test.ts#L1
1) [webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 1000ms exceeded.
|
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount:
test/group.test.ts#L24
1) [webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.type: Test timeout of 1000ms exceeded.
Call log:
- waiting for locator('[cmdk-input]')
- locator resolved to <input value="" type="text" id=":R4mH2:" cmdk-input="" …/>
- elementHandle.type("Giraffe")
22 | test('mounted group still rendered with filter using forceMount', async ({ page }) => {
23 | await page.locator(`data-testid=forceMount`).click()
> 24 | await page.locator(`[cmdk-input]`).type('Giraffe')
| ^
25 | await expect(page.locator(`[cmdk-group][data-value="Letters"]`)).toBeVisible()
26 | })
27 | })
at /home/runner/work/cmdk/cmdk/test/group.test.ts:24:40
|
[webkit] › item.test.ts:8:7 › item › mounted item matches search:
test/item.test.ts#L1
2) [webkit] › item.test.ts:8:7 › item › mounted item matches search ──────────────────────────────
Test timeout of 1000ms exceeded.
|
[webkit] › item.test.ts:8:7 › item › mounted item matches search:
test/item.test.ts#L11
2) [webkit] › item.test.ts:8:7 › item › mounted item matches search ──────────────────────────────
Error: locator.click: Test timeout of 1000ms exceeded.
Call log:
- waiting for locator('data-testid=mount')
- locator resolved to <button data-testid="mount">Toggle item B</button>
- attempting click action
- waiting for element to be visible, enabled and stable
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 | })
14 |
at /home/runner/work/cmdk/cmdk/test/item.test.ts:11:45
|
[webkit] › item.test.ts:8:7 › item › mounted item matches search:
test/item.test.ts#L4
2) [webkit] › item.test.ts:8:7 › item › mounted item matches search ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 1000ms exceeded while running "beforeEach" hook.
2 |
3 | test.describe('item', async () => {
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | await page.goto('/item')
6 | })
7 |
at /home/runner/work/cmdk/cmdk/test/item.test.ts:4:8
|
[webkit] › item.test.ts:8:7 › item › mounted item matches search:
test/item.test.ts#L1
2) [webkit] › item.test.ts:8:7 › item › mounted item matches search ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Must start tracing before stopping
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Slow Test:
[webkit] › item.test.ts#L1
[webkit] › item.test.ts took 19.8s
|
🎭 Playwright Run Summary
7 failed
[webkit] › group.test.ts:22:7 › group › mounted group still rendered with filter using forceMount
[webkit] › item.test.ts:8:7 › item › mounted item matches search ───────────────────────────────
[webkit] › item.test.ts:22:7 › item › unmount item that is selected ────────────────────────────
[webkit] › item.test.ts:35:7 › item › mount item that is the only result ───────────────────────
[webkit] › item.test.ts:43:7 › item › selected does not change when mounting new items ─────────
[webkit] › props.test.ts:4:7 › props › results do not change when filtering is disabled ────────
[webkit] › props.test.ts:11:7 › props › results match against custom filter ────────────────────
5 flaky
[webkit] › basic.test.ts:8:7 › basic behavior › input props are forwarded ──────────────────────
[webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal ──────────────────────────────
[webkit] › item.test.ts:51:7 › item › mounted item still rendered with filter usingForceMount ──
[webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ──────────
31 passed (58.4s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
109 KB |
|