Further increase delay to make tests more reliable

This commit is contained in:
David Dworken 2023-10-01 18:25:19 -07:00
parent 2e793b2c10
commit 0b54cebd46
No known key found for this signature in database

View File

@ -1740,7 +1740,7 @@ func testTui_search(t testing.TB) {
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
{Keys: "hishtory SPACE tquery ENTER"},
// Extra delay to ensure that the search for 'ls' finishes before we select an entry
{Keys: "ls", ExtraDelay: 1.5},
{Keys: "ls", ExtraDelay: 2.0},
{Keys: "ENTER"},
})
out = strings.Split(strings.TrimSpace(strings.Split(out, "hishtory tquery")[1]), "\n")[0]