You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. For first time installation run below command to download required browsers
112
+
113
+
```sh
114
+
npx playwright install
115
+
```
111
116
112
117
<!-- USAGE EXAMPLES-->
113
118
@@ -267,13 +272,13 @@ docker run --name playContainer playtest
267
272
- If you want to run a different test or provide custom command, Go to Dockerfile and edit the last line which is CMD section. The below sample runs test cases serially on QA environment.
268
273
Once you have edited the CMD section we have to follow Step 1 to build a new image and ten run the Container from that image.
Lighthouse is an open-source, automated tool for improving the quality of web pages. You can run it against any web page, public or requiring authentication. It has audits for performance, accessibility, progressive web apps, SEO and more.
275
-
I have configure Lighthouse for Performance in my Project.
276
-
- To configure Lighthouse navigate to "Lighthouse.js" and replace "https://www.google.com" with desired URL to test.
280
+
I have configure Lighthouse for Performance in my Project. Please use version 9.6.8 as later versions are not compatible.
281
+
- To configure Lighthouse navigate to "tests/lighthouse/Lighthouse.js" and replace "https://www.google.com" with desired URL to test.
277
282
- To run test on Mobile devices, comment out desktop mode config line and uncomment the config line written for mobile devices, Default Device is Moto G4
278
283
- To run Lighhouse test use below command, reports will be generated in htnl format in root directory with name "LighthouseReport.html"
0 commit comments