1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-02-16 12:34:32 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Adam Williamson
358695e417 doublek_workaround: tweak to work for other letters too
In a couple of cases we type something that *doesn't* start with
a 'k', so we should use that other letter for the workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:54:35 -07:00
Adam Williamson
4ca41e5b71 tidy _installer_build
Missing ; . Oops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:47:41 -07:00
Adam Williamson
22387fddfb Update KDE notification icon needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:45:31 -07:00
Adam Williamson
6146b6eba9 Update map_zoomed needle for OSM changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:45:16 -07:00
Adam Williamson
f96f591e46 keyring tests: use check_desktop
These lines were sort of doing the same thing, only much less
safely.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:43:43 -07:00
10 changed files with 41 additions and 10 deletions

View File

@ -1767,11 +1767,13 @@ sub start_applications {
# close operation before we do anything 'real'. this is repeated in
# several tests so we share it here
sub kde_doublek_workaround {
my %args = @_;
$args{key} //= 'k';
wait_screen_change { send_key 'super'; };
wait_still_screen 3;
send_key "k";
send_key $args{key};
wait_still_screen 5;
send_key "esc";
send_key 'esc';
}
1;

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 197,
"xpos": 415,
"ypos": 362,
"type": "match",
"height": 162
}
],
"properties": [],
"tags": [
"maps_map_zoomed"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -0,0 +1,16 @@
{
"area": [
{
"type": "match",
"height": 18,
"xpos": 731,
"width": 18,
"ypos": 728
}
],
"properties": [],
"tags": [
"DESKTOP-kde",
"desktop_icon_notifications"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 678 KiB

View File

@ -29,10 +29,10 @@ sub run {
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
}
if (lc($version) eq "eln") {
$cmd .= " --variant=BaseOS --nomacboot --volid=Fedora-eln-BaseOS-${arch}"
$cmd .= " --variant=BaseOS --nomacboot --volid=Fedora-eln-BaseOS-${arch}";
}
else {
$cmd .= " --variant=Everything --volid=Fedora-E-dvd-${arch}"
$cmd .= " --variant=Everything --volid=Fedora-E-dvd-${arch}";
}
$cmd .= " --repo=/etc/yum.repos.d/workarounds.repo" if (get_workarounds);
$cmd .= " --repo=/etc/yum.repos.d/koji-rawhide.repo" if ($version eq $rawrel);

View File

@ -130,8 +130,7 @@ sub perform_login {
my $password = shift;
send_key("ret") if ($desktop eq "gnome");
type_very_safely("$password\n");
wait_still_screen(3);
send_key("esc");
check_desktop;
}
sub run {

View File

@ -80,8 +80,7 @@ sub perform_login {
my $password = shift;
send_key("ret") if ($desktop eq "gnome");
type_very_safely("$password\n");
wait_still_screen(3);
send_key("esc");
check_desktop;
}
sub run {

View File

@ -8,7 +8,7 @@ sub run {
my $relnum = get_release_number;
check_desktop;
# try and avoid double-typing issues
kde_doublek_workaround if (get_var("DESKTOP") eq "kde");
kde_doublek_workaround(key => 't') if (get_var("DESKTOP") eq "kde");
menu_launch_type('terminal');
assert_screen "apps_run_terminal";
wait_still_screen(stilltime => 5, similarity_level => 42);

View File

@ -24,7 +24,7 @@ sub run {
# run the updater
if ($desktop eq 'kde') {
# try and avoid double-typing issues
kde_doublek_workaround;
kde_doublek_workaround(key => 'd');
menu_launch_type('discover');
# Wait for it to run and maximize it to make sure we see the
# Updates entry