fix: hide internal production ledger integration hints
This commit is contained in:
@@ -17,7 +17,8 @@ assert.match(router, /loadSmartOperationReportConfig/, "router should guard oper
|
||||
assert.match(app, /smartOperationReportEnabled/, "App should track switch state");
|
||||
assert.match(app, /child\.key\s*===\s*"operation-reports"/, "App should hide operation reports child when disabled");
|
||||
assert.match(systemExtension, /对接智能报工小程序/, "system extension should show switch");
|
||||
assert.match(productionLedger, /工序明细/, "production ledger page should show operation detail wording when enabled");
|
||||
assert.match(productionLedger, /当前未对接智能报工小程序/, "production ledger page should explain disabled mode");
|
||||
assert.doesNotMatch(productionLedger, /当前未对接智能报工小程序/, "production ledger page should not expose disabled integration wording");
|
||||
assert.doesNotMatch(productionLedger, /工序明细隐藏/, "production ledger page should not expose hidden operation detail wording");
|
||||
assert.doesNotMatch(productionLedger, /BOM毛重\/净重反推/, "production ledger page should not expose internal calculation wording");
|
||||
|
||||
console.log("smart operation report toggle static checks passed");
|
||||
|
||||
Reference in New Issue
Block a user