Convert accessibility options unit tests to Vue Testing Library #5794#5889
Conversation
- covered all the original tests. - coverage includes user interaction tests.
|
👋 Hi @LightCreator1007, thanks for contributing! For the review process to begin, please verify that the following is satisfied:
Also check that issue requirements are satisfied & you ran Pull requests that don't follow the guidelines will be closed. Reviewer assignment can take up to 2 weeks. |
Summary
vue-testing-library.getByRoleinstead ofgetByTestId).Screencast.From.2026-05-09.20-37-55.mp4
References
Closes #5794
Reviewer guidance
Run
pnpm test channelEdit/components/edit/__tests__/accessibilityOptions.spec.jsto test whether all 10 tests are passing or not.
Note on Tooltips: Tooltip elements currently seem to render as SVGs inside spans . So i thought of falling back to using getByTestId for the tooltip assertions.
AI usage
Code was adjusted, troubleshot and tested for bugs iteratively in collaboration with gemini and claude. Reviewed and audited to the best of my abilites to ensure integrity and correctness of code.