Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josdem/playwright-workshop
Playwright capabilities workshop
https://github.com/josdem/playwright-workshop
allure applitools gitactions-workflow github-actions javascript mocha playwright prettier
Last synced: about 1 month ago
JSON representation
Playwright capabilities workshop
- Host: GitHub
- URL: https://github.com/josdem/playwright-workshop
- Owner: josdem
- License: apache-2.0
- Created: 2023-06-07T11:32:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T14:34:21.000Z (10 months ago)
- Last Synced: 2024-05-02T01:34:31.511Z (8 months ago)
- Topics: allure, applitools, gitactions-workflow, github-actions, javascript, mocha, playwright, prettier
- Language: HTML
- Homepage:
- Size: 470 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Playwright Workshop
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Playwright](https://img.shields.io/badge/playwright-reports-brightgreen.svg)](https://josdem.github.io/playwright-workshop/)This is a getting started project with [Playwright](https://playwright.dev/)
#### Requirements
- [NodeJS](https://nodejs.org/en/) version `v18.16.0`
**Note:** I recommed to use [NVM](https://github.com/nvm-sh/nvm) to manage NodeJS versions
#### To build the project
```bash
npm install
```#### To format the project
```bash
npx prettier --write .
```#### To run the project
```bash
npx playwright test
```#### To see integrated reports
```bash
npx playwright show-report
```#### To see deployed reports
- You can deploy generated reports using a SSK key: [playwright-report](https://josdem.io/playwright-report/)
- For more information go [here](https://josdem.io/techtalk/ux/playwright_reports_deployment/)If you want to generate [Allure Reports](https://webdriver.io/docs/allure-reporter/)
- Install allure command line: `npm install -g allure-commandline --save-dev`
- Execute this command: `allure generate && allure serve -h localhost`