silverbirder / silver-enigma

this repository is the tool to monitor the visual regression.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

this repository is the tool to monitor the visual regression.

License:MIT License


Languages

Language:JavaScript 94.6%Language:Shell 5.4%