https://github.com/qualityshepherd/playwright-example
An example Playwright e2e test framework...`
https://github.com/qualityshepherd/playwright-example
Last synced: 11 months ago
JSON representation
An example Playwright e2e test framework...`
- Host: GitHub
- URL: https://github.com/qualityshepherd/playwright-example
- Owner: qualityshepherd
- Created: 2023-06-15T17:15:18.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T15:42:00.000Z (about 3 years ago)
- Last Synced: 2025-02-27T09:04:07.018Z (over 1 year ago)
- Language: JavaScript
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/qualityshepherd/playwright-example/actions/workflows/e2e.yaml)
## Playwright Example
Example e2e tests (some of which are slightly silly) written with [Playwright](https://playwright.dev/), that:
- use a page object pattern
- are es6y
- run in parallel
- run on multiple browsers
- run headlessly
- run on CI
## Setup
1. clone `clone git@github.com:qualityshepherd/playwright-example.git`
2. install `npm i`
## Run
* run `npm test` to run 4 browsers headlessly
* `npm run headed` to watch tests run in the browser(s)
* `npm run` to see all the options
## Results
