chore(k1): checkpoint connection recovery work
This commit is contained in:
@@ -308,7 +308,7 @@ test("connected presentation uses canonical process copy", () => {
|
||||
assert.match(connection, /<h2>Подключение \{model\.displayName\}<\/h2>/);
|
||||
assert.match(
|
||||
connection,
|
||||
/const operationalPanelsVisible = shouldRenderK1OperationalPanels\(state\)/,
|
||||
/const operationalPanelsVisible = shouldRenderK1OperationalPanels\(\s*state,\s*controller\.pendingAction,\s*\)/,
|
||||
);
|
||||
assert.match(
|
||||
connection,
|
||||
@@ -395,7 +395,7 @@ test("K1 START renders an in-button spinner for the complete live orchestration"
|
||||
assert.doesNotMatch(acquisition, /readOnlyConnectionObservationTarget\(state\)/);
|
||||
assert.match(acquisition, /appliedTopology\?\.status === "active"\s*&& desiredModeMatchesActive/);
|
||||
assert.match(acquisition, /if \(!draftPreparationTarget\) return;/);
|
||||
assert.match(acquisition, /START не используется для установки связи/);
|
||||
assert.doesNotMatch(acquisition, /START не используется для установки связи/);
|
||||
assert.match(acquisition, /Синхронизация…/);
|
||||
});
|
||||
|
||||
@@ -502,7 +502,7 @@ test("K1 mode reset is explicit while Scan and Apply keep exact backend CAS", ()
|
||||
assert.match(acquisition, /state\?\.active_connection_mode/);
|
||||
assert.match(acquisition, /desiredSelectionCommitted/);
|
||||
assert.match(acquisition, /configuredConnectionMode !== desiredConnectionMode/);
|
||||
assert.match(acquisition, /Выбран другой способ связи/);
|
||||
assert.doesNotMatch(acquisition, /Выбран другой способ связи/);
|
||||
});
|
||||
|
||||
test("top-right device utility is an explicit pending-aware K1 scenario reset", async () => {
|
||||
@@ -990,7 +990,7 @@ test("every K1 connection and acquisition action is fenced to the accepted backe
|
||||
[...runtime.matchAll(
|
||||
/expected_snapshot_runtime_id: actionSnapshotRuntimeId/g,
|
||||
)].length,
|
||||
3,
|
||||
4,
|
||||
);
|
||||
assert.match(
|
||||
runtime,
|
||||
@@ -1064,7 +1064,7 @@ test("K1 orchestration accepts backend recovery but still requires exact topolog
|
||||
);
|
||||
assert.match(acquisition, /desiredModeMatchesActive/);
|
||||
assert.match(acquisition, /modeSwitchRequired/);
|
||||
assert.match(acquisition, /Выбран другой способ связи/);
|
||||
assert.doesNotMatch(acquisition, /Выбран другой способ связи/);
|
||||
assert.match(acquisition, /prepareCanonicalAcquisition/);
|
||||
assert.match(acquisition, /startPreparedAcquisition/);
|
||||
assert.match(acquisition, /operatorActionPhysicalAcceptance\(\)/);
|
||||
|
||||
Reference in New Issue
Block a user