1.1.0 • Published 11 months ago

@mate-academy/backstop-config v1.1.0

Weekly downloads
319
License
ISC
Repository
github
Last release
11 months 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.1.0

11 months ago

1.0.0

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

7 years ago