Make sure the following package are already installed or your system.
- Java (1.8) (required by selenium)
- node js 8.9.x
-
Run
npm install
, in the root project folder (after you have cloned the project) -
Install selenium standalone server by executing the following command. (Skip step if you are starting selenium manually)
npm run install:selenium
- Start the selenium standalone server
npm run start:serverwin
# Or on MacOS
npm run start:serverlinux
- Execute the tests
npm run test
Tests that should only be run against Internet Explorer should have the @ie tag in the scenario description.
Run the Internet Explorer only tests using
npm run test:multi_ie
Tests that should only be run against Chrome should have the @chrome tag in the scenario description.
Run the Chrome only tests using
npm run test:multi_chrome
The following command will run both sets of tests at the same time (though the each tests will only be executed as above, however the tests will be run at the same time).
npm run test