mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
clocks/timer: don't always expect 'start' button
Since 46, the 1 minute button is a quickstart, it doesn't just set the timer but starts it. So we can't always expect to have to click the start button. Let's keep it working both ways for now for respin testing, we can drop it once we're sure we're not doing any testing on F39 any more. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
394794989b
commit
6b6cd20956
@ -15,7 +15,11 @@ sub run {
|
||||
assert_screen("clocks_timer_page");
|
||||
assert_and_click("clocks_button_timer_minute");
|
||||
wait_still_screen(2);
|
||||
assert_and_click("clocks_button_timer_start");
|
||||
# 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)) {
|
||||
click_lastmatch;
|
||||
}
|
||||
sleep(10);
|
||||
assert_and_click("clocks_button_timer_pause");
|
||||
assert_screen("clocks_timer_paused");
|
||||
|
Loading…
Reference in New Issue
Block a user