Skip to content

fix(vue): fix close accordion example #9950

fix(vue): fix close accordion example

fix(vue): fix close accordion example #9950

Triggered via push April 28, 2024 21:58
Status Failure
Total duration 2m 12s
Artifacts

quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Typecheck
@ark-ui/vue#typecheck: command (/home/runner/work/ark/ark/frameworks/vue) /home/runner/.bun/bin/bun run typecheck exited (2)
Typecheck
Process completed with exit code 2.
Tests
@ark-ui/vue#test:ci: command (/home/runner/work/ark/ark/frameworks/vue) /home/runner/.bun/bin/bun run test:ci exited (1)
src/components/toggle-group/tests/toggle-group.test.ts > ToggleGroup > should not loop focus if disabled: frameworks/vue/src/components/toggle-group/tests/toggle-group.test.ts#L74
Error: expect(element).not.toHaveFocus() Received element is focused: <button aria-checked="false" data-focus="" data-orientation="horizontal" data-ownedby="toggle-group:8" data-part="item" data-scope="toggle-group" data-state="off" id="toggle-group:8:a" role="radio" tabindex="0" type="button" >··· A··· </button> Ignored nodes: comments, script, style <html> <head /> <body> <div> <div data-focus="" data-orientation="horizontal" data-part="root" data-scope="toggle-group" id="toggle-group:8" loop="false" role="radiogroup" style="outline: none;" tabindex="0" > <button aria-checked="false" data-focus="" data-orientation="horizontal" data-ownedby="toggle-group:8" data-part="item" data-scope="toggle-group" data-state="off" id="toggle-group:8:a" role="radio" tabindex="0" type="button" > A </button> <button aria-checked="false" data-orientation="horizontal" data-ownedby="toggle-group:8" data-part="item" data-scope="toggle-group" data-state="off" id="toggle-group:8:b" role="radio" tabindex="-1" type="button" > B </button> <button aria-checked="true" data-orientation="horizontal" data-ownedby="toggle-group:8" data-part="item" data-scope="toggle-group" data-state="on" id="toggle-group:8:c" role="radio" tabindex="-1" type="button" > C </button> </div> </div> </body> </html> ❯ src/components/toggle-group/tests/toggle-group.test.ts:74:49 ❯ runWithExpensiveErrorDiagnosticsDisabled ../../node_modules/@testing-library/vue/node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback ../../node_modules/@testing-library/vue/node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback ../../node_modules/@testing-library/vue/node_modules/@testing-library/dom/dist/wait-for.js:118:16
Tests
Process completed with exit code 1.