lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Add functional tests to `storybook`

Open bafonins opened this issue 5 years ago • 0 comments

Summary

We should look into ways to catch regressions in pkg/components in CI.

Why do we need this?

  1. Make sure that storybook is up to date with the latest pkg/components and pkg/lib changes.
  2. Catch errors, warnings in storybook in CI
  3. Integrate cypress to run functional tests on various setups of pkg/components
  4. Catch pkg/components pkg/lib regressions

What is already there? What do you see now?

  1. Just storybook with various components.
  2. cypress e2e tests
  3. unit tests for utilities

What is missing? What do you want to see?

  1. storybook integrated into CI pipeline
  2. cypress tests integrated into storybook

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

bafonins avatar Nov 16 '20 08:11 bafonins