Playwright Graveyard is a boilerplate for UI automation using Playwright that teams can use to quickly set up the framework, build on top of it, or use it to learn and practice Playwright. It also contains sample tests.
- Preconfigured project structure with sample tests
- Page Object Model and test data segregation support
- Built-in utilities and helpers for simplified testing
- Customizable configuration with support for reporting, tagging, retries, and more.
To use this project, you will need to have the following installed on your system:
- Node.js (version 14 or later)
- Visual Studio Code (or any other code editor of your choice)
- Clone this repository:
git clone https://github.com/kumarcode/pw-graveyard.git - Install the dependencies:
npm install - Run the tests:
npm test
You should see the tests run in the console. From here, you can customize the project to fit your needs.
The boilerplate is designed to be highly customizable, but to get started, you can use the example tests in the testsuite folder as a guide. These tests demonstrate how to interact with a sample website using Playwright.