mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Extend handle_welcome_screen to cover new KDE welcome tour
KDE has a welcome tour now, on F38 and Rawhide at least. Let's "handle" it with extreme prejudice... Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6976e2e7c9
commit
ddb3f44c57
@ -755,7 +755,8 @@ sub console_initial_setup {
|
||||
}
|
||||
|
||||
sub handle_welcome_screen {
|
||||
# handle the 'welcome' screen on GNOME. shared in a few places
|
||||
# handle the 'welcome' screen on GNOME and KDE since F38. shared
|
||||
# in a few places
|
||||
if (check_screen "getting_started", 45) {
|
||||
send_key "alt-f4";
|
||||
# for GNOME 40, alt-f4 doesn't work
|
||||
|
16
needles/kde/getting_started-kde-20230222.json
Normal file
16
needles/kde/getting_started-kde-20230222.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"height": 32,
|
||||
"ypos": 376,
|
||||
"width": 25,
|
||||
"type": "match",
|
||||
"xpos": 493
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"DESKTOP-kde",
|
||||
"getting_started"
|
||||
]
|
||||
}
|
BIN
needles/kde/getting_started-kde-20230222.png
Normal file
BIN
needles/kde/getting_started-kde-20230222.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 461 KiB |
@ -86,7 +86,12 @@ sub run {
|
||||
# neither var is set, without needing an extra condition
|
||||
my $sat = get_var("START_AFTER_TEST", "1");
|
||||
my $dut = get_var("DEPLOY_UPLOAD_TEST", "2");
|
||||
handle_welcome_screen if ($desktop eq 'gnome' && $sat ne $dut && !get_var("_WELCOME_DONE"));
|
||||
my $relnum = get_release_number;
|
||||
handle_welcome_screen if (
|
||||
($desktop eq 'gnome' || $desktop eq 'kde' && $relnum > 37) &&
|
||||
$sat ne $dut &&
|
||||
!get_var("_WELCOME_DONE")
|
||||
);
|
||||
if (get_var("IMAGE_DEPLOY")) {
|
||||
# if this was an image deployment, we also need to create
|
||||
# root user now, for subsequent tests to work
|
||||
|
Loading…
Reference in New Issue
Block a user