@applitools/eyes-webdriverio

v5.35.0
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(node:14) wdio(node:12) wdio(protocol:cdp) wdio(framework:6) wdio(framework:5)'

version

bongo version --withPendingChanges

gh:publish

gh workflow run publish-webdriverio.yml --ref $(git rev-parse --abbrev-ref HEAD)

preversion

bongo preversion --verifyPendingChanges && 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

gh:test:links

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

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/universal-sdk/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

upgrade:framework

if [ ! -z $APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION ]; then packagejson=`cat package.json`; yarn upgrade --no-lockfile webdriverio@$APPLITOOLS_WEBDRIVERIO_MAJOR_VERSION; echo "$packagejson" > package.json; fi
npm i @applitools/[email protected]

Metadata

Downloads