vasu-playwright-utils 0.4.2 → 0.4.4

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.
@@ -1,3 +1,2 @@
1
1
  export * from './custom-logger';
2
- export * from './page-setup';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
@@ -2,5 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./custom-logger"), exports);
5
- tslib_1.__exportStar(require("./page-setup"), exports);
6
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,uDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vasu-playwright-utils",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "Playwright Typescript Library with reusable utilities",
5
5
  "main": "./dist/vasu-playwright-lib/index.js",
6
6
  "types": "./dist/vasu-playwright-lib/index.d.ts",
@@ -13,6 +13,7 @@
13
13
  "./page-utils": "./dist/vasu-playwright-lib/utils/page-utils.js",
14
14
  "./constants": "./dist/vasu-playwright-lib/constants/index.js",
15
15
  "./setup": "./dist/vasu-playwright-lib/setup/index.js",
16
+ "./custom-logger": "./dist/vasu-playwright-lib/setup/custom-logger.js",
16
17
  "./types": "./dist/vasu-playwright-lib/types/optional-parameter-types.js"
17
18
  },
18
19
  "keywords": [
@@ -1,12 +0,0 @@
1
- /**
2
- * page-setup.ts: This module is responsible for setting up the initial state of a page before each test.
3
- * It includes a hook that runs before each test, setting the page context. By centralizing these setup operations,
4
- * it ensures a consistent starting point for each test, improving test reliability. It also exports a base test object
5
- * with a beforeEach hook already set up. This can be used to define tests with the page context set up.
6
- */
7
- /**
8
- * The base test object with a beforeEach hook already set up.
9
- * This can be used to define tests with the page context set up.
10
- */
11
- export declare const test: import("@playwright/test").TestType<import("@playwright/test").PlaywrightTestArgs & import("@playwright/test").PlaywrightTestOptions, import("@playwright/test").PlaywrightWorkerArgs & import("@playwright/test").PlaywrightWorkerOptions>;
12
- //# sourceMappingURL=page-setup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page-setup.d.ts","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/page-setup.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAaH;;;GAGG;AACH,eAAO,MAAM,IAAI,6OAAW,CAAC"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- /**
3
- * page-setup.ts: This module is responsible for setting up the initial state of a page before each test.
4
- * It includes a hook that runs before each test, setting the page context. By centralizing these setup operations,
5
- * it ensures a consistent starting point for each test, improving test reliability. It also exports a base test object
6
- * with a beforeEach hook already set up. This can be used to define tests with the page context set up.
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.test = void 0;
10
- const test_1 = require("@playwright/test");
11
- const page_utils_1 = require("../utils/page-utils");
12
- /**
13
- * A hook that runs before each test, setting the page context.
14
- * @param {Page} page - The page context provided by Playwright.
15
- */
16
- test_1.test.beforeEach(({ page }) => {
17
- (0, page_utils_1.setPage)(page);
18
- });
19
- /**
20
- * The base test object with a beforeEach hook already set up.
21
- * This can be used to define tests with the page context set up.
22
- */
23
- exports.test = test_1.test;
24
- //# sourceMappingURL=page-setup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"page-setup.js","sourceRoot":"","sources":["../../../src/vasu-playwright-lib/setup/page-setup.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,2CAA0D;AAC1D,oDAA8C;AAE9C;;;GAGG;AACH,WAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,EAAkB,EAAE,EAAE;IAC/C,IAAA,oBAAO,EAAC,IAAI,CAAC,CAAC;AAChB,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACU,QAAA,IAAI,GAAG,WAAQ,CAAC"}