Professional Documents
Culture Documents
Playwright Flow
Playwright Flow
Introduction:
Playwright is a powerful Node library for browser automation, designed to automate tasks
in web browsers such as Chrome, Firefox, and WebKit. It provides a unified API for cross-
browser automation and supports various browser testing scenarios.
Installation:
To use Playwright, you need to install it as a dependency in your Node.js project. Run the
following command in your project's directory:
Command : “npm install playwright”, run test : “run npx playwright test”
Followed Steps:
Configure Project for Playwright test case in same project.
Written test case for given points which mentioned in jira ticket.
Configure Pipeline on github action for every commit.
Github config steps:
And I added few changes in my frontend .ejs and .js file . That was required to run test case.
File name’s ( load-save.20230922.js, analysis.ejs, package.json and common-
functions.20231108.js )