Version Packages #5816
Annotations
1 error, 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
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests
1 flaky
menu.e2e.ts:16:7 › menu › on arrow up and down, change highlighted item ────────────────────────
20 passed (51.4s)
|
Loading