mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-18 05:24:30 +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");
|
||||
# Check that is started
|
||||
assert_screen 'apps_run_dviewer';
|
||||
wait_still_screen 5;
|
||||
|
||||
# Open the test file to create a starting point for the other Evince tests.
|
||||
# Click on Open button to open the File Open Dialog
|
||||
assert_and_click("evince_open_file_dialog", button => "left", timeout => 30);
|
||||
# wait out the animation
|
||||
wait_still_screen 5;
|
||||
|
||||
if (get_var("CANNED")) {
|
||||
# open the Documents folder.
|
||||
@ -43,6 +46,8 @@ sub run {
|
||||
|
||||
# Check that the file has been successfully opened.
|
||||
assert_screen("evince_file_opened");
|
||||
# let things settle down before we screenshot.
|
||||
wait_still_screen 5;
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
@ -21,11 +21,13 @@ sub run {
|
||||
menu_launch_type("gedit");
|
||||
# Check that it started
|
||||
assert_screen("apps_run_texteditor");
|
||||
wait_still_screen 5;
|
||||
|
||||
# Open the test file
|
||||
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");
|
||||
|
||||
# Choose the file
|
||||
@ -39,6 +41,8 @@ sub run {
|
||||
|
||||
# Check that the document has been opened
|
||||
assert_screen("gedit_text_file_opened");
|
||||
# let things settle down before we screenshot
|
||||
wait_still_screen 5;
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
Loading…
Reference in New Issue
Block a user