@sridharkikkeri/playwright-common 1.0.0 → 1.0.2
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.
- package/create-healthedge-tests.js +4 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -0
- package/package.json +7 -1
|
@@ -36,9 +36,9 @@ const packageJson = {
|
|
|
36
36
|
'lint:fix': 'eslint . --fix'
|
|
37
37
|
},
|
|
38
38
|
dependencies: {
|
|
39
|
-
'@
|
|
39
|
+
'@sridharkikkeri/playwright-common': 'latest',
|
|
40
40
|
'@playwright/test': '^1.42.0',
|
|
41
|
-
'allure-playwright': '^
|
|
41
|
+
'allure-playwright': '^3.4.5'
|
|
42
42
|
},
|
|
43
43
|
devDependencies: {
|
|
44
44
|
'@typescript-eslint/eslint-plugin': '^8.55.0',
|
|
@@ -92,7 +92,7 @@ fs.writeFileSync(
|
|
|
92
92
|
|
|
93
93
|
// Sample Page Object
|
|
94
94
|
const samplePage = `import { Page } from '@playwright/test';
|
|
95
|
-
import { BasePage } from '@
|
|
95
|
+
import { BasePage } from '@sridharkikkeri/playwright-common';
|
|
96
96
|
|
|
97
97
|
export class HomePage extends BasePage {
|
|
98
98
|
constructor(page: Page) {
|
|
@@ -112,7 +112,7 @@ export class HomePage extends BasePage {
|
|
|
112
112
|
fs.writeFileSync(path.join(projectPath, 'src/pages/HomePage.ts'), samplePage);
|
|
113
113
|
|
|
114
114
|
// Sample Test
|
|
115
|
-
const sampleTest = `import { test } from '@
|
|
115
|
+
const sampleTest = `import { test } from '@sridharkikkeri/playwright-common';
|
|
116
116
|
import { HomePage } from '../pages/HomePage';
|
|
117
117
|
|
|
118
118
|
test.describe('Sample Tests', () => {
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Public API - Clean barrel export
|
|
18
|
+
__exportStar(require("./com/healthedge/common"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mCAAmC;AACnC,0DAAwC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sridharkikkeri/playwright-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Production-grade Playwright framework with AI-powered self-healing, visual regression, and enterprise features",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
7
13
|
"files": [
|
|
8
14
|
"dist",
|
|
9
15
|
"create-healthedge-tests.js",
|