vita-playwright 1.2.6 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -481,7 +481,7 @@ static async auditLightHouse(pageurl: string, deviceType, filename, customThresh
481
481
  pwa: 70,
482
482
  }, format = { html: true })
483
483
 
484
- //"Usage with new browser context:"
484
+ "Usage with new browser context:"
485
485
  test("light house testing "+vurl, async ({ page }) => {
486
486
  const browser = await playwright['chromium'].launch({
487
487
  args: ['--start-maximized', '--remote-debugging-port=9222'],
@@ -493,11 +493,11 @@ static async auditLightHouse(pageurl: string, deviceType, filename, customThresh
493
493
  await LightHouseUtility.auditLightHouse(url, "desktop", url.split('/').join('_')+'.html');
494
494
  });
495
495
 
496
- //"Usage with default playwright page:"
497
- //Please set port in playwright.config.ts
496
+ "Usage with default playwright page:"
497
+ Please set port in playwright.config.ts
498
498
  args: ['--start-maximized','--remote-debugging-port=9222']
499
499
 
500
- //calling auditLightHouse from test
500
+ calling auditLightHouse from test
501
501
  test("light house testing " + url, async ({ page }) => {
502
502
  page.goto(url);
503
503
  await LightHouseUtility.auditLightHouse(url, "desktop", url.split('/').join('_')+'.html');
@@ -514,7 +514,7 @@ args: ['--start-maximized','--remote-debugging-port=9222']
514
514
  */
515
515
  static async createLightHouseReport(filePath: string, sheetname: string)
516
516
 
517
- //Usage:
517
+ Usage:
518
518
  await LightHouseUtility.createLightHouseReport(process.cwd() + '/lighthouse/pages', process.cwd() + '/lighthouse/index.html', applicationName);
519
519
  ```
520
520
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vita-playwright",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "email": "noreply_testautomation@vialto.com",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",