/silver-enigma

this repository is the tool to monitor the visual regression.

Primary LanguageJavaScriptMIT LicenseMIT

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