Skip to content

v1.0

v1.0 #6317

Triggered via pull request February 11, 2025 21:28
@segunadebayosegunadebayo
synchronize #2233
v1
Status Cancelled
Total duration 21m 50s
Artifacts

quality.yml

on: pull_request
Matrix: End-to-end Tests
Fit to window
Zoom out
Zoom in

Annotations

68 errors and 3 notices
packages/core/tests/action-utils.test.ts: packages/core/tests/action-utils.test.ts#L4
TypeError: Cannot destructure property 'not' of 'guards' as it is undefined. ❯ packages/core/tests/action-utils.test.ts:4:9
packages/core/tests/actions.test.ts > exit actions should be called when stopping a machine: packages/core/tests/actions.test.ts#L46
TypeError: machine.start is not a function ❯ packages/core/tests/actions.test.ts:46:11
packages/core/tests/after.test.ts > after.test.ts > should transition after delay: packages/core/tests/after.test.ts#L38
TypeError: lightMachine.start is not a function ❯ packages/core/tests/after.test.ts:38:35
packages/core/tests/after.test.ts > after.test.ts > should invoke after transition after evaluating transition: packages/core/tests/after.test.ts#L89
TypeError: machine.start is not a function ❯ packages/core/tests/after.test.ts:89:13
packages/core/tests/after.test.ts > after.test.ts > should evaluate the expression (string) to determine the delay: packages/core/tests/after.test.ts#L125
TypeError: machine.start is not a function ❯ packages/core/tests/after.test.ts:125:27
packages/core/tests/after.test.ts > after.test.ts > should evaluate the expression (function) to determine the delay: packages/core/tests/after.test.ts#L171
TypeError: machine.start is not a function ❯ packages/core/tests/after.test.ts:171:27
packages/core/tests/context-watch.test.ts > context watchers > should watch single key: packages/core/tests/context-watch.test.ts#L32
TypeError: machine.start is not a function ❯ packages/core/tests/context-watch.test.ts:32:13
packages/core/tests/context-watch.test.ts > context watchers > should watch multiple keys: packages/core/tests/context-watch.test.ts#L71
TypeError: machine.start is not a function ❯ packages/core/tests/context-watch.test.ts:71:13
packages/core/tests/delayed-transitions.test.ts > should trigger every actions > with array notation: packages/core/tests/delayed-transitions.test.ts#L31
TypeError: counter.start is not a function ❯ packages/core/tests/delayed-transitions.test.ts:31:13
TypeScript
Module '"../src"' has no exported member 'choose'.
TypeScript
Module '"../src"' has no exported member 'guards'.
TypeScript
Type 'Mock<Procedure>' is missing the following properties from type '(string | undefined)[]': pop, push, concat, join, and 34 more.
TypeScript
Type 'Mock<Procedure>' is missing the following properties from type '(string | undefined)[]': pop, push, concat, join, and 34 more.
TypeScript
Property 'onDone' does not exist on type 'MachineConfig<BaseSchema>'.
TypeScript
Type 'Mock<Procedure>' is missing the following properties from type '(string | undefined)[]': pop, push, concat, join, and 34 more.
TypeScript
Type 'Mock<Procedure>' is missing the following properties from type '(string | undefined)[]': pop, push, concat, join, and 34 more.
TypeScript
Property 'start' does not exist on type 'MachineConfig<BaseSchema>'.
TypeScript
Object literal may only specify known properties, and 'canTurnGreen' does not exist in type '(params: ContextParams<BaseSchema>) => {}'.
TypeScript
Object literal may only specify known properties, and 'after' does not exist in type '{ tags?: (string | undefined)[]; entry?: (string | undefined)[]; exit?: (string | undefined)[]; effects?: (string | undefined)[]; on?: {}; }'.
color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color: e2e/models/color-picker.model.ts#L77
1) color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color ──────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(0, 100%, 50%, 0.3)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:37:13
color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color: e2e/models/color-picker.model.ts#L77
1) color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color ──────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(0, 100%, 50%, 0.3)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:37:13
color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color: e2e/models/color-picker.model.ts#L77
1) color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color ──────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(0, 100%, 50%, 0.3)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:37:13
color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch: e2e/models/color-picker.model.ts#L65
2) color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch ─────────── Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[data-part=control] [data-channel=hex]') Expected string: "#F47373" Received string: "#FF0000" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('[data-part=control] [data-channel=hex]') 14 × locator resolved to <input min="0" step="1" dir="ltr" type="text" max="16777215" value="#FF0000" aria-label="hex" data-channel="hex" spellcheck="false" autocomplete="off" data-scope="color-picker" data-part="channel-input"/> - unexpected value "#FF0000" at models/color-picker.model.ts:65 63 | 64 | seeHexInputHasValue(value: string) { > 65 | return expect(this.hexInput).toHaveValue(value) | ^ 66 | } 67 | 68 | typeInAlphaInput(value: string) { at ColorPickerModel.seeHexInputHasValue (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:65:34) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:72:13
color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch: e2e/models/color-picker.model.ts#L65
2) color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[data-part=control] [data-channel=hex]') Expected string: "#F47373" Received string: "#FF0000" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('[data-part=control] [data-channel=hex]') 14 × locator resolved to <input min="0" step="1" dir="ltr" type="text" max="16777215" value="#FF0000" aria-label="hex" data-channel="hex" spellcheck="false" autocomplete="off" data-scope="color-picker" data-part="channel-input"/> - unexpected value "#FF0000" at models/color-picker.model.ts:65 63 | 64 | seeHexInputHasValue(value: string) { > 65 | return expect(this.hexInput).toHaveValue(value) | ^ 66 | } 67 | 68 | typeInAlphaInput(value: string) { at ColorPickerModel.seeHexInputHasValue (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:65:34) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:72:13
color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch: e2e/models/color-picker.model.ts#L65
2) color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('[data-part=control] [data-channel=hex]') Expected string: "#F47373" Received string: "#FF0000" Call log: - expect.toHaveValue with timeout 10000ms - waiting for locator('[data-part=control] [data-channel=hex]') 14 × locator resolved to <input min="0" step="1" dir="ltr" type="text" max="16777215" value="#FF0000" aria-label="hex" data-channel="hex" spellcheck="false" autocomplete="off" data-scope="color-picker" data-part="channel-input"/> - unexpected value "#FF0000" at models/color-picker.model.ts:65 63 | 64 | seeHexInputHasValue(value: string) { > 65 | return expect(this.hexInput).toHaveValue(value) | ^ 66 | } 67 | 68 | typeInAlphaInput(value: string) { at ColorPickerModel.seeHexInputHasValue (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:65:34) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:72:13
color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar: e2e/models/color-picker.model.ts#L77
3) color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(180, 100%, 50%, 1)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:113:13
color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar: e2e/models/color-picker.model.ts#L77
3) color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(180, 100%, 50%, 1)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:113:13
color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar: e2e/models/color-picker.model.ts#L77
3) color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(180, 100%, 50%, 1)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:113:13
color-picker.e2e.ts:116:7 › color-picker › [slider] should change alpha when clicking the alpha bar: e2e/models/color-picker.model.ts#L77
4) color-picker.e2e.ts:116:7 › color-picker › [slider] should change alpha when clicking the alpha bar Error: Timed out 10000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('value-text').first() Expected string: "hsla(0, 100%, 50%, 0.5)" Received string: "hsla(0, 100%, 50%, 1)" Call log: - expect.toContainText with timeout 10000ms - waiting for getByTestId('value-text').first() 14 × locator resolved to <span data-testid="value-text">hsla(0, 100%, 50%, 1)</span> - unexpected value "hsla(0, 100%, 50%, 1)" at models/color-picker.model.ts:77 75 | 76 | seeValueText(value: string) { > 77 | return expect(this.valueText).toContainText(value) | ^ 78 | } 79 | 80 | clickTrigger() { at ColorPickerModel.seeValueText (/home/runner/work/zag/zag/e2e/models/color-picker.model.ts:77:35) at /home/runner/work/zag/zag/e2e/color-picker.e2e.ts:119:13
pagination.e2e.ts:11:5 › should have no accessibility violation: e2e/pagination.e2e.ts#L1
1) pagination.e2e.ts:11:5 › should have no accessibility violation ─────────────────────────────── Test timeout of 30000ms exceeded.
pagination.e2e.ts:11:5 › should have no accessibility violation: e2e/_utils.ts#L5
1) pagination.e2e.ts:11:5 › should have no accessibility violation ─────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-part=root]') to be visible at _utils.ts:5 3 | 4 | export async function a11y(page: Page, selector = "[data-part=root]") { > 5 | await page.waitForSelector(selector) | ^ 6 | 7 | const results = await new AxeBuilder({ page: page as any }) 8 | .disableRules(["color-contrast"]) at a11y (/home/runner/work/zag/zag/e2e/_utils.ts:5:14) at PaginationModel.checkAccessibility (/home/runner/work/zag/zag/e2e/models/pagination.model.ts:11:16) at /home/runner/work/zag/zag/e2e/pagination.e2e.ts:12:11
pagination.e2e.ts:11:5 › should have no accessibility violation: e2e/pagination.e2e.ts#L1
1) pagination.e2e.ts:11:5 › should have no accessibility violation ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
pagination.e2e.ts:11:5 › should have no accessibility violation: e2e/_utils.ts#L5
1) pagination.e2e.ts:11:5 › should have no accessibility violation ─────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-part=root]') to be visible at _utils.ts:5 3 | 4 | export async function a11y(page: Page, selector = "[data-part=root]") { > 5 | await page.waitForSelector(selector) | ^ 6 | 7 | const results = await new AxeBuilder({ page: page as any }) 8 | .disableRules(["color-contrast"]) at a11y (/home/runner/work/zag/zag/e2e/_utils.ts:5:14) at PaginationModel.checkAccessibility (/home/runner/work/zag/zag/e2e/models/pagination.model.ts:11:16) at /home/runner/work/zag/zag/e2e/pagination.e2e.ts:12:11
pagination.e2e.ts:11:5 › should have no accessibility violation: e2e/pagination.e2e.ts#L1
1) pagination.e2e.ts:11:5 › should have no accessibility violation ─────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
pagination.e2e.ts:11:5 › should have no accessibility violation: e2e/_utils.ts#L5
1) pagination.e2e.ts:11:5 › should have no accessibility violation ─────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-part=root]') to be visible at _utils.ts:5 3 | 4 | export async function a11y(page: Page, selector = "[data-part=root]") { > 5 | await page.waitForSelector(selector) | ^ 6 | 7 | const results = await new AxeBuilder({ page: page as any }) 8 | .disableRules(["color-contrast"]) at a11y (/home/runner/work/zag/zag/e2e/_utils.ts:5:14) at PaginationModel.checkAccessibility (/home/runner/work/zag/zag/e2e/models/pagination.model.ts:11:16) at /home/runner/work/zag/zag/e2e/pagination.e2e.ts:12:11
pagination.e2e.ts:15:5 › should update page when item is clicked: e2e/pagination.e2e.ts#L1
2) pagination.e2e.ts:15:5 › should update page when item is clicked ────────────────────────────── Test timeout of 30000ms exceeded.
pagination.e2e.ts:15:5 › should update page when item is clicked: e2e/models/pagination.model.ts#L35
2) pagination.e2e.ts:15:5 › should update page when item is clicked ────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-scope=pagination][data-testid=item-2]') at models/pagination.model.ts:35 33 | 34 | clickItem = async (text: string) => { > 35 | await this.getItem(text).click() | ^ 36 | } 37 | 38 | seeItemIsCurrent = async (text: string) => { at PaginationModel.clickItem (/home/runner/work/zag/zag/e2e/models/pagination.model.ts:35:30) at /home/runner/work/zag/zag/e2e/pagination.e2e.ts:16:11
pagination.e2e.ts:15:5 › should update page when item is clicked: e2e/pagination.e2e.ts#L1
2) pagination.e2e.ts:15:5 › should update page when item is clicked ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
pagination.e2e.ts:15:5 › should update page when item is clicked: e2e/models/pagination.model.ts#L35
2) pagination.e2e.ts:15:5 › should update page when item is clicked ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-scope=pagination][data-testid=item-2]') at models/pagination.model.ts:35 33 | 34 | clickItem = async (text: string) => { > 35 | await this.getItem(text).click() | ^ 36 | } 37 | 38 | seeItemIsCurrent = async (text: string) => { at PaginationModel.clickItem (/home/runner/work/zag/zag/e2e/models/pagination.model.ts:35:30) at /home/runner/work/zag/zag/e2e/pagination.e2e.ts:16:11
accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down: e2e/models/accordion.model.ts#L39
1) accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down, focus next trigger Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=home\\:content]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('[data-testid=home\\:content]') 14 × locator resolved to <div hidden="" role="region" data-state="closed" data-scope="accordion" data-part="item-content" data-testid="home:content" data-orientation="vertical" id="accordion::R6m::content:home" aria-labelledby="accordion::R6m::trigger:home">Lorem ipsum dolor sit amet, consectetur adipiscin…</div> - unexpected value "hidden" at models/accordion.model.ts:39 37 | 38 | async seeContent(id: string) { > 39 | await expect(this.getContent(id)).toBeVisible() | ^ 40 | } 41 | 42 | async dontSeeContent(id: string) { at AccordionModel.seeContent (/home/runner/work/zag/zag/e2e/models/accordion.model.ts:39:39) at /home/runner/work/zag/zag/e2e/accordion.e2e.ts:75:15
accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down: e2e/models/accordion.model.ts#L39
1) accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down, focus next trigger Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=home\\:content]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('[data-testid=home\\:content]') 14 × locator resolved to <div hidden="" role="region" data-state="closed" data-scope="accordion" data-part="item-content" data-testid="home:content" data-orientation="vertical" id="accordion::R6m::content:home" aria-labelledby="accordion::R6m::trigger:home">Lorem ipsum dolor sit amet, consectetur adipiscin…</div> - unexpected value "hidden" at models/accordion.model.ts:39 37 | 38 | async seeContent(id: string) { > 39 | await expect(this.getContent(id)).toBeVisible() | ^ 40 | } 41 | 42 | async dontSeeContent(id: string) { at AccordionModel.seeContent (/home/runner/work/zag/zag/e2e/models/accordion.model.ts:39:39) at /home/runner/work/zag/zag/e2e/accordion.e2e.ts:75:15
accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down: e2e/models/accordion.model.ts#L39
1) accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down, focus next trigger Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=home\\:content]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('[data-testid=home\\:content]') 14 × locator resolved to <div hidden="" role="region" data-state="closed" data-scope="accordion" data-part="item-content" data-testid="home:content" data-orientation="vertical" id="accordion::R6m::content:home" aria-labelledby="accordion::R6m::trigger:home">Lorem ipsum dolor sit amet, consectetur adipiscin…</div> - unexpected value "hidden" at models/accordion.model.ts:39 37 | 38 | async seeContent(id: string) { > 39 | await expect(this.getContent(id)).toBeVisible() | ^ 40 | } 41 | 42 | async dontSeeContent(id: string) { at AccordionModel.seeContent (/home/runner/work/zag/zag/e2e/models/accordion.model.ts:39:39) at /home/runner/work/zag/zag/e2e/accordion.e2e.ts:75:15
accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger: e2e/models/accordion.model.ts#L39
2) accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger, should close the previous content Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=home\\:content]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('[data-testid=home\\:content]') 14 × locator resolved to <div hidden="" role="region" data-state="closed" data-scope="accordion" data-part="item-content" data-testid="home:content" data-orientation="vertical" id="accordion::R6m::content:home" aria-labelledby="accordion::R6m::trigger:home">Lorem ipsum dolor sit amet, consectetur adipiscin…</div> - unexpected value "hidden" at models/accordion.model.ts:39 37 | 38 | async seeContent(id: string) { > 39 | await expect(this.getContent(id)).toBeVisible() | ^ 40 | } 41 | 42 | async dontSeeContent(id: string) { at AccordionModel.seeContent (/home/runner/work/zag/zag/e2e/models/accordion.model.ts:39:39) at /home/runner/work/zag/zag/e2e/accordion.e2e.ts:85:15
accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger: e2e/models/accordion.model.ts#L39
2) accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger, should close the previous content Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=home\\:content]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('[data-testid=home\\:content]') 14 × locator resolved to <div hidden="" role="region" data-state="closed" data-scope="accordion" data-part="item-content" data-testid="home:content" data-orientation="vertical" id="accordion::R6m::content:home" aria-labelledby="accordion::R6m::trigger:home">Lorem ipsum dolor sit amet, consectetur adipiscin…</div> - unexpected value "hidden" at models/accordion.model.ts:39 37 | 38 | async seeContent(id: string) { > 39 | await expect(this.getContent(id)).toBeVisible() | ^ 40 | } 41 | 42 | async dontSeeContent(id: string) { at AccordionModel.seeContent (/home/runner/work/zag/zag/e2e/models/accordion.model.ts:39:39) at /home/runner/work/zag/zag/e2e/accordion.e2e.ts:85:15
accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger: e2e/models/accordion.model.ts#L39
2) accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger, should close the previous content Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('[data-testid=home\\:content]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('[data-testid=home\\:content]') 14 × locator resolved to <div hidden="" role="region" data-state="closed" data-scope="accordion" data-part="item-content" data-testid="home:content" data-orientation="vertical" id="accordion::R6m::content:home" aria-labelledby="accordion::R6m::trigger:home">Lorem ipsum dolor sit amet, consectetur adipiscin…</div> - unexpected value "hidden" at models/accordion.model.ts:39 37 | 38 | async seeContent(id: string) { > 39 | await expect(this.getContent(id)).toBeVisible() | ^ 40 | } 41 | 42 | async dontSeeContent(id: string) { at AccordionModel.seeContent (/home/runner/work/zag/zag/e2e/models/accordion.model.ts:39:39) at /home/runner/work/zag/zag/e2e/accordion.e2e.ts:85:15
carousel.e2e.ts:12:7 › carousel › should have no accessibility violations: e2e/carousel.e2e.ts#L1
3) carousel.e2e.ts:12:7 › carousel › should have no accessibility violations ───────────────────── Test timeout of 30000ms exceeded.
carousel.e2e.ts:12:7 › carousel › should have no accessibility violations: e2e/_utils.ts#L5
3) carousel.e2e.ts:12:7 › carousel › should have no accessibility violations ───────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-part=root]') to be visible at _utils.ts:5 3 | 4 | export async function a11y(page: Page, selector = "[data-part=root]") { > 5 | await page.waitForSelector(selector) | ^ 6 | 7 | const results = await new AxeBuilder({ page: page as any }) 8 | .disableRules(["color-contrast"]) at a11y (/home/runner/work/zag/zag/e2e/_utils.ts:5:14) at CarouselModel.checkAccessibility (/home/runner/work/zag/zag/e2e/models/carousel.model.ts:15:16) at /home/runner/work/zag/zag/e2e/carousel.e2e.ts:13:13
carousel.e2e.ts:12:7 › carousel › should have no accessibility violations: e2e/carousel.e2e.ts#L1
3) carousel.e2e.ts:12:7 › carousel › should have no accessibility violations ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
carousel.e2e.ts:12:7 › carousel › should have no accessibility violations: e2e/_utils.ts#L5
3) carousel.e2e.ts:12:7 › carousel › should have no accessibility violations ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-part=root]') to be visible at _utils.ts:5 3 | 4 | export async function a11y(page: Page, selector = "[data-part=root]") { > 5 | await page.waitForSelector(selector) | ^ 6 | 7 | const results = await new AxeBuilder({ page: page as any }) 8 | .disableRules(["color-contrast"]) at a11y (/home/runner/work/zag/zag/e2e/_utils.ts:5:14) at CarouselModel.checkAccessibility (/home/runner/work/zag/zag/e2e/models/carousel.model.ts:15:16) at /home/runner/work/zag/zag/e2e/carousel.e2e.ts:13:13
End-to-end Tests (11)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (11)
The operation was canceled.
End-to-end Tests (10)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (10)
The operation was canceled.
End-to-end Tests (7)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (7)
The operation was canceled.
End-to-end Tests (5)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (5)
The operation was canceled.
End-to-end Tests (3)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (3)
The operation was canceled.
End-to-end Tests (8)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (8)
The operation was canceled.
End-to-end Tests (12)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (12)
The operation was canceled.
End-to-end Tests (9)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (9)
The operation was canceled.
End-to-end Tests (4)
Canceling since a higher priority waiting request for 'Quality-refs/pull/2233/merge' exists
End-to-end Tests (4)
The operation was canceled.
🎭 Playwright Run Summary
12 failed color-picker.e2e.ts:34:7 › color-picker › [closed] typing in alpha should update color ───────── color-picker.e2e.ts:69:7 › color-picker › [swatch] should set value on click swatch ──────────── color-picker.e2e.ts:110:7 › color-picker › [slider] should change hue when clicking the hue bar color-picker.e2e.ts:116:7 › color-picker › [slider] should change alpha when clicking the alpha bar combobox.e2e.ts:29:7 › combobox › [keyboard] should open combobox menu when typing ───────────── combobox.e2e.ts:73:7 › combobox › [keyboard / no-loop] on arrow down, open and highlight first enabled option combobox.e2e.ts:129:7 › combobox › [keyboard / arrowdown / loop] ─────────────────────────────── combobox.e2e.ts:139:7 › combobox › [keyboard / arrowdown / no-loop] ──────────────────────────── combobox.e2e.ts:156:7 › combobox › [keyboard / arrowup / no-loop] ────────────────────────────── combobox.e2e.ts:163:7 › combobox › [pointer / open-on-click] ─────────────────────────────────── combobox.e2e.ts:206:7 › combobox › [value] enter reverts the value ───────────────────────────── combobox.e2e.ts:236:7 › combobox / autocomplete › [keyboard / loop] should loop through the options and previous input value 26 passed (7.5m)
🎭 Playwright Run Summary
10 failed pagination.e2e.ts:11:5 › should have no accessibility violation ──────────────────────────────── pagination.e2e.ts:15:5 › should update page when item is clicked ─────────────────────────────── pagination.e2e.ts:22:5 › should update page when next button is clicked ──────────────────────── pagination.e2e.ts:30:5 › should update page when prev button is clicked ──────────────────────── pagination.e2e.ts:40:5 › should call onChange when item is clicked ───────────────────────────── pagination.e2e.ts:45:5 › should call onChange when next button is clicked ────────────────────── pagination.e2e.ts:50:5 › should call onChange when prev button is clicked ────────────────────── pin-input.e2e.ts:30:7 › pin input › on backspace: should clear value and move focus to prev input pin-input.e2e.ts:67:7 › pin input › on paste: should autofill all fields ─────────────────────── pin-input.e2e.ts:82:7 › pin input › on paste: should autofill all fields if focused field is not empty 6 passed (13.3m)
🎭 Playwright Run Summary
13 failed accordion.e2e.ts:65:9 › accordion › multiple / keyboard › [multiple=true] on arrow down, focus next trigger accordion.e2e.ts:78:9 › accordion › multiple / keyboard › clicking another trigger, should close the previous content carousel.e2e.ts:12:7 › carousel › should have no accessibility violations ────────────────────── carousel.e2e.ts:16:7 › carousel › renders correctly ──────────────────────────────────────────── carousel.e2e.ts:24:7 › carousel › next/prev buttons navigate carousel ────────────────────────── carousel.e2e.ts:31:7 › carousel › autoplay start/stop ────────────────────────────────────────── carousel.e2e.ts:47:7 › carousel › clicking indicator scrolls to correct slide ────────────────── carousel.e2e.ts:55:7 › carousel › scroll to a specific index via button ──────────────────────── carousel.e2e.ts:60:7 › carousel › dragging behavior ──────────────────────────────────────────── carousel.e2e.ts:67:7 › carousel › indicator keyboard navigation ──────────────────────────────── carousel.e2e.ts:73:7 › carousel › [loop=true] should loop slides ─────────────────────────────── checkbox.e2e.ts:42:5 › should have disabled attributes when disabled ─────────────────────────── checkbox.e2e.ts:47:5 › should not be focusable when disabled ─────────────────────────────────── 1 skipped 16 passed (15.5m)