Skip to content

chore(deps): bump the npm_and_yarn group across 3 directories with 2 updates #255

chore(deps): bump the npm_and_yarn group across 3 directories with 2 updates

chore(deps): bump the npm_and_yarn group across 3 directories with 2 updates #255

Triggered via pull request May 10, 2024 01:02
Status Success
Total duration 2m 16s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
[webkit] › basic.test.ts:23:7 › basic behavior › item onSelect is called on click: test/basic.test.ts#L26
1) [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
[webkit] › basic.test.ts:34:7 › basic behavior › first item is selected when search changes: test/basic.test.ts#L1
2) [webkit] › basic.test.ts:34:7 › basic behavior › first item is selected when search changes ─── Test timeout of 5000ms exceeded.
[webkit] › basic.test.ts:34:7 › basic behavior › first item is selected when search changes: test/basic.test.ts#L38
2) [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
[webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results: test/basic.test.ts#L1
3) [webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results Test timeout of 5000ms exceeded.
[webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results: test/basic.test.ts#L62
3) [webkit] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results Error: expect(locator).toHaveCount(expected) Locator: locator('[cmdk-item]') Expected: 0 Received: 2 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('[cmdk-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" 60 | const input = page.locator('[cmdk-input]') 61 | await input.type('z') > 62 | await expect(page.locator(`[cmdk-item]`)).toHaveCount(0) | ^ 63 | await expect(page.locator(`[cmdk-empty]`)).toHaveText('No results.') 64 | }) 65 | at /home/runner/work/cmdk/cmdk/test/basic.test.ts:62:47
[webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part: 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.
[webkit] › basic.test.ts:66:7 › basic behavior › className is applied to each part: 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
[webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal: test/dialog.test.ts#L1
5) [webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal ───────────────────────────── Test timeout of 5000ms exceeded.
[webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal: test/dialog.test.ts#L9
5) [webkit] › dialog.test.ts:8:7 › dialog › dialog renders in portal ───────────────────────────── Error: expect(locator).toHaveCount(expected) Locator: locator('[cmdk-dialog]') Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('[cmdk-dialog]') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" 7 | 8 | test('dialog renders in portal', async ({ page }) => { > 9 | await expect(page.locator(`[cmdk-dialog]`)).toHaveCount(1) | ^ 10 | await expect(page.locator(`[cmdk-overlay]`)).toHaveCount(1) 11 | }) 12 | }) at /home/runner/work/cmdk/cmdk/test/dialog.test.ts:9:49
[webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value: test/item.test.ts#L1
6) [webkit] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value Test timeout of 5000ms exceeded.
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] › basic.test.ts#L1
[webkit] › basic.test.ts took 29.7s
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/
🎭 Playwright Run Summary
6 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] › basic.test.ts:59:7 › basic behavior › empty component renders when there are no results [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] › item.test.ts:63:7 › item advanced › re-rendering re-matches implicit textContent value 35 passed (44.6s)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
65.8 KB