@applitools/eyes-webdriverio

v5.31.1
Applitools Eyes SDK for WebdriverIO
eyes-webdriverio applitools eyes test automation visual regression automation testing tests webdriverio and 1 more...

deps

bongo deps

link

node ../sdk-shared/scripts/link.js

lint

eslint '**/*.js'

test

yarn build:tsconfig && yarn build:dist && yarn test:it && yarn test:service && yarn test:coverage

build

yarn build:tsconfig && yarn build:dist && yarn build:types

setup

yarn docker:setup

render

node ../sdk-shared/scripts/render.js

report

coverage-tests report node_modules/@applitools/sdk-shared/coverage-tests/generic/index.js --name 'eyes.webdriverio.javascript5'

gh:test

gh workflow run test.yml -f sdks='wdio wdio:cdp wdio@6 wdio@5' -f links='eyes-sdk-core eyes-api utils visual-grid-client sdk-shared' -f linking-depth='1'

test:it

mocha --no-timeouts "test/it/*.js"

version

bongo version

build:dist

tsc

gh:publish

gh workflow run publish.yml -f sdks='wdio'

preversion

bongo preversion && yarn build

build:types

api-extractor ./src/index.ts --out ./types/index.d.ts --external-globals WebdriverIO Applitools

postversion

bongo postversion

docker:setup

node ../sdk-shared/src/generate-docker-compose-config.js && docker-compose up -d

test:service

mocha ./test/service/unit/*.spec.js && wdio "test/service/wdio.conf.js" && wdio "test/service/no-config/wdio.no-config.conf.js" && wdio "test/service/vg/wdio.vg.conf.js"

test:coverage

yarn generate:tests && APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-webdriverio-5' APPLITOOLS_BATCH_ID=$(uuidgen) XUNIT_FILE=coverage-test-report.xml mocha --config .mocharc.cvg.js

build:tsconfig

tsconfig.js --once

generate:tests

coverage-tests generate node_modules/@applitools/sdk-shared/coverage-tests/generic/index.js --name 'eyes.webdriverio.javascript5'

docker:teardown

docker-compose down

build:tsconfig:5

APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION=5 tsconfig.js --once

build:tsconfig:6

APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION=6 tsconfig.js --once

test:coverage:wd

APPLITOOLS_WEBDRIVERIO_PROTOCOL=wd yarn test:coverage

test:coverage:cdp

APPLITOOLS_WEBDRIVERIO_PROTOCOL=cdp yarn test:coverage
npm i @applitools/[email protected]

Metadata

Downloads