Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/prashanth-sams/protractor-cucumber-typescript
- Owner: prashanth-sams
- Created: 2020-11-12T14:40:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T14:12:42.000Z (about 4 years ago)
- Last Synced: 2024-11-02T01:04:01.699Z (2 months ago)
- Topics: angular, automation, boilerplate-framework, cucumber, cucumber-framework, cucumber-js, docker, nodejs, protractor, protractor-cucumber-framework, protractor-cucumber-typescript, protractor-tests, protractor-typescript, testing, typescript
- Language: TypeScript
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```