mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
fix KDE x11_start_program needle, add Gnome needle
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D592
This commit is contained in:
parent
f0f4482976
commit
533dd806e2
@ -26,10 +26,8 @@ sub init() {
|
||||
|
||||
sub x11_start_program($$$) {
|
||||
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";
|
||||
sleep 3;
|
||||
assert_screen "desktop_runner";
|
||||
type_string $program;
|
||||
wait_idle 5; # because of KDE dialog - SUSE guys are doing the same!
|
||||
send_key "ret", 1;
|
||||
|
18
needles/gnome_desktop_runner.json
Normal file
18
needles/gnome_desktop_runner.json
Normal 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"
|
||||
]
|
||||
}
|
BIN
needles/gnome_desktop_runner.png
Normal file
BIN
needles/gnome_desktop_runner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
@ -2,8 +2,7 @@
|
||||
"tags": [
|
||||
"graphical_login",
|
||||
"ENV-DESKTOP-kde",
|
||||
"ENV-DISTRI-fedora",
|
||||
"ENV-INSTLANG-en_US",
|
||||
"ENV-LANGUAGE-ENGLISH",
|
||||
"ENV-FLAVOR-kde_live"
|
||||
],
|
||||
"properties": [],
|
||||
@ -23,4 +22,4 @@
|
||||
"type": "match"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
18
needles/kde_desktop_runner.json
Normal file
18
needles/kde_desktop_runner.json
Normal 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": []
|
||||
}
|
BIN
needles/kde_desktop_runner.png
Normal file
BIN
needles/kde_desktop_runner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 784 KiB |
Loading…
Reference in New Issue
Block a user