Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Storybook VRT #207

Merged
merged 1 commit into from
May 15, 2020
Merged

Add Storybook VRT #207

merged 1 commit into from
May 15, 2020

Conversation

drwpow
Copy link
Contributor

@drwpow drwpow commented May 15, 2020

Reason for change

Uses Percy for testing Storybook stories. In the process of getting it set up I noticed a few things:

  • Buttons had borders, incorrect appearance
  • A border was missing on the loading state
  • widths of inputs were off

Also, to get this to work with Percy, I needed to also mock the data rather than use our API. I added a preview mode to the component, similar to our other ones.

Testing

VRT is working again! 🎉

Screen Shot 2020-05-15 at 12 19 25

Checklist

@drwpow drwpow requested a review from a team as a code owner May 15, 2020 17:44
@drwpow drwpow requested review from markjamieson and removed request for a team May 15, 2020 17:44
@drwpow drwpow force-pushed the dangodev/vrt branch 2 times, most recently from ae13295 to 4dd3337 Compare May 15, 2020 17:59
PREVIOUS_SHA: ${{ github.event.before }}
CHANGE_URL: ${{ github.event.compare }}
HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }}
HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m liking Percy better already

@drwpow drwpow merged commit 8db64e4 into master May 15, 2020
@drwpow drwpow deleted the dangodev/vrt branch May 15, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants