1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 06:43:08 +00:00

Tweak clocks timer test flow a little

It doesn't make sense to wait for a still screen while a timer is
running.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-07-02 14:44:47 -07:00
parent be0b4ee1ec
commit 2fbafd16dc

View File

@ -14,10 +14,10 @@ sub run {
# Add a new alarm using the one minute button
assert_screen("clocks_timer_page");
assert_and_click("clocks_button_timer_minute");
wait_still_screen(2);
# since GNOME 46, that was a 'quickstart', on older GNOME we
# have to hit start; remove this when no more F39 testing
if (check_screen("clocks_button_timer_start", 5)) {
wait_still_screen(2);
click_lastmatch;
}
sleep(10);