2.2.4 • Published 2 years ago

wdio-syngrisi-cucumber-service v2.2.4

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

WDIO Syngrisi Cucumber Service

The service helps integrate WebdriverIO test framework and Syngrisi visual testing tool.

Installation

npm i wdio-syngrisi-cucumber-service

Configuration

In order to use the service with WebdriverIO test runner add these settings to services array:

// wdio.conf.js
export.config = {
    // ...
    services: [
        ['syngrisi-cucumber',
            {
                // syngrisi server endpoint
                endpoint: `http://localhost:3000/`,
                // syngrisi API key
                apikey: process.env['SYNGRISI_API_KEY'] || '',
                // project name
                project: 'My Project',
                // the tested branch
                branch: 'master',
                // run name (will be auto generated if not present)
                runname: process.env['RUN_NAME'],
                // run name (will be auto generated if not present)
                runident: process.env['RUN_IDENT'],
                // tag for visual regression scenarios
                // for all scenarios with this tag the service will create session on syngrisi
                // if tag is empty the visual session will be created for all scenarios
                // tag: '@visual',
                // the scenarios with `excludeTag` tag will be skipped 
                // excludeTag: '@novisual'
            }
        ],
    ],
    // ...
};

Usage

After all the preparations, you can use the browser.syngrisiCheck(checkName, imageBuffer) method in which:

  • checkName - the name of the check in Syngrisi
  • imageBuffer - the screenshot image buffer
2.2.3

2 years ago

2.2.4

2 years ago

2.1.33-alpha.0

2 years ago

2.1.21-alpha.0

2 years ago

2.1.20-alpha.0

2 years ago

2.1.36-alpha.0

2 years ago

2.2.0

2 years ago

2.2.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.1.25-alpha.0

2 years ago

2.1.39-alpha.0

2 years ago

2.1.41-alpha.0

2 years ago

2.1.22-alpha.0

2 years ago

2.1.23-alpha.0

2 years ago

2.1.24-alpha.0

2 years ago

2.1.40-alpha.0

2 years ago

2.1.0-alpha.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.11

3 years ago

1.0.21

3 years ago

1.0.10

4 years ago

1.0.20

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago