Testing is done with cypress & cucumber.
This will run cypress and exit with either 0 or 1
This will open the cypress gui, which is useful for writing tests
Recording videos and taking screenshots
yarn cypress:run, by default no video is recorded and no
screenshot will be taken.
- Recording videos can be enabled by supplying the
- Taking screenshots can be enabled by supplying the
Storybook stories for testing
Sometimes it's required to add stateful stories to test certain behavior.
That's why you can add files with the following file name format:
These stories will not be used when generating the docs storybook and can
contain more sophisticated scenarios for testing.