@applitools/eyes-webdriverio

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

lint

run --top-level eslint '**/*.ts'

test

run test:it && run test:service && run test:coverage

build

run --top-level tspc --project tsconfig.build.v$([ ! -z $APPLITOOLS_FRAMEWORK_VERSION ] && echo $APPLITOOLS_FRAMEWORK_VERSION | cut -f1 -d'.' || echo 8).json

setup

run --top-level browsers:setup

test:it

MOCHA_GROUP=it run --top-level mocha './test/it/*.spec.ts' -r @applitools/test-utils/mocha-hooks/docker

test:local

run test:it && run test:service && MOCHA_OMIT_TAGS=sauce run test:coverage

test:sauce

MOCHA_ONLY_TAGS=sauce run test:coverage

test:service

MOCHA_GROUP=service run --top-level mocha './test/service/unit/*.spec.js' && wdio run ./test/service/wdio.conf.js --autoCompileOpts.autoCompile=0 && wdio run ./test/service/no-config/wdio.no-config.conf.js --autoCompileOpts.autoCompile=0 && wdio run ./test/service/vg/wdio.vg.conf.js --autoCompileOpts.autoCompile=0

up:framework

yarn add --dev --caret webdriverio${APPLITOOLS_FRAMEWORK_VERSION:+@$APPLITOOLS_FRAMEWORK_VERSION}

test:coverage

APPLITOOLS_BATCH_NAME='JS Coverage Tests: eyes-webdriverio' APPLITOOLS_BATCH_ID=$(uuidgen) MOCHA_GROUP=coverage run --top-level mocha './test/generated-coverage/*.spec.js' --parallel --jobs ${MOCHA_JOBS:-15} --exit

generate:tests

NODE_OPTIONS='--experimental-import-meta-resolve --experimental-loader=@applitools/generic/dist/code-loader.js' generic ./test/generic/config.mjs

test:local:cdp

APPLITOOLS_WEBDRIVERIO_PROTOCOL=cdp run test:local
npm i @applitools/[email protected]

Metadata

Downloads