Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revisit Storybook interaction test runners #106

Open
2 tasks
danielnaab opened this issue Apr 15, 2024 · 0 comments
Open
2 tasks

Revisit Storybook interaction test runners #106

danielnaab opened this issue Apr 15, 2024 · 0 comments

Comments

@danielnaab
Copy link
Collaborator

danielnaab commented Apr 15, 2024

As a project stakeholder, I would like the UI tests to be as useful as possible, while maintaining good DX.

Context: Storybook interaction tests are being used, in a preliminary way, for UI interactions. These tests are orchestrated via a helper that wraps interaction tests with vitest specs, running via JSDOM. This is great, in that we can run the tests fast in watch mode, along-side the rest of the tests in the repository. However, JSDOM is not complete, and some UI tests are not feasible with it. One such example is tests of drag-and-drop behavior in the form manager. Consider: is there a way to continue to get good DX with test suite integration, but utilizing Playwright or another approach?

Acceptance criteria:

  • DnD and other JSDOM-incompatible behavior has automated coverage
  • Testing approach is documented in appropriate ADRs and READMEs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant