/e2ejs

e2ejs is a testing tool based on Cucumber and Protactor with many predefined steps.

Primary LanguageTypeScript

e2ejs

e2ejs is a testing tool based on Cucumber and Protactor with many predefined steps.

NPM Version NPM Downloads Linux Build

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js.

Installation is done using the npm install command:

$ npm install e2ejs

Features

  • Steps predefined
  • Ease of setup
  • HTML Reports

Steps

This section contains a list with all predefined steps.

Full List

Getting Started

Feture

Feature: Search on Google

Scenario: Search e2ejs
    Then I navigate to "http://www.google.com.br"
    Then I enter "mateusconstanzo/e2ejs" into input field having id "lst-ib"
    Then I wait "1" seconds
    Then I click on element having name "btnK"
    Then I click on link having partial text "GitHub - mateusconstanzo/e2ejs"
    Then I expect to see "mateusconstanzo/e2ejs" on page

Examples

Configuration options


  protractor dist/config.js -- --pathFeature=<feature-path> --feature=<feature-name>

  protractor dist/config.js -- --feature=google

  protractor dist/config.js -- --pathFeature=/feature --feature=playground,dashboard,...