cabloy 5.1.196 → 5.1.197
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/.cabloy-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.1.
|
|
1
|
+
5.1.197
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -421,14 +421,22 @@ test('ATP catalogue role headers define scenarios but coverage and evidence tabl
|
|
|
421
421
|
'| ATP ID | Scenario |',
|
|
422
422
|
'| --- | --- |',
|
|
423
423
|
'| ATP-REF-04 | rollout reference only |',
|
|
424
|
+
'',
|
|
425
|
+
'| ATP ID | Procedure |',
|
|
426
|
+
'| --- | --- |',
|
|
427
|
+
'| ATP-REF-05 | evidence procedure only |',
|
|
424
428
|
'## Acceptance Scenario Catalogue',
|
|
425
429
|
'| Primary traceability | Scenario and minimum proof | ATP ID |',
|
|
426
430
|
'| --- | --- | --- |',
|
|
427
431
|
'| WBS-REAL-01 | legacy definition | `ATP-CATALOGUE-01` |',
|
|
432
|
+
'',
|
|
433
|
+
'| ATP ID | Acceptance Procedure |',
|
|
434
|
+
'| --- | --- |',
|
|
435
|
+
'| ATP-CATALOGUE-02 | acceptance steps |',
|
|
428
436
|
].join('\n');
|
|
429
437
|
assert.deepEqual(
|
|
430
438
|
[...parseAtpIds(markdown)],
|
|
431
|
-
['ATP-BULLET-01', 'ATP-HEADING-01', 'ATP-CATALOGUE-01'],
|
|
439
|
+
['ATP-BULLET-01', 'ATP-HEADING-01', 'ATP-CATALOGUE-01', 'ATP-CATALOGUE-02'],
|
|
432
440
|
);
|
|
433
441
|
});
|
|
434
442
|
|
|
@@ -185,7 +185,8 @@ function catalogueColumns(cells) {
|
|
|
185
185
|
label => /^(?:atp\s+)?id$/.test(label) || /^(?:atp\s*)?编号$/.test(label),
|
|
186
186
|
);
|
|
187
187
|
const scenario = labels.findIndex(
|
|
188
|
-
label =>
|
|
188
|
+
label =>
|
|
189
|
+
/^(?:acceptance\s+)?(?:scenario|procedure)\b/.test(label) || /^(?:验收)?场景/.test(label),
|
|
189
190
|
);
|
|
190
191
|
return id !== -1 && scenario !== -1 && id !== scenario ? { id, scenario } : null;
|
|
191
192
|
}
|