https://github.com/mateusconstanzo/e2ejs
e2ejs is a testing tool based on Cucumber and Protactor with many predefined steps.
https://github.com/mateusconstanzo/e2ejs
cucumber cucumber-steps protactor selenium typescript
Last synced: 9 months ago
JSON representation
e2ejs is a testing tool based on Cucumber and Protactor with many predefined steps.
- Host: GitHub
- URL: https://github.com/mateusconstanzo/e2ejs
- Owner: mateusconstanzo
- Created: 2018-03-22T00:48:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T13:07:16.000Z (about 8 years ago)
- Last Synced: 2025-08-09T05:21:26.167Z (10 months ago)
- Topics: cucumber, cucumber-steps, protactor, selenium, typescript
- Language: TypeScript
- Homepage:
- Size: 54.7 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# e2ejs
e2ejs is a testing tool based on [Cucumber](https://cucumber.io/) and [Protactor](https://www.protractortest.org/) with many predefined steps.
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Linux Build][travis-image]][travis-url]
## Installation
This is a [Node.js](https://nodejs.org/en/) module available through the [npm registry](https://www.npmjs.com/).
Before installing, [download and install Node.js](https://nodejs.org/en/download/).
Installation is done using the [`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
```bash
$ npm install e2ejs
```
## Features
* Steps predefined
* Ease of setup
* HTML Reports
## Steps
This section contains a list with all predefined steps.
[Full List](STEPS.md)
## Getting Started
### Feture
```cucumber
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
* [Google](./examples/google)
* [Google - MultiBrowser](./examples/google-multibrowser)
* [Step Custom](./examples/step-custom)
* [Steps](./examples/steps)
## Configuration options
```
protractor dist/config.js -- --pathFeature= --feature=
protractor dist/config.js -- --feature=google
protractor dist/config.js -- --pathFeature=/feature --feature=playground,dashboard,...
```
[npm-image]: https://img.shields.io/npm/v/e2ejs.svg
[npm-url]: https://npmjs.org/package/e2ejs
[downloads-image]: https://img.shields.io/npm/dm/e2ejs.svg
[downloads-url]: https://npmjs.org/package/e2ejs
[travis-image]: https://img.shields.io/travis/mateusconstanzo/e2ejs/master.svg?label=linux
[travis-url]: https://travis-ci.org/mateusconstanzo/e2ejs