Skip to content

Commit 10d7927

Browse files
committed
Ortoni-Report_Playwright_1.46.1
1 parent 7796daa commit 10d7927

File tree

4 files changed

+459
-575
lines changed

4 files changed

+459
-575
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Top Features:
4949
- To slow down execution slowMo option is available.
5050
- Supports 'download' event monitoring, so there is no need for user to actually wait for downloads to finish.
5151
- Supports Serial and Parallel execution.
52-
- Allure/HTML Reports are generated after execution with an option to capture screenshot/video/trace file on failure.
52+
- Allure/HTML/Ortoni HTML Reports are generated after execution with an option to capture screenshot/video/trace file on failure.
5353
- Nonetheless Support from Microsoft so FREQUENT RELEASES and turn arounf time for any queries is 48 hours.
5454

5555
Bonus:
@@ -76,6 +76,7 @@ Bonus:
7676
- [SonarQube](https://www.sonarqube.org/)
7777
- [Lighthouse](https://developers.google.com/web/tools/lighthouse)
7878
- [pdfjs-dist-es5](https://www.npmjs.com/package/pdfjs-dist-es5)
79+
- [ortoni-report] (https://github.com/ortoniKC/ortoni-report)
7980

8081
## Getting Started
8182

@@ -122,6 +123,10 @@ npm install
122123
```sh
123124
npx playwright install
124125
```
126+
4. For MAC and Ubuntu OS before running please exexute below code as per your environment qa|dev
127+
```sh
128+
export npm_config_ENV="qa"
129+
```
125130

126131
<!-- USAGE EXAMPLES-->
127132

@@ -243,6 +248,8 @@ npm run test:ui --ENV="qa"
243248
25. GitHub Actions is configured in `.github/workflows/playwright.yml` file and events(trigger points) are set to pus/pull actions on master branch. Changes in command to run test cases can be made in "Run tests" section in this file.
244249
26. Once GitHub Actions job is completed Slack notification is triggered to the assigned channel with build status and html-report link. For enabling Slack you have to configure Incoming Webhooks for your repo, below is the great tutorial on that.
245250
<a>https://www.youtube.com/watch?v=hzIub2noFw8&t=357s&pp=ygUUZ2l0aHViIGFjdGlvbnMgc2xhY2s%3D</a>
251+
27. For Configuring Ortoni HTML Report, navigate to "playwright.config.ts" and provide desired changes "reportConfig" variable, then pass this variable in reporter section as ,['ortoni-report', reportConfig]. For more details on this please refer below video
252+
<a>https://www.youtube.com/watch?v=HMaiL6cARZk</a>
246253

247254
## Reports
248255

0 commit comments

Comments
 (0)