chore(deps): update react monorepo to v19 (major) #5896
Annotations
2 errors, 1 warning, and 1 notice
Run tests:
e2e/models/menu.model.ts#L68
1) menu.e2e.ts:16:7 › menu › on arrow up and down, change highlighted item ───────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('[data-part=item]').filter({ hasText: 'Duplicate' })
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]').filter({ hasText: 'Duplicate' })
14 × locator resolved to <li id="duplicate" role="menuitem" data-part="item" data-scope="menu" aria-disabled="false" data-ownedby="menu::R6m::content">Duplicate</li>
- unexpected value "null"
at models/menu.model.ts:68
66 | seeItemIsHighlighted = async (text: string) => {
67 | const item = this.getItem(text)
> 68 | await expect(item).toHaveAttribute("data-highlighted", "")
| ^
69 | }
70 |
71 | dontSeeHighlightedItem = async () => {
at MenuModel.seeItemIsHighlighted (/home/runner/work/zag/zag/e2e/models/menu.model.ts:68:24)
at /home/runner/work/zag/zag/e2e/menu.e2e.ts:19:13
|
Run tests:
e2e/models/menu.model.ts#L63
2) menu.e2e.ts:55:7 › menu › on click outside, close menu ────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('[data-scope=menu][data-part=content]')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 10000ms
- waiting for locator('[data-scope=menu][data-part=content]')
14 × locator resolved to <ul role="menu" tabindex="0" data-scope="menu" data-state="open" data-part="content" id="menu::R6m::content" data-placement="bottom-start" aria-labelledby="menu::R6m::trigger">…</ul>
- unexpected value "visible"
at models/menu.model.ts:63
61 |
62 | dontSeeDropdown = async () => {
> 63 | await expect(this.content).not.toBeVisible()
| ^
64 | }
65 |
66 | seeItemIsHighlighted = async (text: string) => {
at MenuModel.dontSeeDropdown (/home/runner/work/zag/zag/e2e/models/menu.model.ts:63:36)
at /home/runner/work/zag/zag/e2e/menu.e2e.ts:58:13
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests
2 flaky
menu.e2e.ts:16:7 › menu › on arrow up and down, change highlighted item ────────────────────────
menu.e2e.ts:55:7 › menu › on click outside, close menu ─────────────────────────────────────────
19 passed (1.1m)
|
Loading