fix KDE x11_start_program needle, add Gnome needle

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D592
This commit is contained in:
Jan Sedlák 2015-09-17 09:49:55 +02:00
parent f0f4482976
commit 533dd806e2
6 changed files with 39 additions and 6 deletions

View File

@ -26,10 +26,8 @@ sub init() {
sub x11_start_program($$$) { sub x11_start_program($$$) {
my ($self, $program, $timeout, $options) = @_; my ($self, $program, $timeout, $options) = @_;
# TODO: take screenshots of every goddamn 'run command' dialog in
# every goddamn desktop and keep them updated forever
send_key "alt-f2"; send_key "alt-f2";
sleep 3; assert_screen "desktop_runner";
type_string $program; type_string $program;
wait_idle 5; # because of KDE dialog - SUSE guys are doing the same! wait_idle 5; # because of KDE dialog - SUSE guys are doing the same!
send_key "ret", 1; send_key "ret", 1;

View File

@ -0,0 +1,18 @@
{
"area": [
{
"xpos": 356,
"ypos": 356,
"width": 74,
"height": 37,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DESKTOP-gnome",
"ENV-FLAVOR-workstation_live",
"ENV-LANGUAGE-ALL",
"desktop_runner"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -2,8 +2,7 @@
"tags": [ "tags": [
"graphical_login", "graphical_login",
"ENV-DESKTOP-kde", "ENV-DESKTOP-kde",
"ENV-DISTRI-fedora", "ENV-LANGUAGE-ENGLISH",
"ENV-INSTLANG-en_US",
"ENV-FLAVOR-kde_live" "ENV-FLAVOR-kde_live"
], ],
"properties": [], "properties": [],
@ -23,4 +22,4 @@
"type": "match" "type": "match"
} }
] ]
} }

View File

@ -0,0 +1,18 @@
{
"area": [
{
"xpos": 307,
"ypos": 3,
"width": 93,
"height": 29,
"type": "match"
}
],
"tags": [
"desktop_runner",
"ENV-DESKTOP-kde",
"ENV-LANGUAGE-ALL",
"ENV-FLAVOR-kde_live"
],
"properties": []
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 KiB