Skip to content

Commit

Permalink
📖 Update docs with new visual regression (#288)
Browse files Browse the repository at this point in the history
* 🚜 Move license file

* 📖 Update contribution guide for visual regression
  • Loading branch information
bbody authored Dec 31, 2018
1 parent 14671c9 commit 2362881
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ This guide assumes you are using a command line, if you want to use other tools
9. Once tests pass, I will merge into `development`
10. Then I will merge into `master` with other changes

## Changes to the UI
Visual regression is tested on on Pull Requests, so if any changes are made to
the way the page will look you will need to reset the reference images.

1. Delete the reference images `rm spec-e2e/visual-diffs/reference`
2. Regenerate the reference images `test:e2e:visual_reference`
3. Stage the latest reference images `git add spec-e2e/visual-diffs/reference/*`
4. Commit the latest reference images `git commit -m ":ambulance: Update visual regression reference images"`

## Technologies
Despite CMD-Resume being quite simple there are quite a few packages and tools
which are used to develop, test, build and deploy.
Expand Down
File renamed without changes.
9 changes: 9 additions & 0 deletions docs/CONTRIBUTING.mdpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ This guide assumes you are using a command line, if you want to use other tools
9. Once tests pass, I will merge into `development`
10. Then I will merge into `master` with other changes

## Changes to the UI
Visual regression is tested on on Pull Requests, so if any changes are made to
the way the page will look you will need to reset the reference images.

1. Delete the reference images `rm spec-e2e/visual-diffs/reference`
2. Regenerate the reference images `test:e2e:visual_reference`
3. Stage the latest reference images `git add spec-e2e/visual-diffs/reference/*`
4. Commit the latest reference images `git commit -m ":ambulance: Update visual regression reference images"`

## Technologies
!INCLUDE "docs/partials/TECHNOLOGIES.md"

Expand Down

0 comments on commit 2362881

Please sign in to comment.