Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ugioni/playwright-e2e

E2E tests using MS Playwright
https://github.com/ugioni/playwright-e2e

e2e playwright typescript

Last synced: about 1 month ago
JSON representation

E2E tests using MS Playwright

Awesome Lists containing this project

README

        

# Playwright E2E

## GitHub Actions

[![Build and Tests](https://github.com/ugioni/playwright-e2e/actions/workflows/node.js.yml/badge.svg?branch=master)](https://github.com/ugioni/playwright-e2e/actions/workflows/node.js.yml)

## SonarCloud

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ugioni_playwright-e2e&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=ugioni_playwright-e2e)

## Getting Started

In order to execute this project you must follow the steps below:

1. Install [Node JS](https://nodejs.org/) (version >= 20.x)
1. Run `npm i --save-dev` to install all the project dependencies
1. Run `npx playwright install` to install the browsers used by Playwright
1. Run `npm run ci` to execute the entire test suite
1. Run `npm run show-report` to visualize the reports

All execution artifacts can be found in `./artifacts`, if you want to remove these files run `npm run clean`.

## Project Structure


  • Scenarios: Test scenario mapping

  • Support: Project structure files

    • Elements: Mapping the elements of each screen

    • Fixtures: Data configuration files

    • Pages: Logic used to perform actions in tests