@applitools/screenshoter

v3.8.38
Applitools universal screenshoter for web and native applications
applitools test automation visual regression automation testing tests screenshots

lint

run --top-level eslint . --ext .js

test

yarn test:it && yarn test:e2e

test:unit

MOCHA_GROUP=unit run --top-level mocha ./test/unit/*.spec.js

test:it

MOCHA_GROUP=it run --top-level mocha ./test/it/*.spec.js

test:e2e

yarn test:e2e:web && yarn test:e2e:android && yarn test:e2e:ios

test:e2e:web

MOCHA_GROUP=web run --top-level mocha ./test/e2e/web/*.spec.js

test:e2e:android

APPLITOOLS_TEST_REMOTE=sauce MOCHA_GROUP=android run --top-level mocha ./test/e2e/android*/*.spec.js --parallel --jobs ${MOCHA_JOBS:-3}

test:e2e:ios

APPLITOOLS_TEST_REMOTE=sauce MOCHA_GROUP=ios run --top-level mocha ./test/e2e/ios*/*.spec.js --parallel --jobs ${MOCHA_JOBS:-4}

setup

yarn setup:web

setup:web

run --top-level browsers:setup

setup:android

echo "setup:android - do nothing"

setup:ios

echo "setup:ios - do nothing"

android:setup

node ./scripts/android-emulator.js

android:shutdown

adb -s emulator-5555 emu kill || true && adb -s emulator-5557 emu kill || true

ios:setup

node ./scripts/ios-simulator.js

appium:setup

mkdir -p ./logs && appium --address 127.0.0.1 --port 4723 --base-path /wd/hub --log-level error:info --log ./logs/appium.log --relaxed-security &
npm i @applitools/screenshoter

Metadata

Downloads