Skip to content

Commit 83e4080

Browse files
committed
ci: fix flakey test on Windows
1 parent 8772e8f commit 83e4080

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/actions_spec.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ T["actions"]["vimcmd"] = new_set({
141141
__expect_lines = true,
142142
__after_open = function()
143143
child.wait_until(function() return child.lua_get([[_G._fzf_load_called]]) == true end)
144+
if helpers.IS_WIN() then vim.uv.sleep(250) end
144145
end,
145146
no_esc = true,
146147
search = [[Copyright \(c\) -- LICENSE]],

tests/win_spec.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ T["win"]["toggle"][""] = new_set(
275275
__screen_opts = screen_opts,
276276
winopts = { preview = { hidden = true, delay = 0 } },
277277
__after_open = function()
278+
child.wait_until(function() return child.lua_get([[_G._fzf_load_called]]) == true end)
278279
if helpers.IS_WIN() then vim.uv.sleep(250) end
279280
end,
280281
}

0 commit comments

Comments
 (0)