Combine Storybook snapshots with full page application snapshots #352
-
I'm not sure if this issue is opened in the correct repo but happy to be advised if need be. We have Percy currently setup to snapshot our Storybook integration. This works well but now we also want to snapshot some full pages from our application. To do this we've integrated Cypress into our app and have been experimenting with In isolation To try and figure out a way around this I came across parallel builds which gave me the idea of trying to combine the two snapshotting tasks into a single percy build.
So some questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @patocallaghan! With the new beta Storybook SDK you can combine builds into a single build if you'd like. You would just need to set the
This isn't correct -- if there are two Percy projects, you can link both of those projects to the same GitHub repo (we used to have 5 different Percy projects linked to this Storybook SDK). For example: From there you can mark if those checks are required or not. It's pretty similar to this approach: https://docs.percy.io/docs/multiple-projects-per-repo |
Beta Was this translation helpful? Give feedback.
Hey @patocallaghan! With the new beta Storybook SDK you can combine builds into a single build if you'd like. You would just need to set the
PERCY_PARALLEL_TOTAL
env var for Storybook builds (since there's no--parallel
CLI flag for thestorybook
subcommand). That will put the build into parallel mode and you'll be able to combine any builds together with the sameNONCE
: https://docs.percy.io/docs/parallel-test-suites#advanced-detailsThis isn't correct -- if there are two Percy projects, you can link both of those projects to the same GitHub repo (we used to have 5 different Percy projects linked to this Storybook…