turingschool / savile

Turing's Design System
MIT License
1 stars 0 forks source link

Add bin/percy script for generating snapshots #60

Closed tannerwelsh closed 3 years ago

tannerwelsh commented 3 years ago

What does this PR do?

Adds a helper script to allow us to generate snapshots for visual diff testing using Percy.io.

Now when a PR is ready for review, we can run $ ./bin/percy and it will build the site and generate snapshots for us.

Where should the reviewer start?

README

How should this be manually tested?

For an open PR, try running ./bin/percy and check out the snapshots created!

Any background context you want to provide?

What are the relevant tickets?

In Notion.

Screenshots (if appropriate)

Screen Shot 2021-06-04 at 7 31 32 AM

Any other deploy steps?

Nope

tannerwelsh commented 3 years ago

Does this: mean that it also checks what the UI looks like in various browsers?

It sure does!