Public | Automated Build

Last pushed: a year ago
Short Description
Run BackstopJS tests in Ubuntu 14.04 (Trusty) to keep rendering compatible with CircleCI.
Full Description

Backstopjs-trusty

Run your backstopjs scenarios in Ubuntu 14.04 using BackstopJS 2.0.6.

Requirements

  • backstop-start in your package.json scripts. Which is used to start server which is serving files for scenarios.
  • backstop.json in your project.
  • make sure you have all your node dependencies installed locally :)

Globals

Usage

Generate reference images

  • docker run -t atoto/backstopjs-trusty -v $PWD:/app
  • docker run -t atoto/backstopjs-trusty -v $PWD:/app reference -i - generate references in incremental mode

Test against reference images

  • docker run -t atoto/backstopjs-trusty -v $PWD:/app test

Example

Package.json

{
  "scripts": {
    "backstop-start": "npm run build-storybook; http storybook-static -p 6006 &"
  }
}
Docker Pull Command
Owner
atoto
Source Repository

Comments (0)