mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-13 16:46:40 +02:00
Further increase delay to make tests more reliable
This commit is contained in:
parent
2e793b2c10
commit
0b54cebd46
@ -1740,7 +1740,7 @@ func testTui_search(t testing.TB) {
|
|||||||
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
||||||
{Keys: "hishtory SPACE tquery ENTER"},
|
{Keys: "hishtory SPACE tquery ENTER"},
|
||||||
// Extra delay to ensure that the search for 'ls' finishes before we select an entry
|
// 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"},
|
{Keys: "ENTER"},
|
||||||
})
|
})
|
||||||
out = strings.Split(strings.TrimSpace(strings.Split(out, "hishtory tquery")[1]), "\n")[0]
|
out = strings.Split(strings.TrimSpace(strings.Split(out, "hishtory tquery")[1]), "\n")[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user