@sridharkikkeri/playwright-common 1.0.44 → 1.0.45
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 +15 -0
- package/package.json +1 -1
|
@@ -61,6 +61,11 @@ const packageJson = {
|
|
|
61
61
|
'test:auto': 'TEST_ENV=auto playwright test',
|
|
62
62
|
'test:staging': 'TEST_ENV=staging playwright test',
|
|
63
63
|
'test:prod': 'TEST_ENV=prod playwright test',
|
|
64
|
+
'test:headed': 'playwright test --headed',
|
|
65
|
+
'test:debug': 'playwright test --debug',
|
|
66
|
+
'test:ui': 'playwright test --ui',
|
|
67
|
+
'codegen': 'playwright codegen',
|
|
68
|
+
'show-report': 'playwright show-report',
|
|
64
69
|
'report': 'allure generate allure-results --clean -o allure-report && allure open allure-report',
|
|
65
70
|
'lint': 'eslint .',
|
|
66
71
|
'lint:fix': 'eslint . --fix'
|
|
@@ -273,6 +278,16 @@ npm run test:dev
|
|
|
273
278
|
npm run report
|
|
274
279
|
\`\`\`
|
|
275
280
|
|
|
281
|
+
## Playwright CLI Commands
|
|
282
|
+
|
|
283
|
+
\`\`\`bash
|
|
284
|
+
npm run test:headed # Run tests in headed mode
|
|
285
|
+
npm run test:debug # Debug tests with Playwright Inspector
|
|
286
|
+
npm run test:ui # Run tests in UI mode
|
|
287
|
+
npm run codegen # Generate test code with Codegen
|
|
288
|
+
npm run show-report # Show HTML report
|
|
289
|
+
\`\`\`
|
|
290
|
+
|
|
276
291
|
## Environment-Specific Tests
|
|
277
292
|
|
|
278
293
|
\`\`\`bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sridharkikkeri/playwright-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.45",
|
|
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",
|