mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-17 10:41:27 +00:00
Open Documents folder on Silverblue
The open dialog on Silverblue (which is apparently not at all the same thing as the open dialog on Workstation, though they look the same) does not default to the Documents folder, so we have to open it. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
5905546f6e
commit
5b1d3517fe
15
needles/gnome/apps/evince/evince_documents-20210729.json
Normal file
15
needles/gnome/apps/evince/evince_documents-20210729.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 15,
|
||||
"ypos": 168,
|
||||
"width": 15,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_documents"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/evince/evince_documents-20210729.png
Normal file
BIN
needles/gnome/apps/evince/evince_documents-20210729.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user