Skip to content

reubenmiller/CodeceptJS-starter

Repository files navigation

Codeceptjs-starter: Getting started

Dependencies

Make sure the following package are already installed or your system.

  1. Java (1.8) (required by selenium)
  2. node js 8.9.x

Installing/Initialising the Project

  1. Run npm install, in the root project folder (after you have cloned the project)

  2. Install selenium standalone server by executing the following command. (Skip step if you are starting selenium manually)

npm run install:selenium
  1. Start the selenium standalone server
npm run start:serverwin

# Or on MacOS
npm run start:serverlinux
  1. Execute the tests
npm run test

Other commands

Internet Explorer Only Tests

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

Chrome Only Tests

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

Run both Chrome and Internet Explorer Tests

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published