@applitools/eyes-webdriverio

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

deps

bongo deps

lint

eslint '**/*.ts'

test

yarn test:service && yarn test:coverage

build

ttsc --project tsconfig$([ ! -z $APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION ] && echo .v$APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION).json

setup

yarn docker:setup

report

coverage-tests report https://raw.githubusercontent.com/applitools/sdk.coverage.tests/master/js/config.js --name 'eyes.webdriverio.javascript5'

gh:test

gh workflow run test.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='wdio wdio+cdp wdio@6 wdio@5' -f links='types test-utils sdk-shared eyes-sdk-core visual-grid-client eyes-api spec-driver-webdriverio utils driver snippets screenshoter' -f linking-depth=3

version

bongo version

gh:publish

gh workflow run publish.yml --ref $(git rev-parse --abbrev-ref HEAD) -f packages='wdio'

preversion

bongo preversion && yarn build

postversion

bongo postversion

docker:setup

node ../scripts/scripts/generate-docker-compose-config.js && docker-compose up -d

test:service

mocha ./test/service/unit/*.spec.js && wdio run ./test/service/wdio.conf.js && wdio run ./test/service/no-config/wdio.no-config.conf.js && wdio run ./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

generate:tests

coverage-tests generate https://raw.githubusercontent.com/applitools/sdk.coverage.tests/master/js/config.js --name 'eyes.webdriverio.javascript5'

docker:teardown

docker-compose down

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