lorawan-stack
lorawan-stack copied to clipboard
Add functional tests to `storybook`
Summary
We should look into ways to catch regressions in pkg/components in CI.
Why do we need this?
- Make sure that
storybookis up to date with the latestpkg/componentsandpkg/libchanges. - Catch errors, warnings in
storybookin CI - Integrate
cypressto run functional tests on various setups ofpkg/components - Catch
pkg/componentspkg/libregressions
What is already there? What do you see now?
- Just
storybookwith various components. -
cypresse2e tests - unit tests for utilities
What is missing? What do you want to see?
-
storybookintegrated into CI pipeline -
cypresstests integrated intostorybook
Later we can add visual testing using something like Percy.
How do you propose to test this?
CI
Can you do this yourself and submit a Pull Request?
yes