Skip to content

This is a test automation framework designed using Playwright to demonstrate different reporter

Notifications You must be signed in to change notification settings

codewithmmak/playwright-reporters-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Playwright Reporting Demo Setup Guide


Features of this framework

Getting started

Pre-requisites

  • Download and install Node.js
  • Download and install any Text Editor like Visual Code/Sublime/Brackets

Setup Visual Code

  • Install GitLens Extension from the Marketplace: GitLens — Git supercharged by GitKraken https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens
  • Go to Visual Code Preference > Setting and search formatOnSave and enable/ON it.

Setup Scripts

  • Clone the repository into a folder
  • Go to Project root directory and install Dependency: npm install
  • All the dependencies from package.json would be installed in node_modules folder.

How to Run Test Locally

  • Go to the Project root directory and run command: npm test

How to view default Playwright HTML report

  • Go to the Project root directory: ./playwright-report/index.html

Playwright HTML Test Report

Playwright HTML Test Report

How to view Allure HTML report

  • Go to the Project root directory and run command: npm run allure-reporter and then run npm run generate-allure-report
  • Go to the Project root directory: ./allure-report/index.html

Allure Test Report

Allure Test Report

Allure Test Report Expanded View

How to Run Test on LambdaTest Cloud

  • Go to Project root directory and run command: npm run lambdatest

Terminal Test Result

Terminal Test Result

LambdaTest Cloud Results

LambdaTest Cloud Results

LambdaTest Cloud Results Expanded View

Releases

No releases published

Packages

No packages published