Update package.json scripts to use motion-cmdk #5
Annotations
10 errors, 6 warnings, and 1 notice
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item:
test/keybind.test.ts#L1
1) [webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ─────────
Test timeout of 5000ms exceeded.
|
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item:
test/keybind.test.ts#L9
1) [webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ─────────
Error: expect(locator).toHaveAttribute(expected)
Locator: locator('[cmdk-item][aria-selected="true"]')
Expected string: "first"
Received string: "A"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[cmdk-item][aria-selected="true"]')
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
7 |
8 | test('arrow up/down changes selected item', async ({ page }) => {
> 9 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first')
| ^
10 | await page.locator(`[cmdk-input]`).press('ArrowDown')
11 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'A')
12 | await page.locator(`[cmdk-input]`).press('ArrowUp')
at /home/runner/work/motion-cmdk/motion-cmdk/test/keybind.test.ts:9:69
|
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item:
test/keybind.test.ts#L1
1) [webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 5000ms exceeded.
|
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item:
test/keybind.test.ts#L9
1) [webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveAttribute(expected)
Locator: locator('[cmdk-item][aria-selected="true"]')
Expected string: "first"
Received string: "A"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[cmdk-item][aria-selected="true"]')
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
7 |
8 | test('arrow up/down changes selected item', async ({ page }) => {
> 9 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first')
| ^
10 | await page.locator(`[cmdk-input]`).press('ArrowDown')
11 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'A')
12 | await page.locator(`[cmdk-input]`).press('ArrowUp')
at /home/runner/work/motion-cmdk/motion-cmdk/test/keybind.test.ts:9:69
|
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item:
test/keybind.test.ts#L1
1) [webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 5000ms exceeded.
|
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item:
test/keybind.test.ts#L9
1) [webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveAttribute(expected)
Locator: locator('[cmdk-item][aria-selected="true"]')
Expected string: "first"
Received string: "A"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[cmdk-item][aria-selected="true"]')
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
7 |
8 | test('arrow up/down changes selected item', async ({ page }) => {
> 9 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first')
| ^
10 | await page.locator(`[cmdk-input]`).press('ArrowDown')
11 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'A')
12 | await page.locator(`[cmdk-input]`).press('ArrowUp')
at /home/runner/work/motion-cmdk/motion-cmdk/test/keybind.test.ts:9:69
|
[webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item:
test/keybind.test.ts#L1
2) [webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item
Test timeout of 5000ms exceeded.
|
[webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item:
test/keybind.test.ts#L17
2) [webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item
Error: expect(locator).toHaveAttribute(expected)
Locator: locator('[cmdk-item][aria-selected="true"]')
Expected string: "first"
Received string: "A"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[cmdk-item][aria-selected="true"]')
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
15 |
16 | test('meta arrow up/down goes to first and last item', async ({ page }) => {
> 17 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first')
| ^
18 | await page.locator(`[cmdk-input]`).press('Meta+ArrowDown')
19 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'last')
20 | await page.locator(`[cmdk-input]`).press('Meta+ArrowUp')
at /home/runner/work/motion-cmdk/motion-cmdk/test/keybind.test.ts:17:69
|
[webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item:
test/keybind.test.ts#L1
2) [webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 5000ms exceeded.
|
[webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item:
test/keybind.test.ts#L17
2) [webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveAttribute(expected)
Locator: locator('[cmdk-item][aria-selected="true"]')
Expected string: "first"
Received string: "A"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('[cmdk-item][aria-selected="true"]')
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
- locator resolved to <div cmdk-item="" role="option" data-value="A" id="ra…>A</div>
- unexpected value "A"
15 |
16 | test('meta arrow up/down goes to first and last item', async ({ page }) => {
> 17 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first')
| ^
18 | await page.locator(`[cmdk-input]`).press('Meta+ArrowDown')
19 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'last')
20 | await page.locator(`[cmdk-input]`).press('Meta+ArrowUp')
at /home/runner/work/motion-cmdk/motion-cmdk/test/keybind.test.ts:17:69
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
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] › keybind.test.ts#L1
[webkit] › keybind.test.ts took 2.7m
|
Slow Test:
[webkit] › item.test.ts#L1
[webkit] › item.test.ts took 23.3s
|
Slow Test:
[webkit] › basic.test.ts#L1
[webkit] › basic.test.ts took 20.0s
|
🎭 Playwright Run Summary
11 failed
[webkit] › keybind.test.ts:8:7 › arrow keybinds › arrow up/down changes selected item ──────────
[webkit] › keybind.test.ts:16:7 › arrow keybinds › meta arrow up/down goes to first and last item
[webkit] › keybind.test.ts:24:7 › arrow keybinds › alt arrow up/down goes to next and prev item
[webkit] › keybind.test.ts:42:7 › vim jk keybinds › ctrl j/k changes selected item ─────────────
[webkit] › keybind.test.ts:50:7 › vim jk keybinds › meta ctrl j/k goes to first and last item ──
[webkit] › keybind.test.ts:58:7 › vim jk keybinds › alt ctrl j/k goes to next and prev item ────
[webkit] › keybind.test.ts:76:7 › vim np keybinds › ctrl n/p changes selected item ─────────────
[webkit] › keybind.test.ts:84:7 › vim np keybinds › meta ctrl n/p goes to first and last item ──
[webkit] › keybind.test.ts:92:7 › vim np keybinds › alt ctrl n/p goes to next and prev item ────
[webkit] › keybind.test.ts:110:7 › no-vim keybinds › ctrl j/k does nothing ─────────────────────
[webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ─────────────────────
5 flaky
[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] › item.test.ts:8:7 › item › mounted item matches search ───────────────────────────────
[webkit] › item.test.ts:15:7 › item › mounted item does not match search ───────────────────────
[webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value
25 passed (4.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
172 KB |
|