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

https://github.com/markjsapp/puppeteerframework

A Javascript based automation framework that utilizes Puppeteer's API
https://github.com/markjsapp/puppeteerframework

automation bdd javascript

Last synced: about 2 months ago
JSON representation

A Javascript based automation framework that utilizes Puppeteer's API

Awesome Lists containing this project

README

          

# Puppeteer Framework
This framework utilizies Cucumber/BDD and Google's Puppeteer API. By using Gherkin language we're able to test Amazon.com's search functionalities. Reports are generated via HTML-Reporter and can be configured to auto generate once a test has been completed.

## Automation Running
![](https://thumbs.gfycat.com/ShyVagueBalloonfish-size_restricted.gif)

## Feature File
![featurefile](https://i.imgur.com/Ie2957w.png)

## Running a Puppeteer Test
![testrun](https://i.imgur.com/8zSujWj.png)

## Generating A Report
![report_generation](https://i.imgur.com/O2DxW85.png)

## HTML-Reporter Example
![report](https://i.imgur.com/kzqLd7a.png)

## TODO
- Add visual regression testing via Percy

## Libraries/Tools Used
![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
![Git](https://img.shields.io/badge/git-%23F05033.svg?style=for-the-badge&logo=git&logoColor=white)
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge&logo=visual-studio-code&logoColor=white)
![NPM](https://img.shields.io/badge/NPM-%23000000.svg?style=for-the-badge&logo=npm&logoColor=white)
![Cucumber](https://badgen.net/badge/puppeteer/cucumber/green?icon=chrome)

## Library Documentation
* https://www.npmjs.com/package/puppeteer-cucumber-js
* https://webdriver.io/docs/rpii-wdio-html-reporter/
* https://developers.google.com/web/tools/puppeteer
* https://github.com/puppeteer/puppeteer
* https://cucumber.io/