Run Tests in Appium

You must set up Appium before you can run automated tests.

  1. Run the Commerce Cloud Endless Aisle app in Simulator 10.1.
  2. Quit the simulator.
  3. 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.)
  4. 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.
  5. In the second window, run a test command:
    ./node_modules/mocha/bin/mocha /Users/<yourname>/Documents/Endless-Aisle-Test/tests/EAA_smoke.js

Related Links

Set Up Appium

Modify and Create Automated Tests