mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
Handle GNOME 40 now starting at overview, not desktop
For consistency, let's just return to the desktop right away. We also need to handle closing the overview before running installer on live image boot. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
4758782d56
commit
1e5d767fa3
@ -856,6 +856,9 @@ sub check_desktop {
|
|||||||
@_
|
@_
|
||||||
);
|
);
|
||||||
assert_screen "apps_menu_button", $args{timeout};
|
assert_screen "apps_menu_button", $args{timeout};
|
||||||
|
# GNOME 40 starts on the overview by default; for consistency with
|
||||||
|
# older GNOME and KDE, let's just close it
|
||||||
|
send_key "alt-f1" if match_has_tag "apps_menu_button_active";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub download_modularity_tests {
|
sub download_modularity_tests {
|
||||||
|
19
needles/gnome/apps_menu_button_active-20210304.json
Normal file
19
needles/gnome/apps_menu_button_active-20210304.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 15,
|
||||||
|
"ypos": 9,
|
||||||
|
"xpos": 15,
|
||||||
|
"width": 67,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"DESKTOP-gnome",
|
||||||
|
"ENV-DISTRI-fedora",
|
||||||
|
"LANGUAGE-english",
|
||||||
|
"apps_menu_button",
|
||||||
|
"apps_menu_button_active"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps_menu_button_active-20210304.png
Normal file
BIN
needles/gnome/apps_menu_button_active-20210304.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 447 KiB |
17
needles/gnome/login_gdm_input-20210304.json
Normal file
17
needles/gnome/login_gdm_input-20210304.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"type": "match",
|
||||||
|
"width": 56,
|
||||||
|
"ypos": 422,
|
||||||
|
"height": 41,
|
||||||
|
"xpos": 402
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"graphical_login_input",
|
||||||
|
"DESKTOP-gnome",
|
||||||
|
"LANGUAGE-english"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/login_gdm_input-20210304.png
Normal file
BIN
needles/gnome/login_gdm_input-20210304.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@ -113,7 +113,9 @@ sub run {
|
|||||||
else {
|
else {
|
||||||
# on lives, we have to explicitly launch anaconda
|
# on lives, we have to explicitly launch anaconda
|
||||||
if (get_var('LIVE')) {
|
if (get_var('LIVE')) {
|
||||||
assert_and_click("live_start_anaconda_icon", timeout=>300);
|
assert_screen ["live_start_anaconda_icon", "apps_menu_button_active"], 300;
|
||||||
|
send_key "alt-f1" if match_has_tag "apps_menu_button_active";
|
||||||
|
assert_and_click("live_start_anaconda_icon");
|
||||||
unless (check_screen "anaconda_select_install_lang", 180) {
|
unless (check_screen "anaconda_select_install_lang", 180) {
|
||||||
# click it again - on KDE since 2019-10 or so it seems
|
# click it again - on KDE since 2019-10 or so it seems
|
||||||
# like the first attempt sometimes just doesn't work
|
# like the first attempt sometimes just doesn't work
|
||||||
|
Loading…
Reference in New Issue
Block a user