Merge Active Profile picker with Profile management
This commit is contained in:
@@ -59,7 +59,7 @@ func TestCompleteModelResizePreservesValidSelectionAndFormFocus(t *testing.T) {
|
||||
t.Fatalf("Target selection did not survive narrow-to-wide resize:\n%s", view)
|
||||
}
|
||||
|
||||
model = updateKey(model, "p")
|
||||
model = updateKey(model, "m")
|
||||
model = updateKey(model, "e")
|
||||
model = updateKey(model, "ctrl+t")
|
||||
for range 4 {
|
||||
@@ -147,7 +147,7 @@ func TestCompleteModelDefensivelyRedactsEveryRenderedPage(t *testing.T) {
|
||||
model = updateKey(model, "?")
|
||||
frames = append(frames, model.View())
|
||||
model = updateKey(model, "q")
|
||||
model = updateKey(model, "p")
|
||||
model = updateKey(model, "m")
|
||||
frames = append(frames, model.View())
|
||||
model = updateKey(model, "e")
|
||||
frames = append(frames, model.View())
|
||||
@@ -200,7 +200,8 @@ func TestCompleteModelNarrowShellKeepsLastProductionTargetStatusAndActionsVisibl
|
||||
"Docker daemon selected evidence.",
|
||||
"Status: Refresh completed; selected Target remains actionable.",
|
||||
"Space: toggle",
|
||||
"p: manage Proxy Profiles",
|
||||
"p: switch Active Profile",
|
||||
"m: manage Proxy Profiles",
|
||||
)
|
||||
|
||||
model = resize(model, 120, 36)
|
||||
@@ -224,7 +225,7 @@ func TestCompleteModelLongProfileListKeepsLastSelectionDetailsAndActionsVisibleA
|
||||
}
|
||||
module := &recordingModule{snapshot: app.Snapshot{ActiveProfile: profiles[0].Name, Profiles: profiles}}
|
||||
model := resizedModel(t, module, themeModeNoColor, 80, 24)
|
||||
model = updateKey(model, "p")
|
||||
model = updateKey(model, "m")
|
||||
for range len(profiles) - 1 {
|
||||
model = updateKey(model, "down")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user