1.0.0 • Published 3 years ago

@mate-academy/backstop-config v1.0.0

Weekly downloads
319
License
ISC
Repository
github
Last release
3 years ago

@mate-academy/backstop-config

Link to documentation BackstopJS

Install

npm install --save-dev @mate-academy/backstop-config

Usage

  1. Create file backstopConfig.js
  2. Connect module to file:
        const backstop = require('@mate-academy/backstop-config');
  3. Update the test params in file backstopConfig.js.

Example

viewports: [{
  name: 'custom-size',
  width: 200,
  height: 50,
  }]
scenarios: [{
  ...basicScenario,
  label: 'Elementary test',
  referenceUrl:
    'https://mate-academy.github.io/layout_solutions/hello-world/',
    }]

For more information on how to updated config file, look to the documentation.

Assignment

Config file for BackstopJS. We use it for testing students HTML task.

1.0.0

3 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago