[Canvas] Add percy snapshot testing for storybook #54149
Labels
Feature:Canvas
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
technical debt
Improvement of the software architecture and operational architecture
Percy has their own Storybook integration to allow easy snapshotting of Storybooks. https://docs.percy.io/docs/storybook
In order to get this working with Canvas, we'd have to generate the static storybook site (which our storybook script is already capable of) and then pass the built statics to the
percy-storybook
tool via the--build_dir=my-static-storybook
command-line option.For future integration with CI/Jenkins, we could add on to the
jenkins_xpack_visual_regression.sh
script that kicks of the Percy snapshotting on x-pack plugins.The text was updated successfully, but these errors were encountered: