tests(neovim): Increase wait time

The addition of the neovim plugins made the initial time to open longer
than 5 seconds and thus failed the tests.

Note that using an alternative method like machine.wait_for_text() is
probably better in the long run to avoid flaky tests.
This commit is contained in:
Donovan Glover 2024-05-20 13:37:33 -04:00
parent 566e479f32
commit e077bb8ff4
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -33,18 +33,18 @@ in
machine.send_chars("nvim hello.txt")
machine.sleep(1)
machine.send_key("ret")
machine.sleep(5)
machine.sleep(20)
machine.send_chars("i")
machine.sleep(1)
machine.sleep(2)
machine.send_chars("Hello world")
machine.sleep(1)
machine.sleep(2)
machine.send_key("esc")
machine.sleep(1)
machine.sleep(2)
machine.send_chars(":wq")
machine.sleep(1)
machine.sleep(2)
machine.send_key("ret")
machine.sleep(1)
machine.sleep(2)
text = machine.succeed("cat /home/user/hello.txt")