The Commerce Cloud Endless Aisle app is instrumented to use Appium to run automated tests.
To be able to run Appium to test the app:
git checkout master
. To
ensure you have the most recent updates enter: git
pull
To set up the tests and install Appium:
sudo npm cache clean
-f
sudo npm
install
.sudo npm install mochawesome-screenshots
sudo npm install -g n
sudo n 8.9.3
node -v
You should have 8.9.3 installed.
npm -v
You should have 4.0.0 or above installed.
sudo npm install appium -g
sudo chmod 777 /var/db/lockdown
sudo npm install appium
appium -v
You should have Appium 1.6.3 installed.
sudo chown -R $USER /usr/local
cd
node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/
/usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install carthage
./Scripts/bootstrap.sh -d