Skip to content

[Docs]: It's unclear that addon-a11y + addon-vitest requires additional setup in vitest.setup.ts #31700

Open
@jghelani-hl

Description

@jghelani-hl

Describe the bug

When i try and run the components tests in the browser with accessibility selected, it doesn't give me results or warnings or errors. The status circle just says : Run tests to see accessibility results even though I have run it multiple times. There are no other errors in the CLI or console

Image

Reproduction link

https://github.com/jghelani-hl/sb-9-migration-test

Reproduction steps

  1. Clone repo
  2. Run yarn run storybook
  3. Run component tests with accessibility enabled
  4. Notice no status results

System

System:
    OS: Windows 11 10.0.26100
    CPU: (22) x64 Intel(R) Core(TM) Ultra 7 165H
  Binaries:
    Node: 22.9.0 - ~\AppData\Local\Temp\xfs-065d40a2\node.CMD
    Yarn: 4.5.1 - ~\AppData\Local\Temp\xfs-065d40a2\yarn.CMD <----- active
    npm: 11.2.0 - C:\nvm4w\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (134.0.3124.93)

Additional context

I am using yarn pnp but this happens on npm too

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions