@keber/qa-framework 1.5.1 → 1.5.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keber/qa-framework",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Reusable spec-driven QA framework for IDE-agent-assisted automated testing. Installable as an npm package. Provides structure, templates, agent instructions, and optional integrations for Playwright and Azure DevOps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"qa",
|
|
@@ -13,16 +13,27 @@ for (const key of required) {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
// Optional: Azure DevOps reporter configuration
|
|
16
|
-
//
|
|
16
|
+
// To enable: set env vars ADO_ORG, ADO_PROJECT, ADO_PAT, ADO_PLAN_ID and CI=true,
|
|
17
|
+
// then uncomment the reporter entry in the `reporter` array below.
|
|
18
|
+
// Install: npm install @alex_neo/playwright-azure-reporter --save-dev
|
|
17
19
|
// import { AzureReporter } from '@alex_neo/playwright-azure-reporter';
|
|
18
|
-
// const
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
//
|
|
20
|
+
// const adoReporterConfig = {
|
|
21
|
+
// orgUrl: `https://dev.azure.com/${process.env.ADO_ORG}`,
|
|
22
|
+
// // In CI it uses System.AccessToken (pipeline's OAuth, not subject to Conditional Access Policy).
|
|
23
|
+
// // Locally, if you want to test the reporter, you can set ADO_PAT manually.
|
|
24
|
+
// token: process.env.SYSTEM_ACCESSTOKEN ?? process.env.ADO_PAT,
|
|
25
|
+
// planId: Number(process.env.ADO_PLAN_ID),
|
|
26
|
+
// projectName: process.env.ADO_PROJECT!,
|
|
27
|
+
// testRunTitle: `[Auto] Sprint {{NNN}} — ${new Date().toISOString().slice(0, 10)}`,
|
|
28
|
+
// publishTestResultsMode: 'testRun' as const,
|
|
29
|
+
// uploadAttachments: true,
|
|
30
|
+
// attachmentsType: ['screenshot', 'video', 'trace'] as const,
|
|
31
|
+
// isDisabled: !process.env.CI, // only publishes when CI=true
|
|
32
|
+
// autoMarkTestCasesAsAutomated: {
|
|
33
|
+
// enabled: true,
|
|
34
|
+
// updateAutomatedTestName: true, // saves test title in AutomatedTestName
|
|
35
|
+
// updateAutomatedTestStorage: true, // saves spec file name in AutomatedTestStorage
|
|
36
|
+
// },
|
|
26
37
|
// };
|
|
27
38
|
|
|
28
39
|
export default defineConfig({
|
|
@@ -44,7 +55,7 @@ export default defineConfig({
|
|
|
44
55
|
['html', { open: 'never' }],
|
|
45
56
|
['list'],
|
|
46
57
|
// Uncomment for ADO:
|
|
47
|
-
// ['@alex_neo/playwright-azure-reporter',
|
|
58
|
+
// ['@alex_neo/playwright-azure-reporter', adoReporterConfig],
|
|
48
59
|
],
|
|
49
60
|
|
|
50
61
|
// ------ Global settings ------
|