Skip to content

refactor: don't call created if it doesn't exist #5796

refactor: don't call created if it doesn't exist

refactor: don't call created if it doesn't exist #5796

Triggered via push November 28, 2024 11:42
Status Success
Total duration 2m 27s
Artifacts

quality.yml

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

Annotations

4 errors and 12 notices
menu.e2e.ts:48:7 › menu › with keyboard: e2e/models/menu.model.ts#L63
1) menu.e2e.ts:48:7 › menu › with keyboard, can select item ────────────────────────────────────── 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:52:13
tags-input.e2e.ts:26:7 › tags-input › deletes tag with backspace when input value is empty: e2e/models/tags-input.model.ts#L70
1) tags-input.e2e.ts:26:7 › tags-input › deletes tag with backspace when input value is empty ──── Error: Timed out 10000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('[data-testid=svelte-tag]') Expected string: "" Received string: serializes to the same string Call log: - expect.toHaveAttribute with timeout 10000ms - waiting for locator('[data-testid=svelte-tag]') 14 × locator resolved to <div dir="ltr" data-value="Svelte" data-scope="tags-input" data-testid="svelte-tag" data-part="item-preview" id="tags-input::R6m::tag:Svelte:2">…</div> - unexpected value "null" at models/tags-input.model.ts:70 68 | 69 | async seeTagIsHighlighted(value: string) { > 70 | await expect(this.getTag(value)).toHaveAttribute("data-highlighted", "") | ^ 71 | } 72 | 73 | async seeTag(value: string) { at TagsInputModel.seeTagIsHighlighted (/home/runner/work/zag/zag/e2e/models/tags-input.model.ts:70:38) at /home/runner/work/zag/zag/e2e/tags-input.e2e.ts:30:13
tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key: e2e/models/tags-input.model.ts#L90
2) tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ──────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeFocused() Locator: locator('[data-testid=svelte-input]') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 10000ms - waiting for locator('[data-testid=svelte-input]') 14 × locator resolved to <input value="" dir="ltr" hidden="" tabindex="-1" aria-hidden="true" data-part="item-input" data-scope="tags-input" data-testid="svelte-input" id="tags-input::R6m::tag:Svelte:2:input" aria-label="Editing tag Svelte. Press enter to save or escape to cancel."/> - unexpected value "not focused" at models/tags-input.model.ts:90 88 | 89 | async seeTagInputIsFocused(value: string) { > 90 | await expect(this.getTagInput(value)).toBeFocused() | ^ 91 | } 92 | 93 | async dontSeeTagInput(value: string) { at TagsInputModel.seeTagInputIsFocused (/home/runner/work/zag/zag/e2e/models/tags-input.model.ts:90:43) at /home/runner/work/zag/zag/e2e/tags-input.e2e.ts:124:13
popover.e2e.ts:82:7 › popover › [pointer] when clicking outside: e2e/models/popover.model.ts#L79
1) popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element Error: Timed out 10000ms waiting for expect(locator).toBeFocused() Locator: locator('[data-scope=popover][data-part=trigger]') Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 10000ms - waiting for locator('[data-scope=popover][data-part=trigger]') 14 × locator resolved to <button type="button" data-state="open" data-part="trigger" data-scope="popover" aria-expanded="true" aria-haspopup="dialog" data-placement="bottom" id="popover::R6m::trigger" data-testid="popover-trigger" aria-controls="popover::R6m::content">…</button> - unexpected value "not focused" at models/popover.model.ts:79 77 | 78 | seeTriggerIsFocused() { > 79 | return expect(this.trigger).toBeFocused() | ^ 80 | } 81 | 82 | seeContentIsFocused() { at PopoverModel.seeTriggerIsFocused (/home/runner/work/zag/zag/e2e/models/popover.model.ts:79:33) at /home/runner/work/zag/zag/e2e/popover.e2e.ts:85:13
🎭 Playwright Run Summary
1 skipped 21 passed (30.2s)
🎭 Playwright Run Summary
1 skipped 19 passed (28.9s)
🎭 Playwright Run Summary
26 passed (35.8s)
🎭 Playwright Run Summary
7 passed (17.6s)
🎭 Playwright Run Summary
1 skipped 32 passed (43.4s)
🎭 Playwright Run Summary
1 skipped 30 passed (44.8s)
🎭 Playwright Run Summary
1 flaky menu.e2e.ts:48:7 › menu › with keyboard, can select item ─────────────────────────────────────── 20 passed (51.1s)
🎭 Playwright Run Summary
2 flaky tags-input.e2e.ts:26:7 › tags-input › deletes tag with backspace when input value is empty ───── tags-input.e2e.ts:117:7 › tags-input › edit tag with enter key ───────────────────────────────── 11 skipped 16 passed (51.2s)
🎭 Playwright Run Summary
1 skipped 43 passed (58.2s)
🎭 Playwright Run Summary
2 skipped 29 passed (41.3s)
🎭 Playwright Run Summary
1 flaky popover.e2e.ts:82:7 › popover › [pointer] when clicking outside, should re-focus the button on click non-focusable element 27 passed (48.5s)
🎭 Playwright Run Summary
3 skipped 24 passed (59.5s)