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 {
|
sub rotate_content {
|
||||||
|
|
||||||
# Open the application menu
|
# Send the key combo to rotate the content
|
||||||
assert_and_click("gnome_burger_menu", button => "left", timeout => 30);
|
send_key("ctrl-right");
|
||||||
|
|
||||||
# Click with the *left* button (needle click area might need some correction)
|
|
||||||
assert_and_click("evince_menu_rotate", button => "left", timeout => 30);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
|
Loading…
Reference in New Issue
Block a user