qa360 2.2.14 → 2.2.15
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.
|
@@ -395,7 +395,7 @@ export class PackMigrator {
|
|
|
395
395
|
gate.config.baseUrl = v1Pack.targets.api.baseUrl;
|
|
396
396
|
gate.config.smoke = v1Pack.targets.api.smoke;
|
|
397
397
|
}
|
|
398
|
-
// Web target - migrate to
|
|
398
|
+
// Web target - migrate to ui, a11y, and accessibility gates
|
|
399
399
|
if (v1Pack.targets.web) {
|
|
400
400
|
const baseUrl = v1Pack.targets.web.baseUrl;
|
|
401
401
|
const pages = this.transformPagesToFullUrls(v1Pack.targets.web.pages || [], baseUrl);
|
|
@@ -406,13 +406,20 @@ export class PackMigrator {
|
|
|
406
406
|
gate.config.baseUrl = baseUrl;
|
|
407
407
|
gate.config.pages = pages;
|
|
408
408
|
}
|
|
409
|
-
// a11y gate
|
|
409
|
+
// a11y gate (v1 name)
|
|
410
410
|
if (v2Pack.gates['a11y']) {
|
|
411
411
|
const gate = v2Pack.gates['a11y'];
|
|
412
412
|
gate.config = gate.config || {};
|
|
413
413
|
gate.config.baseUrl = baseUrl;
|
|
414
414
|
gate.config.pages = pages;
|
|
415
415
|
}
|
|
416
|
+
// accessibility gate (v2 sanitized name from 'a11y')
|
|
417
|
+
if (v2Pack.gates['accessibility']) {
|
|
418
|
+
const gate = v2Pack.gates['accessibility'];
|
|
419
|
+
gate.config = gate.config || {};
|
|
420
|
+
gate.config.baseUrl = baseUrl;
|
|
421
|
+
gate.config.pages = pages;
|
|
422
|
+
}
|
|
416
423
|
}
|
|
417
424
|
}
|
|
418
425
|
/**
|
package/cli/package.json
CHANGED