Validate providers and retain complete run debugging context
This commit is contained in:
@@ -26,7 +26,7 @@ func TestRunDebugActionAvailableForRunningAndFinishedRuns(t *testing.T) {
|
||||
}
|
||||
updated, cmd := m.Update(tea.KeyMsg{Type: tea.KeyRunes, Runes: []rune{'D'}})
|
||||
m = updated.(Model)
|
||||
if cmd == nil || m.runDetail.ID != 7 || m.runStartRequest != "" || m.runDetail.Status != status {
|
||||
if cmd != nil || m.mutationCommand == nil || m.runDetail.ID != 7 || m.runStartRequest != "" || m.runDetail.Status != status {
|
||||
t.Fatal("debug changed or retried run", status)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user