Add a wait_still_screen to the cockpit update changes

Otherwise matching could run ahead of the actual level change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-02-19 11:05:43 -08:00
parent 13e5f176fe
commit 7ad6628d84

View File

@ -20,6 +20,7 @@ sub run {
send_key "backspace"; send_key "backspace";
send_key "backspace"; send_key "backspace";
type_string "info\n"; type_string "info\n";
wait_still_screen 5;
# now click an entry # now click an entry
assert_and_click "cockpit_logs_entry"; assert_and_click "cockpit_logs_entry";
# check we get to the appropriate detail screen # check we get to the appropriate detail screen