3.0.6 • Published 2 years ago

@pixolith/percy-runner v3.0.6

Weekly downloads
76
License
MIT
Repository
github
Last release
2 years ago

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

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.2

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.0

5 years ago