Skip to content

Instantly share code, notes, and snippets.

@iskhakovan
Last active March 1, 2019 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iskhakovan/76833ff5f56e4ffaf2c03b5bfb2e4518 to your computer and use it in GitHub Desktop.
Save iskhakovan/76833ff5f56e4ffaf2c03b5bfb2e4518 to your computer and use it in GitHub Desktop.
const separatedScenarios = require('./tests/separatedScenarios.js');
const similarScenarios = require('./tests/similarScenarios.js');
const scenarios = separatedScenarios.concat(similarScenarios);
module.exports = {
id: "example_tests",
viewports: [
{
label: "phone",
width: 320,
height: 480
},
{
label: "desktop",
width: 1300,
height: 1080
}
],
onBeforeScript: "puppet/onBefore.js",
onReadyScript: "puppet/onReady.js",
scenarios: scenarios,
paths: {
bitmaps_reference: "backstop_data/bitmaps_reference",
bitmaps_test: "backstop_data/bitmaps_test",
engine_scripts: "backstop_data/engine_scripts",
html_report: "backstop_data/html_report",
ci_report: "backstop_data/ci_report"
},
report: ["browser"],
engine: "puppeteer",
engineOptions: {
args: ["--no-sandbox"]
},
asyncCaptureLimit: 5,
asyncCompareLimit: 50,
debug: false,
debugWindow: false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment