Setting up Storybook for running your tests
We use Storybook for building and showcasing components, and at the same time, we test it as well.
To set up a storybook for handshake, you can follow the steps mentioned in the Dashboard Setup. and after that.
Please run these commands:npx playwright install --with-deps && npm i @swc/cli @swc/core
npx playwright install --with-deps && npm i @swc/cli @swc/core
npm run storybook for spinning the storybook server
npm run storybook
npm run build-storybook for building the storybook-static
npm run build-storybook
npm run test-storybook for running the component tests
npm run test-storybook
You can explore the rest of the commands inside the package.json file.
package.json
Last updated 1 year ago