Setup storybook stories and github integration for visual regresion tests
Test the site here
Implementation Changes
Minor change to useExecutionStore and useUserDataStore to allow the value to be mocked in the stories
Shifted the Box wrapper of GraphVisualisation in VisualArea.tsx to GraphVisualisation.tsx to make it easier to export it as a story. (Also felt like it made more sense)
Notes
There is an unknown bug that prevents some emotion style from loading. Have worked around some of the styles by import them manually in global.css however, some styles such as disabled buttons are still missing. Will raise an issue for it.
Tests
The visual testing workflow can be checked in this PR itself
Feature
Implementation Changes
useExecutionStore
anduseUserDataStore
to allow the value to be mocked in the storiesBox
wrapper ofGraphVisualisation
inVisualArea.tsx
toGraphVisualisation.tsx
to make it easier to export it as a story. (Also felt like it made more sense)Notes
global.css
however, some styles such as disabled buttons are still missing. Will raise an issue for it.Tests