@applitools/screenshoter

v3.3.9
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 docker:setup && yarn android:setup && yarn ios:setup && yarn appium:setup

test:it

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

version

bongo version

test:e2e

mocha ./test/e2e/**/*.spec.js --no-timeouts --parallel --jobs ${MOCHA_JOBS:-1}

ios:setup

node ./scripts/ios-simulator.js

setup:ios

yarn ios:setup && yarn appium:setup

setup:web

yarn docker:setup

gh:publish

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

preversion

bongo preversion

postversion

bongo postversion --skip-release-notification

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 &

docker:setup

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

test:e2e:ios

mocha ./test/e2e/ios*/*.spec.js --no-timeouts --parallel --jobs ${MOCHA_JOBS:-1}

test:e2e:web

mocha ./test/e2e/web/*.spec.js --no-timeouts -r @applitools/test-utils/mocha-hooks/docker --parallel --jobs ${MOCHA_JOBS:-15}

android:setup

node ./scripts/android-emulator.js

setup:android

yarn android:setup && yarn appium:setup

docker:teardown

docker-compose down

android:shutdown

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

test:e2e:android

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

Metadata

Downloads