This project includes automated end-to-end tests for verifying key functionalities of the web application - Dengro using Playwright. The tests are written in TypeScript with the Playwright testing framework and follow the Page Object Model (POM) pattern for better maintainability.
The project is structured as follows:
home.spec.ts
: Contains tests for the home page.home-page.ts
: Page Object for interacting with elements on the home page.pricing.spec.ts
: Contains tests for the pricing page.pricing-page.ts
: Page Object for interacting with elements on the pricing page.
Follow these steps to set up and run the project:
Clone this repository to your local machine:
git clone https://github.com/uncleejay/dengro-playwright-test.git
cd your-repository-folder
npm install
yarn install
npm install -g typescript
npm install @playwright/test --save-dev
npx playwright test