mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-10-21 18:58:49 +00:00
papers: only hit apply if it's there
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
a3dd914d2d
commit
58e96dc16b
@ -39,7 +39,12 @@ sub run {
|
|||||||
assert_and_click("gnome_button_select");
|
assert_and_click("gnome_button_select");
|
||||||
assert_and_dclick("papers_opacity_hundred");
|
assert_and_dclick("papers_opacity_hundred");
|
||||||
type_very_safely("70");
|
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
|
assert_screen("papers_annotation_placed"); # Different opacity
|
||||||
|
|
||||||
# Remove the annotation.
|
# Remove the annotation.
|
||||||
|
Loading…
Reference in New Issue
Block a user