This project demonstrates the Page Object Model (POM) design pattern using TypeScript and Playwright. It serves as a foundation for building maintainable, scalable, and readable UI test automation frameworks.
⚠️ Note: Node.js v22 or higher is required to run this project.
To set up this project on your local machine:
-
Clone the repository
-
Install the project dependencies:
npm install
-
Set up Playwright browsers:
npx playwright install --with-deps
-
Launch tests:
npx playwright test
-
Integrating tests into GitHub Actions as part of Continuous Integration.
-
Set up a Prettier, tsconfig, linter and Husky for consistent code quality and formatting.
-
Including reusable patterns directly in this repository such as Page-Factory, Decorator.
-
Implement fixture for BasePage and HomePage
-
Add API testing alongside UI tests.
-
Store authentication keys securely in storageState or other locations supported by Playwright.
-
Adding yarn.lock file to ensure consistent