fix: finalize TUI operation coordination
hermetic-ci / test (push) Canceled after 0s

This commit is contained in:
proxyctl coordinator
2026-07-18 02:56:33 +08:00
parent 652d7eba2b
commit e6fd3ffe73
8 changed files with 153 additions and 67 deletions
+2 -4
View File
@@ -152,8 +152,7 @@ func TestCompleteModelLightDarkAndNoColorRetainEquivalentSemantics(t *testing.T)
model = updated.(Model)
model = updateKey(model, "tab")
progressFrame := model.View()
updated, _ = model.Update(command())
model = updated.(Model)
model, _ = applyOperationCommand(t, model, command)
model = updateKey(model, "e")
views[mode] = progressFrame + "--- operation completed ---\n" + model.View()
for _, semantic := range []string{"[focused]", "Disabled", "Drifted", "Applying", "mutations disabled", "Current error:", "REDACTED", "Action: Enable"} {
@@ -260,8 +259,7 @@ func TestCompleteModelLongFieldsAndDialogsRemainReachableAcrossResizeAtNontermin
model := resizedModel(t, module, themeModeNoColor, 80, 24)
updated, command := model.Update(tea.KeyMsg{Type: tea.KeySpace})
model = updated.(Model)
updated, _ = model.Update(command())
model = updated.(Model)
model, _ = applyOperationCommand(t, model, command)
model = updateKey(model, "e")
model = updateKey(model, "pgdown")
model = updateKey(model, "pgdown")