Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prashanth-sams/protractor-cucumber-typescript

Boilerplate Protractor framework for AngularJS projects
https://github.com/prashanth-sams/protractor-cucumber-typescript

angular automation boilerplate-framework cucumber cucumber-framework cucumber-js docker nodejs protractor protractor-cucumber-framework protractor-cucumber-typescript protractor-tests protractor-typescript testing typescript

Last synced: 20 days ago
JSON representation

Boilerplate Protractor framework for AngularJS projects

Awesome Lists containing this project

README

        

# Protractor Cucumber Typescript
> Boilerplate Framework built using `Protractor-Cucumber-Typescript` tools

## Features
- [x] Page Object Pattern
- [x] Hooks
- [x] Parallel testing
- [x] HTML Reporter
- [x] Screenshots on failure
- [x] Loggers
- [x] TS task scheduler
- [x] Slack integration
- [x] Docker integration - Zalenium as a load balancer

## Installation
* Install libraries
```
npm install
npm install -g jake
```

* Webdriver update lets you download the **chrome & gecko driver** binaries locally for you!
```
npm run webdriver-update
```

* Optional - start selenium server manually if you don't set `directConnect: true`
```
npm run webdriver-start
```

## Test Runner

* Clean reports, compile `.ts` to `.js` scripts, and execute tests
```
npm test
```
or
```
bash runner/smoke.sh
```
* Docker Execution

> run tests from local machine
```
docker-compose up --force-recreate
npm test
docker-compose down
```
or
> run tests from docker machine
```
docker-compose up -d --force-recreate
bash docker-executor.sh
docker-compose down
```