Starter template for Playwright + Cucumber POM
- Awesome report with screenshots, videos & logs
- Execute tests on multiple environments
- Github Actions integrated with downloadable report
- Page object model
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.
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"
Free Template, Hell Yeah!