mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-09 07:01:55 +01:00
Extra delay to make test more reliable
This commit is contained in:
parent
0fec2d5ba9
commit
f1ca76a5a0
@ -1813,7 +1813,7 @@ func testTui_search(t testing.TB) {
|
|||||||
|
|
||||||
// Check the output when the search is invalid
|
// Check the output when the search is invalid
|
||||||
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
|
||||||
{Keys: "hishtory SPACE tquery ENTER"},
|
{Keys: "hishtory SPACE tquery ENTER", ExtraDelay: 1.0},
|
||||||
// ExtraDelay to ensure that the search for 'ls' finishes before we make it invalid by adding ':'
|
// ExtraDelay to ensure that the search for 'ls' finishes before we make it invalid by adding ':'
|
||||||
{Keys: "ls", ExtraDelay: 1.5},
|
{Keys: "ls", ExtraDelay: 1.5},
|
||||||
{Keys: ":"},
|
{Keys: ":"},
|
||||||
|
Loading…
Reference in New Issue
Block a user