Run Nemo scripts on BrowserStack.
git clone https://github.com/browserstack/nemo-browserstack.git
Navigate to appropriate directory for testing and then install the dependencies by running
npm install
Export the environment variables for the username and access key of your BrowserStack account. These can be found on the automate accounts page on BrowserStack
export BROWSERSTACK_USERNAME=<browserstack-username>
export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
- To start a single test run:
npm test
- To start local tests run:
npm run test_local
The Code Generator can come in very handy when specifying the capabilities especially for mobile devices.
Happy Testing!