Update dependency shiki to v1.1.6 #6586
main.yml
on: pull_request
Install node modules
1m 38s
Matrix: react17
Matrix: test
Test macOS
3m 9s
Matrix: test-chrome
Annotations
6 errors and 1 notice
Build packages
Property 'toHaveFocus' does not exist on type 'Assertion<HTMLElement | null>'.
|
Build packages
Property 'toHaveFocus' does not exist on type 'Assertion<HTMLElement>'.
|
[safari] › examples/combobox-group/test-browser.ts:22:1 › maintain completion string while typing:
examples/combobox-group/test-browser.ts#L25
2) [safari] › examples/combobox-group/test-browser.ts:22:1 › maintain completion string while typing
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByPlaceholder('e.g., Apple')
Expected string: "avocado"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByPlaceholder('e.g., Apple')
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value "av"
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value "av"
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value ""
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value ""
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value ""
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value ""
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value ""
- locator resolved to <input value="" id=":R6dttsta:" role="combobox" class="…/>
- unexpected value ""
23 | await getCombobox(page).click();
24 | await page.keyboard.type("av");
> 25 | await expect(getCombobox(page)).toHaveValue("avocado");
| ^
26 | expect(await getSelectionValue(page)).toBe("ocado");
27 | await page.keyboard.type("o");
28 | await expect(getCombobox(page)).toHaveValue("avocado");
at /Users/runner/work/ariakit/ariakit/examples/combobox-group/test-browser.ts:25:35
|
[safari] › examples/combobox-group/test-browser.ts:40:1 › do not scroll when hovering over an item:
examples/combobox-group/test-browser.ts#L1
3) [safari] › examples/combobox-group/test-browser.ts:40:1 › do not scroll when hovering over an item
Test timeout of 30000ms exceeded.
|
[safari] › examples/combobox-group/test-browser.ts:40:1 › do not scroll when hovering over an item:
examples/combobox-group/test-browser.ts#L42
3) [safari] › examples/combobox-group/test-browser.ts:40:1 › do not scroll when hovering over an item
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('listbox')
40 | test("do not scroll when hovering over an item", async ({ page }) => {
41 | await getCombobox(page).click();
> 42 | await getPopover(page).click({ position: { x: 2, y: 2 } });
| ^
43 | await getPopover(page).evaluate((el) => el.scrollTo({ top: 100 }));
44 | expect(await getPopover(page).evaluate((el) => el.scrollTop)).toBe(100);
45 | await getPopover(page).hover({ position: { x: 40, y: 10 } });
at /Users/runner/work/ariakit/ariakit/examples/combobox-group/test-browser.ts:42:26
|
[safari] › examples/combobox-group/test-browser.ts:49:1 › do not scroll when opening the popover by typing:
examples/combobox-group/test-browser.ts#L53
4) [safari] › examples/combobox-group/test-browser.ts:49:1 › do not scroll when opening the popover by typing
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('listbox')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('listbox')
51 | await page.keyboard.press("Tab");
52 | await page.keyboard.type("a");
> 53 | await expect(getPopover(page)).toBeVisible();
| ^
54 | expect(await page.evaluate(() => window.scrollY)).toBe(100);
55 | });
56 |
at /Users/runner/work/ariakit/ariakit/examples/combobox-group/test-browser.ts:53:34
|
🎭 Playwright Run Summary
4 flaky
[safari] › examples/button/test-safari.ts:7:1 › buton receives focus on click ──────────────────
[safari] › examples/combobox-group/test-browser.ts:22:1 › maintain completion string while typing
[safari] › examples/combobox-group/test-browser.ts:40:1 › do not scroll when hovering over an item
[safari] › examples/combobox-group/test-browser.ts:49:1 › do not scroll when opening the popover by typing
96 passed (1.8m)
|