@applitools/eyes-webdriverio

v5.52.1
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'

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 wdio run ./test/service/config/basic.config.js --autoCompileOpts.autoCompile=0 && wdio run ./test/service/config/ec.config.js --autoCompileOpts.autoCompile=0

up:framework

echo "$(jq '.devDependencies |= . + (["webdriverio", "@wdio/cli", "@wdio/local-runner", "@wdio/mocha-framework"] | with_entries({key: .value, value: $ENV.APPLITOOLS_FRAMEWORK_VERSION}))' ./package.json)" > ./package.json

test:coverage

APPLITOOLS_SHOW_LOGS=true APPLITOOLS_LOG_FILE="./logs/$(uuidgen).log" 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_FRAMEWORK_PROTOCOL=cdp run test:local
npm i @applitools/[email protected]

Metadata

Downloads

Maintainers

livgerti, shiran.sidis, mmilapp, anandbagmar, dockermaster, mkowalew3382, itaiz134, anastasia.koifman, eirenik0, sergovapplitools, fatihsolhan-applitools, grayscale64, itaibh-applitools, bongo123, aretm_borodavka, netaavivi, applitoolsmustafa, zamboney, benbaba, amit.rokach, shalev.rahamim, eladheller, adamcarmi, amir.groisman, noamshv, natalieapplitools, noam.gaash, igor_kozyrenko_applitools, billy.herrera, giladgd, ran-itzhaki, noam.mendel, gearm, benny.halberstadt, gofilord, alex.burdeynyy, david.haeffner, chaimaharonson, roy.sela, ronikar_applitools, anton-chuev, danielputerman, amitzur, ramapplitools, applitools-admin, applitools-readonly, iasisapp, yotammadem, liranbarokas, itayy.applitools, denis.styrt, kyrylo.onufriiev, amitzur-applitools, yardenw.applitools, ormeda, vgprod, clementbarry, sophieta,