3.0.6 • Published 3 years ago
@pixolith/percy-runner v3.0.6
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
{
// percy project name (required)
"project": "wurm-shopware",
// percy stage (required)
"stage": {
// should match the $STAGE var of the deployment
"staging": {
// urls to test (required)
"urls": [
"/",
"/saisonale-deko/",
"/adler-apotheke-bernkastel-porz-b12-x-t15-x-h19-cm/10055366",
"/unternehmen/",
"/kontakt/"
],
// additional tests to be run (via the test interface)
"tests": [
"./e2e/test.js"
],
},
"production": {
"urls": [
"/",
"/saisonale-deko/",
"/adler-apotheke-bernkastel-porz-b12-x-t15-x-h19-cm/10055366",
"/unternehmen/",
"/kontakt/"
],
// additional tests to be run (via the test interface)
"tests": [
"./e2e/test.js"
],
}
},
// the target has always open connections like WS? Set this to true (default = false)
"noNetworkIdle": false,
// screen widths to be snapshotted by percy (required)
"widths": [480, 768, 1024, 1920],
// screen min-height to be applied in snapshots (default)
"minHeight": 2000,
// device scale factor (default)
"deviceScaleFactor": 1,
// add custom css to e.G hide an iframe or layer (css string only) (default = "")
"additionalCSS": "iframe { display: none; }",
// maximum concurrency in snapshotting - usually this is fine (should not exceed 6) (default)
"concurrency": 3,
// options to pass directly to the puppeteer instance (https://github.com/puppeteer/puppeteer/blob/v2.1.1/docs/api.md#puppeteerlaunchoptions) (default)
"puppeteer": {
"headless": true,
"args": ["--window-size=1920,1080"],
},
};
3.0.4
3 years ago
3.0.6
3 years ago
3.0.5
3 years ago
3.0.3
4 years ago
3.0.2
4 years ago
3.0.1
4 years ago
3.0.0
4 years ago
2.1.2
5 years ago
2.1.0
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.0.21
5 years ago
1.0.20
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.11
6 years ago
1.0.12
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.0
6 years ago