1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-05-04 08:31:34 +00:00

Try clicking Skip on the KDE welcome tour thing

It seems like just closing it results in it showing up again on
the next boot...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-02-21 19:57:19 -08:00
parent a99178732a
commit 4254906308
2 changed files with 32 additions and 18 deletions

View File

@ -758,9 +758,16 @@ sub handle_welcome_screen {
# handle the 'welcome' screen on GNOME and KDE since F38. shared # handle the 'welcome' screen on GNOME and KDE since F38. shared
# in a few places # in a few places
if (check_screen "getting_started", 45) { if (check_screen "getting_started", 45) {
send_key "alt-f4"; if (get_var("DESKTOP") eq "kde") {
# for GNOME 40, alt-f4 doesn't work # just closing it seems to result in it running again on
send_key "esc"; # next boot, so let's click Skip
click_lastmatch;
}
else {
send_key "alt-f4";
# for GNOME 40, alt-f4 doesn't work
send_key "esc";
}
wait_still_screen 5; wait_still_screen 5;
} }
else { else {

View File

@ -1,16 +1,23 @@
{ {
"area": [ "area": [
{ {
"height": 32, "height": 57,
"ypos": 376, "type": "match",
"width": 25, "width": 30,
"type": "match", "xpos": 493,
"xpos": 493 "ypos": 361
} },
], {
"properties": [], "height": 16,
"tags": [ "type": "match",
"DESKTOP-kde", "width": 15,
"getting_started" "xpos": 211,
] "ypos": 100
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"getting_started"
]
} }