Skip to content

sandeep-teegala/JSPlaywrightAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSPlaywrightAutomation

This is a sample play wright automation using java script.

To generate Allure Report in Playwright framework

Steps:

  1. Install allure playwright: npm i -D @playwright/test allure-playwright Or add "allure-playwright": "^2.0.0-beta.19" in package.json under devDependencies

  2. Update playwright.config.js with: { reporter: [ [ "allure-playwright", { detail: true, outputFolder: "./output/allure/my-allure-results", suiteTitle: false, }, ], ], }

  3. After the tests execution - output folder will be generated with raw allure structure then we need to generate allure report by the following command:

allure generate .\output\allure\my-allure-results -o allure-report --clean

  1. After step-3 a new folder will be created with all allure test results then we need to open that folder by the following command:

allure open allure-report

About

This is a sample play wright automation using java script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors