0f55d21970
The macOS CI manges to trigger this race. When it happens the "c" inserted by the last command is not seen by the test runner. Let's fix this by adding yet another sleep.
13 lines
497 B
Plaintext
13 lines
497 B
Plaintext
ui_out -ignore 4
|
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "i" ] }'
|
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "a" ] }'
|
|
sleep .1
|
|
ui_in '{ "jsonrpc": "2.0", "method": "mouse_press", "params": [ "left", 0, 2 ] }'
|
|
sleep .1
|
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "b" ] }'
|
|
sleep .1
|
|
ui_in '{ "jsonrpc": "2.0", "method": "mouse_release", "params": [ "left", 0, 4 ] }'
|
|
sleep .1
|
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "c<esc>" ] }'
|
|
sleep .1
|