iamgoangle / playwright-e2e-gitlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎭 Playwright E2E Testing

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

Getting started

Installation

Prerequisites

  • Install Node.js.
  • Install project dependencies via npm i or yarn i.

Run Locally

Runs the end-to-end tests

// npm
npx playwright test

// yarn
yarn playwright test

Auto generate tests with Codegen

// npm
npx playwright codegen

// yarn
yarn playwright codegen

Runs the tests only Chrome

npx playwright test --project=chromium

we recommend you see the configurations from ./playwright.config.ts for test driver.

Test Report

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

Documentation

About


Languages

Language:TypeScript 99.8%Language:Shell 0.2%