qa360 2.1.3 → 2.1.5

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.
@@ -470,14 +470,15 @@ export class Phase3Runner {
470
470
  const adapter = new PlaywrightNativeApiAdapter();
471
471
  // Transform v2 config to adapter format
472
472
  const gateConfigData = gateConfig.config || {};
473
+ const gateOptions = gateConfig.options || {};
473
474
  const config = {
474
475
  target: {
475
476
  baseUrl: gateConfigData.baseUrl,
476
477
  smoke: gateConfigData.smoke
477
478
  },
478
479
  budgets: gateConfigData.budgets,
479
- timeout: gateConfigData.timeout,
480
- retries: gateConfigData.retries,
480
+ timeout: gateOptions.timeout || gateConfigData.timeout,
481
+ retries: gateOptions.retries || gateConfigData.retries,
481
482
  auth: credentials
482
483
  };
483
484
  const result = await adapter.runSmokeTests(config);
@@ -500,6 +501,7 @@ export class Phase3Runner {
500
501
  // v2: { baseUrl, pages: [{ url: '/', expectedElements: [...] }] }
501
502
  // adapter expects: { target: { baseUrl, pages: ['https://.../'] } }
502
503
  const gateConfigData = gateConfig.config || {};
504
+ const gateOptions = gateConfig.options || {};
503
505
  // Transform page objects to full URLs
504
506
  // v2 pages format: [{ url: '/', expectedElements: [...] }] or ['/', '/about']
505
507
  const rawPages = gateConfigData.pages;
@@ -528,7 +530,7 @@ export class Phase3Runner {
528
530
  pages: pages
529
531
  },
530
532
  budgets: gateConfigData.budgets,
531
- timeout: gateConfigData.timeout,
533
+ timeout: gateOptions.timeout || gateConfigData.timeout,
532
534
  auth: credentials,
533
535
  // Playwright++ features
534
536
  artifacts: gateConfigData.artifacts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qa360",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "QA360 Proof CLI - Quality as Cryptographic Proof",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -45,6 +45,7 @@
45
45
  "ollama": "^0.5.1",
46
46
  "ora": "^5.4.1",
47
47
  "playwright": "^1.57.0",
48
+
48
49
  "sqlite3": "^5.1.6",
49
50
  "tweetnacl": "^1.0.3"
50
51
  },