You will need the following applications:
- Node.js
- npm
- selenium-webdriver
- chromedriver
- docker
verify if you have node and npm
node -v
npm -v
If you don't have node and npm install it first.
Note: Install npm inside your folder.
npm install -g
npm init -y
npm install selenium-webdriver chromedriver
After you have Docker:
- Download open cart repository
- Unzip open cart folder
- Launch Docker
- Open terminal of open cart repository
- In the terminal of the file containing the open cart source files, run:
docker-compose up -d - Launch Localhost
Run testAll.bat in terminal
Tests/testAll.bat