Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleksandrbaior/playwright_framework_allurereport_js
Web site for testing https://www.redmine.org/
https://github.com/oleksandrbaior/playwright_framework_allurereport_js
allure-report ci js playwright
Last synced: 3 days ago
JSON representation
Web site for testing https://www.redmine.org/
- Host: GitHub
- URL: https://github.com/oleksandrbaior/playwright_framework_allurereport_js
- Owner: OleksandrBaior
- License: mit
- Created: 2024-04-05T09:25:46.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-25T15:09:34.000Z (10 months ago)
- Last Synced: 2024-12-27T05:08:12.920Z (about 2 months ago)
- Topics: allure-report, ci, js, playwright
- Language: JavaScript
- Homepage: https://oleksandrbaior.github.io/Playwright_framework_AllureReport_JS/index.html
- Size: 79.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Playwright-framework
## ⚡️ Object for testing
Web site - [Redmime.org](https://www.redmine.org/)## 📦 Setup
1. Install [node.js](https://nodejs.org/en/) - JavaScript runtime environment
2. Clone git repository `git clone https://github.com/OleksandrBaior/JS-Playwright-AllureReport.g`
3. Install project dependencies specified in the package.json `npm install`
4. Install playwright `npx playwright install`.## ⚙️ Running Tests
Results of the tests and test logs will be shown in the terminal:
```
npx playwright test
```Run your tests with UI Mode:
```
npx playwright test --ui
```Running a single test file:
```
npx playwright test example-page.spec.ts
```Running a test file for tag:
```
npx playwright test --grep=@[tag]
```To debug tests with playwright inspector:
```
npx playwright test --debug
```## 📜 Allure Report
For reporting used Allure Report - Automation Test Reporting Tool
Learn more about Allure Report at [Allure](https://allurereport.org/)To generate allure report:
```
allure generate --clean -o reports/allure-report reports/allure-results
```To open allure report:
```
allure open reports/allure-report
```## 📝 Playwright Report
For reporting used Playwright Reports - **LIST and HTML**
Learn more about Playwright Reports at [Reports](https://playwright.dev/docs/test-reporters#introduction)To open html report :
```
npx playwright show-report reports\html-report
```## 🌏 Link of Allure report on CI
[https://oleksandrbaior.github.io/Playwright_framework_AllureReport_JS/index.html](https://oleksandrbaior.github.io/Playwright_framework_AllureReport_JS/index.html)
## 🔑 License
[MIT](https://github.com/OleksandrBaior/JS-Playwright-AllureReport?tab=MIT-1-ov-file)