This project aims to provide an end-to-end testing solution for a web application using playwright automated tests. The tests are designed to cover the various functionalities of the application and ensure that they are working as expected.
Table of Contents
- Install Node.js.
- Install project dependencies via
npm i or yarn i
.
// npm
npx playwright test
// yarn
yarn playwright test
// npm
npx playwright codegen
// yarn
yarn playwright codegen
npx playwright test --project=chromium
we recommend you see the configurations from ./playwright.config.ts
for test driver.
Once the test finished, it will have been created which shows you a full report of your tests allowing you to filter the report by browsers, passed tests, failed tests, skipped tests and flaky tests.
npx playwright show-report