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

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.