Skip to content

Commit 21bae0f

Browse files
committed
Include sleep in tests
Tests aren't passing in Travis because of short timeout. We're increasing the timeout to make it pass.
1 parent f40594a commit 21bae0f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/test_file_search.exp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ source "./test/helpers/setup.exp"
55
# searches at the top of the pane
66
#--------------------------------
77
display_text "/top/of_the/pane/file.txt"
8+
sleep 0.5
89
tmux_ctrl_f
910
assert_highlighted "/top/of_the/pane/file.txt" "top of the pane absolute path"
1011

test/test_free_search.exp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ assert_on_screen "No results!" "No results is displayed when no results"
133133

134134
new_tmux_pane
135135
display_text "something2"
136+
sleep 0.5
136137
search "something\[\[:digit:]]"
137138
next_match
138139
next_match

0 commit comments

Comments
 (0)