former-kit
former-kit copied to clipboard
Percy exceeds limits
Context
Currently the former-kit visual tests exceed the Percy limit.
Debugging with @rsmelo we noticed that percy always runs all the snapshots, since all the snapshots of the components are kept in a single file.
https://github.com/percy/percy-docs/blob/master/docs/clients/ruby/cli.md#usage
Description
A possible solution is to change the storybook configs to create a different snapshot for each component or story. This way each change will be made in its own snapshot file and Percy will run only the changed files.
Requirements
- [ ] Each story must create your own snapshot.