Skip to content

LeeladharRao/Playwright_Cucumber_TS

Repository files navigation

Playwright_Cucumber_TS

Starter template for Playwright + Cucumber POM

Features

  • Awesome report with screenshots, videos & logs
  • Execute tests on multiple environments
  • Github Actions integrated with downloadable report
  • Page object model

Tech

I have used the following libraries for this script:

  • Playwright - An open-source automation library for browser testing and web scraping developed by Microsoft.
  • Cucumber - popular BDD tool which is in simple English language very easy to read and understand.
  • TypeScript - Better than Javascript?!
  • Github Actions - env to execute pretty much everything using .yaml.

Get started

Clone and install.

git clone git@github.com:LeeladharRao/Playwright_Cucumber_TS
cd Playwright_Cucumber_TS
npm install

Install Playwright

npx playwright

Execute tests

npm run test
npm run test --TAGS="@your_tag"

Sources

  • Playwright Docs - Docs
  • Cucumber Docs - Docs
  • Playwright VSCode extention - Docs

Free Template, Hell Yeah!

About

Started template for Browser automation with Playwright

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published