You must set up Appium before you can run automated tests.
- Run the Commerce Cloud Endless Aisle app in Simulator 10.1.
- Quit the simulator.
- Open two terminal windows. One window is to start up the Appium
service, the other window is to run the tests. (In the first terminal
window you can type command-N to open a second terminal window.)
- In the first window, enter
appium and press Return. This
command starts the appium service. View the output in this terminal
window to review the console output from the service.
- In the second window, run a test command:
./node_modules/mocha/bin/mocha /Users/<yourname>/Documents/Endless-Aisle-Test/tests/EAA_smoke.js