Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeannesi/playwright-e2e-tests
https://github.com/jeannesi/playwright-e2e-tests
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeannesi/playwright-e2e-tests
- Owner: JeanNesi
- License: mit
- Created: 2024-11-06T23:57:31.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T00:10:07.000Z (3 months ago)
- Last Synced: 2024-11-21T00:53:53.841Z (2 months ago)
- Language: TypeScript
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Playwright E2E
## GitHub Actions
[![Build and Tests](https://github.com/JeanNesi/playwright-e2e-tests/actions/workflows/node.js.yml/badge.svg?branch=main)](https://github.com/JeanNesi/playwright-e2e-tests/actions/workflows/node.js.yml)
## 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 reportsAll 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