@applitools/screenshoter

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

deps

bongo deps

lint

eslint . --ext .js

test

yarn test:it && yarn test:e2e

setup

yarn setup:web

test:it

mocha ./test/it/*.spec.js --no-timeouts

version

bongo version

test:e2e

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

ios:setup

node ./scripts/ios-simulator.js

setup:ios

echo "setup:ios - do nothing"

setup:web

yarn docker:setup

test:unit

mocha ./test/unit/*.spec.js --no-timeouts

gh:publish

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

preversion

bongo preversion

postversion

bongo postversion --skip-release-notification

test:sanity

yarn test:unit && yarn test:it && yarn test:e2e:web

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 &

docker:setup

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

test:e2e:ios

APPLITOOLS_TEST_REMOTE=sauce mocha ./test/e2e/ios*/*.spec.js --no-timeouts --parallel --jobs ${MOCHA_JOBS:-4}

test:e2e:web

mocha ./test/e2e/web/*.spec.js --no-timeouts -r @applitools/test-utils/mocha-hooks/docker

android:setup

node ./scripts/android-emulator.js

setup:android

echo "setup:android - do nothing"

docker:teardown

docker-compose down

android:shutdown

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

test:e2e:android

APPLITOOLS_TEST_REMOTE=sauce mocha ./test/e2e/android*/*.spec.js --no-timeouts --parallel --jobs ${MOCHA_JOBS:-3}
npm i @applitools/[email protected]

Metadata

Downloads