1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

g-i-s: we always need two tabs to get to password confirm now

F38 is the oldest thing we test, and it has this flow. So let's
just drop the check here and always hit tab twice.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-02-14 15:23:37 -08:00
parent 9ffd181bbd
commit bd25bdac69
3 changed files with 2 additions and 43 deletions

View File

@ -949,14 +949,9 @@ sub gnome_initial_setup {
my $user_password = get_var("USER_PASSWORD") || "weakpassword";
type_very_safely $user_login;
wait_screen_change { assert_and_click "next_button"; };
# temporarily (until the versions are stable) we need to check
# whether we're on 43 or 44 here
my $extratab = 0;
$extratab = 1 if (check_screen 'initial_setup_44', 5);
type_very_safely $user_password;
send_key "tab";
# on GNOME 44+ we need a second tab here to reach the confirm box
send_key "tab" if ($extratab);
# two tabs to get to the confirm box since GNOME 44
type_string "\t\t";
type_very_safely $user_password;
wait_screen_change { assert_and_click "next_button"; };
send_key "ret";

View File

@ -1,36 +0,0 @@
{
"area": [
{
"xpos": 717,
"ypos": 226,
"width": 22,
"height": 22,
"type": "match"
},
{
"xpos": 757,
"ypos": 228,
"width": 23,
"height": 20,
"type": "match"
},
{
"xpos": 718,
"ypos": 368,
"width": 22,
"height": 22,
"type": "match"
},
{
"xpos": 757,
"ypos": 371,
"width": 22,
"height": 17,
"type": "match"
}
],
"properties": [],
"tags": [
"initial_setup_44"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB