Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/keshavjha06/playwrightframework

This is Boilerplate/Template for Playwright-JavaScript framework for Web-UI, api and Visual testing.
https://github.com/keshavjha06/playwrightframework

allure-reports htmlreport javascript jenkins pageobjectmodel playwright-javascript

Last synced: about 1 month ago
JSON representation

This is Boilerplate/Template for Playwright-JavaScript framework for Web-UI, api and Visual testing.

Awesome Lists containing this project

README

        

# PlaywrightFramework

## Introduction

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.

This Test Automation Framework is created using JavaScript + Playwright + Page Object Model(POM).
Which can be used across different web based applications.It is used to make the code more readable, maintainable and reusable.

## Technologies/Tools used in building the framework

- VS Code - IDE
- Playwright - framework for Web Testing and Automation
- JavaScript - Programming language
- Allure Reports - Reporting framework
- GitHub - Version control
- Jenkins - CI/CD

## Steps to clone execute the tests

`git clone https://github.com/keshavjha06/PlaywrightFramework.git`

`cd PlaywrightFramework`

`npx playwright test`

## Screenshot:

- Take Screenshots On test failures Method will automatically capture & store the screenshots under /playwright-report directory.

## Reporting:

- The framework produce index.html report. It resides in the playwright-report folder.This reports gives the detailed information like screenshots,traces. On clicking these will display detailed descriptions of execution.