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

WIP test: chromatic #473

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Draft

Conversation

Sciator
Copy link
Contributor

@Sciator Sciator commented Feb 10, 2021

Visual testing using chromatic.

Chromatic testing workflow:

  • new item added inside PRs comparing visual changes. (UI Tests)
    image

  • clicking Details for UI Tests item will open chromatic dashboard

    image

  • Dashboard contain all visuals changes, that needs to be reviewd to accept PR.

Integrating chromatic steps

  • Create account on chromatic
  • Add gireffe from github and copy token
  1. Add project -> from github -> select giraffe
  2. inside project click Manage
  3. open tab Configure
  4. copy project token
  • Add chromatic-project-token inside circleCI with key CHROMATIC_PROJECT_TOKEN
  1. go to circleCI of giraffe
  2. open Project Settings
  3. select Environment Variables
  4. add Environment Variable with name CHROMATIC_PROJECT_TOKEN and coppied token as value

TODO:

  • uncoment storybooks
  • modify stories to be testable and be more variable

@Sciator Sciator changed the title test: chromatic WIP test: chromatic Feb 10, 2021
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.

None yet

1 participant