diff --git a/needles/gnome/apps/evince/evince_documents-20210729.json b/needles/gnome/apps/evince/evince_documents-20210729.json new file mode 100644 index 00000000..dd398fef --- /dev/null +++ b/needles/gnome/apps/evince/evince_documents-20210729.json @@ -0,0 +1,15 @@ +{ + "area": [ + { + "xpos": 15, + "ypos": 168, + "width": 15, + "height": 20, + "type": "match" + } + ], + "properties": [], + "tags": [ + "evince_documents" + ] +} \ No newline at end of file diff --git a/needles/gnome/apps/evince/evince_documents-20210729.png b/needles/gnome/apps/evince/evince_documents-20210729.png new file mode 100644 index 00000000..ce2a56f3 Binary files /dev/null and b/needles/gnome/apps/evince/evince_documents-20210729.png differ diff --git a/tests/applications/evince/aaa_setup.pm b/tests/applications/evince/aaa_setup.pm index 14642d4f..184b0493 100644 --- a/tests/applications/evince/aaa_setup.pm +++ b/tests/applications/evince/aaa_setup.pm @@ -47,16 +47,21 @@ sub run { # 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); - + + if (get_var("CANNED")) { + # open the Documents folder. + assert_and_click("evince_documents", button => "left", timeout => 30); + } + # Select the evince.pdf file. assert_and_click("evince_file_select_pdf", button => "left", timeout => 30); # Click the Open button to open the file assert_and_click("gnome_button_open", button => "left", timeout => 30); - + # Fullsize the Evince window. send_key("super-up"); - + # Check that the file has been successfully opened. assert_screen("evince_file_opened"); }