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

3449 Commits

Author SHA1 Message Date
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
Adam Williamson
6d2974f722 keyring: simplify and make more robust
This avoids some magic waits by asserting screens (which is much
more reliable), and combines KDE and GNOME flows in the
passwordless test by adding some needle tags to the nautilus
needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-06 08:02:03 -07:00
Adam Williamson
c65071f879 Add ffmpeg 7.0 update as a workaround for F41
It's stable now, and
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8b18ef8dfb
needs it, let's add it as a workaround so we don't have to wait
for a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-05 15:44:52 -07:00
Adam Williamson
52f3897eec Clear existing workarounds, they are all stable now
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-05 15:44:28 -07:00
Adam Williamson
52af1011dc Update a couple of KDE needles for recent changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-05 09:23:42 -07:00
Adam Williamson
9d2a6b6652 Update dracut root logged in needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:24 -07:00
Adam Williamson
3244d17d67 Update gnome-panel screen locked needle for changed icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:02 -07:00
Adam Williamson
24bbce64a3 Update a gnome-keyring needle for a recent change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:42 -07:00
Adam Williamson
28dfad9743 Update various loupe needles for latest version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:00 -07:00
Adam Williamson
14b48e7bca Update console-in-toolbox needle for latest toolbox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:29:40 -07:00
Adam Williamson
b0e6f2bc0c Adapt to changed KDE upgrade flow
We have to hit a drop-down now before we can tell it to restart
automatically.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:25:51 -07:00
Adam Williamson
aebdf08eb5 clocks: tweak how we select the hour text
double-click doesn't seem very reliable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:20:07 -07:00
Adam Williamson
70271f1397 toolbox: handle changed uname string in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 16:19:46 -07:00
Adam Williamson
91f4a24b20 Also add FEDORA-2024-cb1e9f47a3 as F41 workaround
The new NetworkManager update needs it. Lack of composes is
starting to bite us more, need to get one through.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-03 12:18:30 -07:00
Adam Williamson
31691a317b Add a higher-NVR build of FreeIPA as a workaround for F42
The freeipa package in F41 got bumped to a higher NVR than the
one in F42, which causes FreeIPA upgrades to fail.

See: https://src.fedoraproject.org/rpms/freeipa/pull-request/22

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-03 10:12:01 -07:00
Adam Williamson
0b5aabcc57 Add FEDORA-2024-e331cd53ac as a workaround for F41
Another update depends on it. It's gone stable already, but we
are having issues with composes ATM so it hasn't made a compose.
It's safe to do this as we can be sure the depended-on update
will be in the next stable compose whenever it completes, so we
can't wind up in an inconsistent state.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-02 16:26:17 -07:00
Adam Williamson
d109fbdb43 Rename i3_tilling to i3_tiling
This is the correct name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 16:56:55 -07:00
Lukas Ruzicka
092cc5dd05 Move the content from i3 library to the files.
Over the time, we have changed the test scripts so that the code
in the i3.pm library was no more needed. The only leftover was the
user config subroutine that could be moved to the only file that was
using it and we could get rid of the library file.
2024-09-26 16:06:43 -07:00
Lukas Ruzicka
c392480f92 Rebase the PR to fit within the current status quo. 2024-09-26 16:04:59 -07:00
Dan Čermák
4315e5ff6f Add openQA tests for i3 2024-09-26 16:04:59 -07:00