Skip to content

Fix forceMount too many rerenders (#143) #180

Fix forceMount too many rerenders (#143)

Fix forceMount too many rerenders (#143) #180

Triggered via push January 30, 2024 03:45
Status Success
Total duration 1m 33s
Artifacts 1

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 2 warnings, and 1 notice
[webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L1
1) [webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ──────────────────── Test timeout of 5000ms exceeded.
[webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing: test/keybind.test.ts#L121
1) [webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ──────────────────── 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 id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator resolved to <div id=":R6pam:" cmdk-item="" role="option" data-val…>A</div> - unexpected value "a" - locator 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] › props.test.ts:11:7 › props › results match against custom filter: test/props.test.ts#L14
2) [webkit] › props.test.ts:11:7 › props › results match against custom filter ─────────────────── Error: expect.toHaveAttribute: Error: strict mode violation: locator('[cmdk-item]') resolved to 2 elements: 1) <div id=":Rqqm:" cmdk-item="" role="option" data-valu…>ant</div> aka getByRole('option', { name: 'ant', exact: true }) 2) <div id=":R1aqm:" cmdk-item="" role="option" data-val…>anteater</div> aka getByRole('option', { name: 'anteater' }) Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('[cmdk-item]') 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 /home/runner/work/cmdk/cmdk/test/props.test.ts:14:47
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/
🎭 Playwright Run Summary
2 flaky [webkit] › keybind.test.ts:118:7 › no-vim keybinds › ctrl n/p does nothing ───────────────────── [webkit] › props.test.ts:11:7 › props › results match against custom filter ──────────────────── 38 passed (31.9s)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
54.3 KB