Percy Runner
How to use
put the following object inside a projects root or respective extension package.json
. Setup percy.io and connect the project to github. Builds will run on every deployment.
Options
{
"project": "wurm-shopware",
"stage": {
"staging": {
"urls": [
"/",
"/saisonale-deko/",
"/adler-apotheke-bernkastel-porz-b12-x-t15-x-h19-cm/10055366",
"/unternehmen/",
"/kontakt/"
],
"tests": [
"./e2e/test.js"
],
},
"production": {
"urls": [
"/",
"/saisonale-deko/",
"/adler-apotheke-bernkastel-porz-b12-x-t15-x-h19-cm/10055366",
"/unternehmen/",
"/kontakt/"
],
"tests": [
"./e2e/test.js"
],
}
},
"noNetworkIdle": false,
"widths": [480, 768, 1024, 1920],
"minHeight": 2000,
"deviceScaleFactor": 1,
"additionalCSS": "iframe { display: none; }",
"concurrency": 3,
"puppeteer": {
"headless": true,
"args": ["--window-size=1920,1080"],
},
};