docs(combobox): add combobox properties to docs and examples #2339
Annotations
7 errors, 1 warning, and 1 notice
e2e/combobox.e2e.ts#L13
1) combobox.e2e.ts:50:7 › combobox › [typeahead / autohighlight / selection] should open combobox menu when typing
Error: Timed out 10000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]:not([data-disabled])').first()
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
11 |
12 | const expectToBeHighlighted = async (el: Locator) => {
> 13 | await expect(el).toHaveAttribute("data-highlighted", "")
| ^
14 | }
15 |
16 | const expectToBeChecked = async (el: Locator) => {
at expectToBeHighlighted (/home/runner/work/zag/zag/e2e/combobox.e2e.ts:13:20)
at /home/runner/work/zag/zag/e2e/combobox.e2e.ts:55:11
|
e2e/combobox.e2e.ts#L13
1) combobox.e2e.ts:50:7 › combobox › [typeahead / autohighlight / selection] should open combobox menu when typing
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]:not([data-disabled])').first()
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
11 |
12 | const expectToBeHighlighted = async (el: Locator) => {
> 13 | await expect(el).toHaveAttribute("data-highlighted", "")
| ^
14 | }
15 |
16 | const expectToBeChecked = async (el: Locator) => {
at expectToBeHighlighted (/home/runner/work/zag/zag/e2e/combobox.e2e.ts:13:20)
at /home/runner/work/zag/zag/e2e/combobox.e2e.ts:55:11
|
e2e/combobox.e2e.ts#L13
1) combobox.e2e.ts:50:7 › combobox › [typeahead / autohighlight / selection] should open combobox menu when typing
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]:not([data-disabled])').first()
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="CA" data…>Canada</li>
- unexpected value "null"
11 |
12 | const expectToBeHighlighted = async (el: Locator) => {
> 13 | await expect(el).toHaveAttribute("data-highlighted", "")
| ^
14 | }
15 |
16 | const expectToBeChecked = async (el: Locator) => {
at expectToBeHighlighted (/home/runner/work/zag/zag/e2e/combobox.e2e.ts:13:20)
at /home/runner/work/zag/zag/e2e/combobox.e2e.ts:55:11
|
e2e/combobox.e2e.ts#L13
2) combobox.e2e.ts:128:7 › combobox › [keyboard / arrowdown / loop] ──────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]:not([data-disabled])').last()
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
11 |
12 | const expectToBeHighlighted = async (el: Locator) => {
> 13 | await expect(el).toHaveAttribute("data-highlighted", "")
| ^
14 | }
15 |
16 | const expectToBeChecked = async (el: Locator) => {
at expectToBeHighlighted (/home/runner/work/zag/zag/e2e/combobox.e2e.ts:13:20)
at /home/runner/work/zag/zag/e2e/combobox.e2e.ts:135:11
|
e2e/combobox.e2e.ts#L13
2) combobox.e2e.ts:128:7 › combobox › [keyboard / arrowdown / loop] ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]:not([data-disabled])').last()
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
11 |
12 | const expectToBeHighlighted = async (el: Locator) => {
> 13 | await expect(el).toHaveAttribute("data-highlighted", "")
| ^
14 | }
15 |
16 | const expectToBeChecked = async (el: Locator) => {
at expectToBeHighlighted (/home/runner/work/zag/zag/e2e/combobox.e2e.ts:13:20)
at /home/runner/work/zag/zag/e2e/combobox.e2e.ts:135:11
|
e2e/combobox.e2e.ts#L13
2) combobox.e2e.ts:128:7 › combobox › [keyboard / arrowdown / loop] ──────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 10000ms
- waiting for locator('[data-part=item]:not([data-disabled])').last()
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
- locator resolved to <li role="option" tabindex="-1" data-value="MT" data…>Malta</li>
- unexpected value "null"
11 |
12 | const expectToBeHighlighted = async (el: Locator) => {
> 13 | await expect(el).toHaveAttribute("data-highlighted", "")
| ^
14 | }
15 |
16 | const expectToBeChecked = async (el: Locator) => {
at expectToBeHighlighted (/home/runner/work/zag/zag/e2e/combobox.e2e.ts:13:20)
at /home/runner/work/zag/zag/e2e/combobox.e2e.ts:135:11
|
|
combobox.e2e.ts#L1
combobox.e2e.ts took 1.7m
|
|
The logs for this run have expired and are no longer available.
Loading