pi-agent: Implement Help navigation consistency
This commit is contained in:
@@ -144,7 +144,7 @@ func TestCompleteModelPickerActivationUsesProgressAndSafeDockerConfirmation(t *t
|
||||
close(confirmation)
|
||||
model, _ = applyOperationCommand(t, model, command)
|
||||
view := model.View()
|
||||
if !strings.Contains(view, "Confirm Active Profile change") || !strings.Contains(view, "Enter/n/Esc: Cancel") {
|
||||
if !strings.Contains(view, "Confirm Active Profile change") || !strings.Contains(view, "n/q/Esc: cancel") || !strings.Contains(view, "> Cancel") {
|
||||
t.Fatalf("activation did not use safe-default confirmation:\n%s", view)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user