Skip to content

Add option for disabling vim bindings (#168) #160

Add option for disabling vim bindings (#168)

Add option for disabling vim bindings (#168) #160

Triggered via push August 14, 2023 16:20
Status Success
Total duration 3m 5s
Artifacts 1

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 2 warnings, and 1 notice
[webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L1
1) [webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing ==================== Test timeout of 5000ms exceeded.
[webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L121
1) [webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing ==================== Error: expect(received).toHaveAttribute(expected) Expected string: "first" Received string: "a" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for selector "[cmdk-item][aria-selected="true"]" - selector resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - selector resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - selector resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - selector resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - selector resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - selector resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" 119 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first') 120 | await page.locator(`[cmdk-input]`).press('Control+n') > 121 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first') | ^ 122 | await page.locator(`[cmdk-input]`).press('Control+p') 123 | await expect(page.locator(`[cmdk-item][aria-selected="true"]`)).toHaveAttribute('data-value', 'first') 124 | }) at /home/runner/work/cmdk/cmdk/test/keybind.test.ts:121:69
[webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L1
1) [webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing ==================== Pending operations: - expect.toHaveAttribute at node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/util.js:97:56
[webkit] › props.test.ts:11:3 › props › results match against custom filter: test/props.test.ts#L14
2) [webkit] › props.test.ts:11:3 › props › results match against custom filter =================== expect.toHaveAttribute: Error: strict mode violation: "[cmdk-item]" resolved to 2 elements: 1) <div id=":Rqqm:" cmdk-item="" role="option" data-valu…>ant</div> aka playwright.$("text=ant >> nth=2") 2) <div id=":R1aqm:" cmdk-item="" role="option" data-val…>anteater</div> aka playwright.$("text=anteater") =========================== logs =========================== expect.toHaveAttribute with timeout 5000ms waiting for selector "[cmdk-item]" strict mode violation: "[cmdk-item]" resolved to 2 elements: 1) <div id=":Rqqm:" cmdk-item="" role="option" data-valu…>ant</div> aka playwright.$("text=ant >> nth=2") 2) <div id=":R1aqm:" cmdk-item="" role="option" data-val…>anteater</div> aka playwright.$("text=anteater") ============================================================ 12 | await page.goto('/props?customFilter=true') 13 | await page.locator(`[cmdk-input]`).type(`ant`) > 14 | await expect(page.locator(`[cmdk-item]`)).toHaveAttribute('data-value', 'ant') | ^ 15 | }) 16 | 17 | test('controlled value', async ({ page }) => { at captureStackTrace (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/util.js:97:56) at Object.toMatchText (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/matchers/toMatchText.js:46:68) at Object.toHaveAttribute (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/matchers/matchers.js:161:35) at Proxy.toHaveAttribute (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/expect.js:215:32) at /home/runner/work/cmdk/cmdk/test/props.test.ts:14:47 at /home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/workerRunner.js:397:9 at TestInfoImpl._runFn (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/testInfo.js:170:7) at /home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/workerRunner.js:348:26 at TimeoutManager.runWithTimeout (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/timeoutManager.js:73:7) at TestInfoImpl._runWithTimeout (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/testInfo.js:158:26) at WorkerRunner._runTest (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/workerRunner.js:328:5) at WorkerRunner.runTestGroup (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/workerRunner.js:195:11) at process.<anonymous> (/home/runner/work/cmdk/cmdk/node_modules/.pnpm/@playwright+test@1.24.1/node_modules/@playwright/test/lib/worker.js:88:5)
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 18s
🎭 Playwright Run Summary
2 flaky [webkit] › keybind.test.ts:118:3 › no-vim keybinds › ctrl n/p does nothing ===================== [webkit] › props.test.ts:11:3 › props › results match against custom filter ==================== 38 passed (1m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
43.9 KB