mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-01-02 23:53:08 +00:00
Fix the rotation test by using a keyboard shortcut.
This commit is contained in:
parent
95fefe87e6
commit
e519786e91
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 784,
|
||||
"type": "match",
|
||||
"ypos": 421,
|
||||
"width": 61,
|
||||
"height": 18
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_rotate"
|
||||
]
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 113 KiB |
@ -1,15 +0,0 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 18,
|
||||
"width": 61,
|
||||
"type": "match",
|
||||
"ypos": 422,
|
||||
"xpos": 784
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"evince_menu_rotate"
|
||||
]
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 115 KiB |
@ -7,11 +7,8 @@ use utils;
|
||||
|
||||
sub rotate_content {
|
||||
|
||||
# Open the application menu
|
||||
assert_and_click("gnome_burger_menu", button => "left", timeout => 30);
|
||||
|
||||
# Click with the *left* button (needle click area might need some correction)
|
||||
assert_and_click("evince_menu_rotate", button => "left", timeout => 30);
|
||||
# Send the key combo to rotate the content
|
||||
send_key("ctrl-right");
|
||||
}
|
||||
|
||||
sub run {
|
||||
|
Loading…
Reference in New Issue
Block a user