Hey. BackstopJS has Diverged.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 621
- PR merge metrics
- No merged PRs in 30d
Description
# Diverged
_Please note: This is TOTALLY EXPERIMENTAL. It might not work for you the first time -- or even the second time or maybe it won't ever work! Comments are AWESOME, but please be gentle!_
_and if you didn't read the above disclaimer..._

_And also, for this demo you will need to open two terminal windows -- in one of them we will be running `Backstop Remote`. This is a new feature -- intended for remote control of BackstopJS in the future. This is currently used to support `diverged`._
1) Make sure you have the latest BackstopJS source on your machine.
2) cd into the local backstop project test directory. On my machine, the command looks like this... `cd ~/Development/BackstopJS/test/configs/`
3) Run BackstopJS Remote: `node ../../cli remote`
4) Switch to a new terminal window and get yourself back to that same directory. Again, on my machine it looks like this: `cd ~/Development/BackstopJS/test/configs/`
5) Now go ahead and set up a test baseline. `node ../../cli reference --config=responsiveTest`
6) Ok. Now we are ready. The content file we are testing is here... `../../examples/responsiveDemo/index.html` Add a change to that file. Here is what I did...

7) Now run the test `node ../../cli test --config=responsiveTest`
8) BackstopJS should find the change and create a conventional diff for you. Click on the diff in the report. My diff looks like this...

9) Check out the new option in this view... Click it! (Please give it a few seconds to run)

10) Did it work? Let me know!!! Here is what I get...

Contributor guide
Assessment
This issue has not been assessed yet.