Add additional delay for TestTui-Search

This commit is contained in:
David Dworken 2023-08-28 20:56:16 -07:00
parent ab567edce3
commit 6bc70d0732
No known key found for this signature in database

View File

@ -1687,7 +1687,7 @@ func TestTui(t *testing.T) {
// Check the output when there is a search
out = captureTerminalOutput(t, tester, []string{
"hishtory SPACE tquery ENTER",
"ls",
"ls", "",
})
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
testutils.CompareGoldens(t, out, "TestTui-Search")