1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-10-21 10:58:48 +00:00

papers: only hit apply if it's there

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-08-25 15:57:18 -07:00
parent a3dd914d2d
commit 58e96dc16b

View File

@ -39,7 +39,12 @@ sub run {
assert_and_click("gnome_button_select");
assert_and_dclick("papers_opacity_hundred");
type_very_safely("70");
assert_and_click("gnome_button_apply");
if (check_screen("gnome_button_apply", 10)) {
click_lastmatch;
}
else {
send_key('esc');
}
assert_screen("papers_annotation_placed"); # Different opacity
# Remove the annotation.