1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-23 14:33:08 +00:00
Commit Graph

3468 Commits

Author SHA1 Message Date
Lukáš Růžička
b42137a28a Add tests to templates. 2024-11-06 15:54:21 -08:00
Adam Williamson
eb78e04325 mediakit_fileconflicts: we need to install python3-dnf now
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 12:29:30 -08:00
Adam Williamson
ce00bc94f1 blivet: more workarounds for issues with anaconda wayland port
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 11:42:12 -08:00
Adam Williamson
8a54cff407 support_server: use --use-host-config with --installroot
dnf5 needs us to do this to make it use the repo config from the
host, rather than expecting there to be one inside the target
install root. This test should now always run on F41 with dnf5,
so let's just change it unconditionally.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 11:17:42 -08:00
Adam Williamson
63ae1774cb blivet btrfs preserve home: workaround filesystem list issue
See https://bugzilla.redhat.com/show_bug.cgi?id=2324231 - since
the port to Wayland, the entry we need in the filesystem list is
not visible at first, we need to scroll the list to find it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 11:06:24 -08:00
Lukas Ruzicka
d69af30671 Add needle to check running Abrt. 2024-11-06 16:29:08 +01:00
Lukas Ruzicka
a0564f47aa Fix needles for Help-viewer itself. 2024-11-06 16:17:45 +01:00
Lukas Ruzicka
75406ee7f4 On Network tests, authenticate if need be. 2024-11-06 12:15:48 +01:00
Lukas Ruzicka
977d491e8b Fix Help needles throughout various applications. 2024-11-05 17:40:36 +01:00
Adam Williamson
11820faa84 Add variant star_selected_file needle for ARM
This looks different on ARM tests, not really sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:59:34 +08:00
Adam Williamson
aa6ff861d2 Update webUI install done needle for word change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:56:47 +08:00
Adam Williamson
79bad931ce Update getting started needle for F41 final SB
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:54:50 +08:00
Adam Williamson
f15f1e0bd7 Update Firefox download complete needle for new Firefox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:52:23 +08:00
Lukas Ruzicka
6d793de3f9 Fix software selection glitch. 2024-10-24 20:48:42 +02:00
Adam Williamson
de4cb908ba Add extra click for Network & Host Name spoke also
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 16:35:37 -07:00
Adam Williamson
d3c97a64be anaconda on wayland: also click on other spoke launchers
It's not just Installation Destination, on aarch64 at least we
have lots of tests failing because entering the source or software
selection spokes didn't work. Let's try extra clicks for these
too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 16:32:45 -07:00
Adam Williamson
9ec6d3bf23 Drop four retries on encrypted upgrade tests
We added this to try and mitigate #2274770 but that is now fixed
so it's no longer needed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 11:58:57 -07:00
Adam Williamson
b3b39a79d9 Add FEDORA-2024-b3e53a2b43 as workaround for Rawhide
This fixes the systemd-homed service start failure due to SELinux
denial.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 08:42:44 -07:00
Adam Williamson
905376e320 Drop workarounds which have gone stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 08:42:25 -07:00
Adam Williamson
69534aa8fc Update various needles for anaconda on Wayland
Seems this changed rendering of some things a bit, not sure why,
probably different font hinting.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:11:02 -07:00
Adam Williamson
9f327ab7a0 Update getting_started needle for GNOME
It rendered slightly differently in a recent test, dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:08:35 -07:00
Adam Williamson
e2b856c675 Add another variant of the archive-created-with-bad-icon needle
Dunno why this changed again, but now it's grey and with a
slightly different but still wrong icon.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:06:45 -07:00
Adam Williamson
39981c39ea Update several needles for F40 respin tests
Recent F40 respin tests hit several failures due to differences
in apperance to Rawhide, here's the fixes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:04:56 -07:00
Adam Williamson
8e974f291a Update a bunch of Maps needles for change in recent Rawhide
It seems Maps now shows an indicator on the map when you search
for a place, which threw off a lot of needles.

Also the place info boxes seem to all be broken, I'll file that
when I get around to it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:02:37 -07:00
Lukas Ruzicka
c4a87f2ae2 Let Maps use a new export flow. 2024-10-17 12:39:20 +02:00
Lukas Ruzicka
eae4ef7a1f Add needles for Silverblue Fonts. 2024-10-17 12:05:53 +02:00
Adam Williamson
2769fb7e58 Add missing ; in navigation aaa_setup.pm
Lukas left this out in his earlier commit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 17:17:37 -07:00
Adam Williamson
50464f5522 Update console_in_toolbox needle for latest toolbx on FCOS
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 17:08:49 -07:00
Adam Williamson
11044fe96c Update one gnome_button_delete needle variant
I am honestly not sure exactly when we hit this needle, but we
did at least once, and it's mentioned in the comment in the test.
Huh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 17:07:58 -07:00
Adam Williamson
aa0d887155 Update ELN needles for a font rendering change
Looks like the new anaconda build causes font hinting to be
slightly different for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 16:57:20 -07:00
Adam Williamson
5f1a8eb355 select_disks: workaround failed first Destination click
In tests of the Rawhide anaconda update that ports to Wayland,
we often hit failures because the first attempt to click on
Installation Destination doesn't work. This only happened on prod
(not staging), it didn't happen every time (but quite often), and
we can't reproduce it manually, so it seems like a weird glitch
that we should just work around. Simply waiting a second and
clicking again seems to do the job, and should be safe even if
the first click works (the second click will just be on an empty
area of the Installation Destination screen, unless we have like
eight disks attached).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 12:49:57 -07:00
Adam Williamson
d761df56b2 Add gjs user switch crash fix update as workaround for F41
This should allow us to turn the desktop_login test back on for
updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 11:01:32 -07:00
Adam Williamson
b4910cee94 Add F40 and F41 kwin sluggishness fix updates as workarounds
All the KDE flakiness lately is likely caused by the recurrence
of https://bugzilla.redhat.com/show_bug.cgi?id=2312900 , which
came back because the patch to fix it was inadvertently dropped.
This adds the F40 and F41 updates that re-introduce the patch as
workarounds to address the sluggishness.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 10:57:59 -07:00
Adam Williamson
d194b9d2af Drop a workaround that's already stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 10:57:26 -07:00
Lukáš Růžička
c0fab57f18 Set timestamp on notification. 2024-10-16 12:07:04 +02:00
Lukáš Růžička
04704dc912 Add a needle to match the Pause button on Clocks. 2024-10-16 11:58:15 +02:00
Lukáš Růžička
b1d3fae677 Add a needle for people icons in Chars 2024-10-16 11:18:24 +02:00
Adam Williamson
81d5d2f408 Drop Cheese flatpak from F39 ostree installer builds
The others have all been rebased to F41, so we had to bump the
Platform version to 41, but since Cheese is kinda dead these
days, its flatpak hasn't been bumped, and that makes building
the F39 ostree installer image fail. To work around this, sed
it out of the pungi config.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-15 12:47:00 -07:00
Adam Williamson
5cd10597e0 Bump flatpak 'stable' number to 41
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-13 15:26:23 -07:00
Adam Williamson
5c2b2e6c29 Agh, that kde_doublek_workaround needs to be KDE-only
Note to self: do not commit "one simple fix" at midnight then go
to bed

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-11 08:40:04 -07:00
Adam Williamson
87b572e535 Put a kde_doublek_workaround back in keyring_password
We do a menu_launch_type for kwalletmanager, so we'd better keep
a doublek workaround before that :/

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-11 00:18:27 -07:00
Adam Williamson
5ad36cf3c7 Add a needle for a changed PDF file icon in nautilus
It seems to be a bug, see:
https://gitlab.gnome.org/GNOME/evince/-/issues/2051

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 13:33:44 -07:00
Adam Williamson
145bbb10af Add a couple more missing needles for KDE user switch test
Sigh, forgot these in the PR.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 12:37:39 -07:00
Adam Williamson
d4b17daeaa Add a couple of needle variants for KDE login test
These seem to be needed as a consequence of the previous commit
changes to desktop_login, not sure why, maybe something to do
with no longer opening the kicker once before we start doing
power actions.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 10:33:49 -07:00
Adam Williamson
e9e967c4bf Consistently use desktop_launch_terminal
Also be a bit more consistent about asserting we saw a terminal
and waiting a bit before typing stuff. We can drop the doublek
workarounds from the keyring tests as we no longer use the
kicker to launch the terminal on KDE (we use ctrl-alt-t shortcut).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 17:19:00 -07:00
Adam Williamson
1f4324b270 abstract desktop terminal launch, refactor user switch, enable for KDE
This started out as just factoring out the repeated pattern for
launching a terminal on the desktop that came in with the i3
tests. But as I worked on desktop_login, which is a major user
of it, I noticed some potential cleanups and improvements in the
user switching stuff, and also realized we can turn that test
back on for KDE now - user switching was re-enabled in KDE a year
ago and is advertised to be reliable.

I don't think the "switch user from a lock screen" test fully
worked before, as we did not verify that we'd really switched
back to an existing session rather than starting a new one. Now
we do. Using the terminal to verify the logged-in user on all
desktops just keeps things simpler than using the kicker menu
on KDE (though if typing proves unreliable on KDE I may switch
this back).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 17:16:13 -07:00
Adam Williamson
b7487e97e9 Fix menu_launch_type for i3
Without this, all we did on i3 was hit alt-d and...do nothing,
we didn't type the app name.

I was confused at how we didn't notice this before, but it looks
like at present menu_launch_type isn't actually used in any
test we run on i3 (a lot of tests that use it to run a terminal
got a branch for i3 which uses alt-enter instead). This is an
obvious landmine, though, and it caused things to look weird
when rebasing #323 (which is how I noticed the bug).

This also refactors the sub to use the same logic for all
desktops, just with a different key for i3, since they really
all work the same. i3 doesn't need as much waiting as the other
desktops, probably, but it doesn't really hurt and keeps the code
simple.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 11:40:31 -07:00
Adam Williamson
ec34439004 Tweak desktop_printing launch/maximize a bit to make more robust
We seem to be having quite a few failures lately because the
viewer window in KDE never got maximized. This makes us a bit
more conservative at startup and puts the maximization / sentence
check in a send_key_until_needlematch loop to give it more
chances.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 13:27:25 -07:00
Adam Williamson
7955c092d6 Add yet another KDE printing sentence needle
Saw slightly different rendering in at least one run on staging.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 09:05:18 -07:00
Adam Williamson
d88c8e4335 Add several more tests to the desktop update test set
There's no obvious reason we're not also running these tests on
updates, so let's do it. We have to skip the advisory and UEFI
post checks for desktop_login as the last step of that test is
shutting down the system.

We leave out desktop_login for now because of
https://gitlab.gnome.org/GNOME/gjs/-/issues/647

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 08:51:35 -07:00