Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 913 Bytes

README.md

File metadata and controls

47 lines (38 loc) · 913 Bytes

silver-enigma

this repository is the tool to monitor the visual regression.

Output

backstopjs

Usage

Prepare

You just write the url you want to monitor in backstop.json (scenarios.url, scenarios.label).

ex.

  "scenarios": [
    {
      "label": "basic",
      "url": "https://www.amazon.co.jp/s?k=github"
    }
  ]

If you want to execute a specific script, add a key and value.

  "scenarios": [
    {
      "label": "basic",
      "url": "https://www.amazon.co.jp/s?k=github",
      "onReadyScript": "puppet/onReadyInSearch.js"
    }
  ]

Test

$ npm install
$ npm run reference
$ npm test

CircleCI

Set environments

  • VCS_TYPE
  • USERNAME
  • CIRCLE_TOKEN

※ check here