Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Add visual regression testing #282

Open
jamesplease opened this issue Aug 22, 2018 · 0 comments
Open

Add visual regression testing #282

jamesplease opened this issue Aug 22, 2018 · 0 comments
Labels
test Related to unit tests

Comments

@jamesplease
Copy link
Owner

jamesplease commented Aug 22, 2018

Pieces to put together:

  1. Jest
  2. jest-image-snapshot
  3. Puppeteer
  4. Storybook with the UI hidden

I may be underestimating the challenge, but I think that this should be straightforward. The hardest problem I can think of is the npm script that:

  • starts the storybook
  • once it is running, runs the tests
  • shuts the storybook down when the tests are complete
  • fails when the test fails, succeeds when the test succeeds
@jamesplease jamesplease added the test Related to unit tests label Aug 22, 2018
@jamesplease jamesplease changed the title Add snapshot testing Add visual regression testing Aug 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
test Related to unit tests
Projects
None yet
Development

No branches or pull requests

1 participant