This repository is to test if the device passcode is wrokign as expected on the dedicated device on BrowserStack App Automate
- Node.js 8.11.2+
- If you don't have Node installed, download it from here
npm i- Test script is available in
run-sample-testdirectory under examples folder
-
Configure BrowserStack username and accesskey them as environment variables using the below commands.
-
For *nix based and Mac machines:
export BROWSERSTACK_USERNAME=<browserstack-username> &&
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>- For Windows:
set BROWSERSTACK_USERNAME=<browserstack-username>
set BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>- The device config is available in this path examples/run-sample-test/test.conf.js
- Make sure the deviceId field in the
commonCapabilitiessection is accurate
- To run tests, run
npm run test

