Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ValeriiMandryka/Boilerplate-Playwright-PlaywrightReport
Browsers: [Chromium, Firefox, Webkit ]; mobile: [ MobileChrome, MobileSafari ]; Reporter: [Playwright Report ]
https://github.com/ValeriiMandryka/Boilerplate-Playwright-PlaywrightReport
chromium firefox playwright-report webkit
Last synced: 15 days ago
JSON representation
Browsers: [Chromium, Firefox, Webkit ]; mobile: [ MobileChrome, MobileSafari ]; Reporter: [Playwright Report ]
- Host: GitHub
- URL: https://github.com/ValeriiMandryka/Boilerplate-Playwright-PlaywrightReport
- Owner: ValeriiMandryka
- Created: 2022-10-13T10:01:04.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T08:45:47.000Z (about 2 years ago)
- Last Synced: 2024-08-17T08:05:10.098Z (4 months ago)
- Topics: chromium, firefox, playwright-report, webkit
- Language: JavaScript
- Homepage: https://valeriimandryka.github.io/WDIO_Docker_CrossBrowsersConf_Standalon_Telnyx/
- Size: 196 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boilerplate-Playwright-PlaywrightReport-AllureReport
Template repository for project based on Playwright framefork with configurated GitHub actions and Allure report. Can be used for auto testing on Chromium/Firefox/Webkit browsers and MobileChrome/MobileSafari also icluded Docker## NOTICE! To run tests on different browsers Antivirus tool should be switched off
## Envoirment:
1. [Node.js](https://nodejs.org/uk/)
2. [VSC](https://code.visualstudio.com/download)
## Steps to install project
## 1. Run command in VSC:
```
git clone https://github.com/ValeriiMandryka/Boilerplate-Playwright-PlaywrightReport.git```
## 2. Into root of Project run commands:
```
npm installnpx playwright install
```
## 3. Run tests commands:3.1 - it will run all tast in Hedless mode
npm run Alltests-Headles
3.2 - it will run all tast in UI mode
npm run Alltests-Headed
3.3 - it will run all tast in Hedless mode in Chrome browser
npm run Tests:Headless-on-Chromium
3.4 - it will run all tast in Hedless mode in Firefox browser
npm run Tests:Headless-on-Firefox
3.5 - it will run all tast in Hedless mode in Safari browser
npm run Tests:Headless-on-Safari
3.6- it will run all tast in Hedless mode on Mobile Pixel 15
npm run Tests:Headless-on-mobileChrome-Pixel5
3.7 - it will run all tast in Hedless mode on Mobile Iphone 12
npm run Tests:Headless-on-mobileSafari-Iphone12
3.8 - it will run all tast in UI mode in Chrome browser
npm run Tests:Headed-on-Chromium
3.9 - it will run all tast in UI mode in Firefox browser
npm run Tests:Headed-on-Firefox
3.10 - it will run all tast in UI mode in Safari browser
npm run Tests:Headed-on-Safari
3.11 - it will run all tast in UI mode on Mobile Pixel 15
npm run Tests:Headed-on-mobileChrome-Pixel5
3.12 - it will run all tast in UI mode on Mobile Iphone 12
npm run Tests:Headed-on-mobileSafari-Iphone12
## 4. Running a single test file:
```
npx playwright test landing-page.spec.ts```
Where "landing.page.spec.ts" can be changed on your own spec file
## 6. Open Playwright Report:```
npm run open:PlaywriteReport
```## 8. To run Code Generator :
```
npm run open:CodeGenerator
```