mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-11-30 12:56:01 +00:00
GNOME application tests: robustify various spots with waits
These tests are failing a lot in various places on aarch64. We just need to slow down a bit and let the poor thing catch up sometimes. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
76f226ad9d
commit
4cb816e52d
@ -22,10 +22,13 @@ sub run {
|
|||||||
menu_launch_type("evince");
|
menu_launch_type("evince");
|
||||||
# Check that is started
|
# Check that is started
|
||||||
assert_screen 'apps_run_dviewer';
|
assert_screen 'apps_run_dviewer';
|
||||||
|
wait_still_screen 5;
|
||||||
|
|
||||||
# Open the test file to create a starting point for the other Evince tests.
|
# Open the test file to create a starting point for the other Evince tests.
|
||||||
# Click on Open button to open the File Open Dialog
|
# Click on Open button to open the File Open Dialog
|
||||||
assert_and_click("evince_open_file_dialog", button => "left", timeout => 30);
|
assert_and_click("evince_open_file_dialog", button => "left", timeout => 30);
|
||||||
|
# wait out the animation
|
||||||
|
wait_still_screen 5;
|
||||||
|
|
||||||
if (get_var("CANNED")) {
|
if (get_var("CANNED")) {
|
||||||
# open the Documents folder.
|
# open the Documents folder.
|
||||||
@ -43,6 +46,8 @@ sub run {
|
|||||||
|
|
||||||
# Check that the file has been successfully opened.
|
# Check that the file has been successfully opened.
|
||||||
assert_screen("evince_file_opened");
|
assert_screen("evince_file_opened");
|
||||||
|
# let things settle down before we screenshot.
|
||||||
|
wait_still_screen 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
|||||||
@ -21,11 +21,13 @@ sub run {
|
|||||||
menu_launch_type("gedit");
|
menu_launch_type("gedit");
|
||||||
# Check that it started
|
# Check that it started
|
||||||
assert_screen("apps_run_texteditor");
|
assert_screen("apps_run_texteditor");
|
||||||
|
wait_still_screen 5;
|
||||||
|
|
||||||
# Open the test file
|
# Open the test file
|
||||||
send_key("ctrl-o");
|
send_key("ctrl-o");
|
||||||
|
|
||||||
# Open the documents location
|
# Wait out animation, then open the documents location
|
||||||
|
wait_still_screen 5;
|
||||||
assert_and_click("gnome_open_location_documents");
|
assert_and_click("gnome_open_location_documents");
|
||||||
|
|
||||||
# Choose the file
|
# Choose the file
|
||||||
@ -39,6 +41,8 @@ sub run {
|
|||||||
|
|
||||||
# Check that the document has been opened
|
# Check that the document has been opened
|
||||||
assert_screen("gedit_text_file_opened");
|
assert_screen("gedit_text_file_opened");
|
||||||
|
# let things settle down before we screenshot
|
||||||
|
wait_still_screen 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user