1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-15 09:51:34 +00:00
Commit Graph

1435 Commits

Author SHA1 Message Date
Lukáš Růžička
d232a19bb7 Get rid of the Libre Office First Time warning.
This fix dismisess the first time warning in LibreOffice,
but we only apply it to LCalc test because they run
for the first time.
2025-07-04 17:21:35 +02:00
Adam Williamson
3fcb9ae9a9 Drop IoT zezere tests
zezere is retired in F42:
https://fedoraproject.org/wiki/Changes/Retire_Zezere
it didn't work in F41 either, so let's just get rid of these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-06-25 17:50:47 +01:00
Lukáš Růžička
6182253c3a Fix the dual menu issue on language screen. 2025-06-24 15:31:36 +02:00
Adam Williamson
d2dbfb0f7f cockpit updates: wait out a UI reload issue
See https://github.com/cockpit-project/cockpit/issues/22064

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-06-03 07:58:30 -07:00
Adam Williamson
51d99d6ec6 Plasma Vault: drop the backend check
Latest Vault doesn't have multiple encryption backends any more,
so there is no indication of the one being used here any more.
Let's just drop the check.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-26 14:34:09 -07:00
Paul Holzinger
2bdd412700
podman: load null_blk module for test
It is required with podman 5.5.0 for the "podman run --device-read-bps"
test. If we don't load it the test will be skipped and we loose some
coverage.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-20 16:45:09 +02:00
Paul Holzinger
a6c662b653
Revert "podman: skip failing test on kernel >= 6.15-rc4"
This reverts commit 72b5d8d262.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-05-20 16:41:25 +02:00
Lukáš Růžička
b3463c5746 Add tests for Papers to replace Evince tests.
This test suite replaces the Evince test suite and
adds altered scripts and needles to go with the
Papers applications. At the same time, it provides
the same level of functionality and testability
as the original evince test.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/377
2025-05-16 10:08:34 -07:00
Adam Williamson
51aafcdab5 sigh, brackets again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:57:57 -07:00
Adam Williamson
9270eb80ed upgrade_run: allowerasing has to be even later?
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:56:19 -07:00
Adam Williamson
31baf35106 argh, missing bracket
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:44:43 -07:00
Adam Williamson
f8a02ef07a upgrade_run: with dnf 5, --allowerasing has to be later
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-09 00:42:41 -07:00
Paul Holzinger
72b5d8d262
podman: skip failing test on kernel >= 6.15-rc4
We will fix that test upstream but for now skip it to prevent false
positives on all future kernel updates.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-30 13:38:33 +02:00
Adam Williamson
d6733652af keyring: type/check 'kwallet', not 'kwalletmanager'
This is how the test did it before the big menu_launch_type
commit, and we use 'kwallet' in another test. Doing this needs an
additional needle or needle tag, which is pointless, let's just
be consistent that it's 'kwallet'.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-26 10:47:43 -07:00
Lukáš Růžička
0190f38677 Use the new features of menu_launch_type in code.
We have enhanced the menu_launch_type to allow for
start checking and maximizing applications.
This PR uses the new functions wherever it seems
logical.
If special logic was used for certain cases,
we have not touched these to preserve the
exact behaviour.

The crash workaround for the Fonts flatpak is dropped because it
no longer seems to be needed with the latest version of the
flatpak, and dropping it simplifies this migration.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/358
2025-04-25 14:40:54 -07:00
Lukáš Růžička
999b3dbd44 Replace Evince and Videos for Papers and Showtime in Rawhide.
Fedora Rawhide (to be 43) has new applications that replace
the older ones, namely Papers replacing Evince and Showtime
replacing the Totem.

We are adding a condition to run correct applications on Rawhide
while retaining the older applications for a while until the change
has been made in whole.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/375
2025-04-24 15:59:59 -07:00
Adam Williamson
37338a2325 os_release: drop PLATFORM_ID check
PLATFORM_ID is dropped in latest fedora-release, so let's just
not bother checking it any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-24 15:39:13 -07:00
Adam Williamson
3d84dae071 navigation: ensure totem is removed to fix upgrade test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:44:26 -07:00
Adam Williamson
bc18660a27 Update cockpit tests and needles for cockpit 337
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-23 16:41:17 -07:00
Paul Holzinger
f95de0a058
podman: set PODMAN_TESTING env
The system tests need that location in order to use the right binary
path from the rpm.

ref: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/373

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-23 17:38:13 +02:00
Adam Williamson
5fdc716c32 navigation/play_video: update for showtime
Video player in Rawhide changed from Totem to Showtime, so we'd
better update for that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 17:49:53 -07:00
Adam Williamson
eb66c61e8a Update desktop_printing for Evince -> Papers switch
This test uses a document viewer, so we need to tweak it to work
with the new one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-22 14:48:12 -07:00
Adam Williamson
b2aedd5f12 _boot_to_anaconda: drop installer launch retry loop
This seems to be sometimes *causing* problems now. In some cases,
the first launch actually worked but we don't wait long enough
for anaconda to show up, so we launch it twice, and that can
cause failures like https://bugzilla.redhat.com/2360859 .

I did a dry run for a few days on staging and just dropping the
loop entirely didn't seem to produce any failures-to-launch, so
maybe the various bugs we added this for in the first place have
all gone away? Let's try dropping it. If we run into failure-to
-launch problems again, we can add it back but bump the timeout
or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-19 11:29:21 -07:00
Adam Williamson
2ad64b307a Simplify RDP client flow and update needles
In two cases we don't need separate needles for identifying a
screen and then clicking something on it: we can just also use
the thing-to-click for identification purposes. Also remove the
connect_button-verify needle which has never matched (it matches
on the Verify button but has the tag for the Connect button, no
idea why), and update all the needles for the new GNOME fonts.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-17 18:15:30 -07:00
Adam Williamson
6381857741 Test that transient media don't create UEFI bootloader entries
Oh, no particular reason or anything. *ahem*
https://bugzilla.redhat.com/2358785
This should cover a decent range of transient bootable media,
ensuring the UEFI fallback mechanism doesn't kick in if you're
just booting the installer or live environment.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-16 15:50:27 -07:00
Adam Williamson
0d5adaa2d0 tweak rpmostree_rebase logic for CoreOS again
the streams changed...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-15 15:12:15 -07:00
Adam Williamson
d6e453b665 podman: give test install command even longer to run
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-14 08:45:15 -07:00
Adam Williamson
718f41f667 De-duplicate kwalletmanager app run needles
We have apps_run_kwallet and apps_run_kwalletmanager. We do not
need both.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 10:03:15 -07:00
Adam Williamson
2a9eabc3d8 gwenview: move mouse in fullscreen test
There's now a header bar in fullscreen mode which appears until
you move the mouse away from it, and screws up the needle match.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 09:54:12 -07:00
Adam Williamson
2c4f6d7c9a Try to sort out abrt 'app runs' needles
This got messed up in 1e6da7019c
where the KDE needles all got renamed to apps_run_abrt* and their
tags changed to apps_run_abrt, but the KDE *test* was not changed
to look for apps_run_abrt instead of abrt_runs, so we wound up
creating a whole new bunch of abrt_runs needles so we had *three*
sets of needles...

This rationalizes it down to the needles that actually match in
current tests, properly renames them all to apps_run_abrt and
updates the KDE test to look for that tag, and adds a couple of
new needles for the recent downgrade of the app.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:15:42 -07:00
Adam Williamson
26c526bf2d os_release: Update expected edition name for KDE
I think it should be OK to do this without any fancy conditions.
It'll fail for F41 respins, but eh. May fail for F42 nightlies
until we push the update stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-09 11:59:15 -07:00
Adam Williamson
6c34e580f3 Revert "blivet_btrfs_preserve_home: tweak root deletion"
This reverts commit 41df5e63e5.
Ugh, turns out we can't delete the 'container'.
2025-04-04 12:13:18 -07:00
Adam Williamson
41df5e63e5 blivet_btrfs_preserve_home: tweak root deletion
Trying to fix the frequent failures of this test, still. I don't
think we need the loop if we make sure to select the *parent*
entry in the list, which the needle tweaks should ensure, but
we might need to click twice to ensure it's selected and not
delete the entire btrfs volume by mistake, which is what we keep
doing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-04 12:05:55 -07:00
Adam Williamson
394249079f Stop wiping the openh264 repo
This caused problems (particularly with the more obscure package
install paths like cockpit and realmd) before, but I don't really
like removing it, as it differs from real-world usage. Tests are
currently failing because of a bug in this repo wiping - in
upgrade_preinstall, we should wipe the file again after the
dnf -y update --refresh call, in case that reinstalls it - but
instead of fixing that, let's try just leaving the file alone.

The risk here is that we run into problems when the repo doesn't
exist, again. In theory we should not because it has
skip_if_unavailable=True , and everything *should* respect that.
But if it does turn out to still be a problem we'll have to
revert this and fix upgrade_preinstall.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-03 12:52:30 -07:00
Adam Williamson
b14f82d002 upgrade_run: use --best
Same justification as for the main update test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 17:13:19 -07:00
Adam Williamson
0890217b9b tidy the rpmostree_rebase change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 17:12:47 -07:00
Adam Williamson
1b8aa92df5 rpmostree_rebase: tweak coreos rebase targets
Because of the 'can't go from > 41 to <= 41' issue, we need to
tweak the coreos rebase targets to get the tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 16:10:13 -07:00
Adam Williamson
a9daf32c5d fonts/install.pm: hit tab 60 times for the flatpak
...because every font is shown twice, sigh. See:
https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/48

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 15:48:48 -07:00
Adam Williamson
f538b50511 blivet_btrfs_preserve_home: slow down root deletion a bit
it seems like sometimes we delete the entire btrfs volume instead
of the root device we're trying to delete; I think this is
because we click delete *immediately* after clicking the device,
and that might be too fast. Let's see if a wait_still_screen
helps. See:

https://openqa.fedoraproject.org/tests/3353598
https://openqa.fedoraproject.org/tests/3299570

etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-02 15:36:11 -07:00
Adam Williamson
d1882b9e89 Add a post-install 'are all packages signed' check (#369)
This came up in blocker bug meeting discussion today. We really
should check that all packages are signed after a default install.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-01 15:43:59 -07:00
Adam Williamson
b48db9e50a kiwi_build: give a dnf install a bit longer to run
Seems to be timing out quite often, probably a slow scriptlet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-24 15:43:18 -07:00
Adam Williamson
78c90aea0d startstop contacts: be consistent with contacts aaa_setup
@lruzicka recently made this test click through the setup page,
if it sees it...but he used new needles (which he didn't commit)
even though we already have those same needles as part of the
detailed contacts app test.

This setup page always appears, we don't need to check for it,
and we don't need separate needles to identify the page and to
click on the local address book option. All we need to do is the
same as we do in aaa_setup: unconditionally look for and click
the local address book option, using the already-existing needle.
So let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-21 08:40:51 -07:00
Adam Williamson
3a3806f44b navigation: move a window so we can see one behind it
Seems like GNOME 48 changed window size/positioning a bit, we
have to move the text editor so it will still be visible when
the file manager window is in the front.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 16:10:22 -07:00
Adam Williamson
b2df642474 navigation: give video grid a bit longer to show up
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 15:55:40 -07:00
Adam Williamson
9715d39928 navigation: fix details check logic
The current check never fails - if we don't see the details after
30 seconds, we never actually assert them. We may or may not
soft fail, but we'll never fail.

This simplifies the check (there's no need to specifically look
for the 'loading' screen) and makes it actually fail if the
details don't show up in 90 seconds total.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 15:14:04 -07:00
Adam Williamson
c04484a079 loupe: use gnome_selector_credits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 14:05:17 -07:00
Adam Williamson
84b7094911 gnome-text-editor: handle 48 UI changes, update needles
The 'settings' menu is replaced by an 'info' panel, and *most* of
the things from 'settings' moved to 'preferences'. But Document
Type is in the 'info' panel. Just to make things fun. The grid
feature is gone. And of course all the needles needed updating
for the new font. The flatpak build is still 47 and so has the
old UI but the new font, and line spacing in it seems slightly
different, so we need conditional paths and more needles. Yay.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-20 12:11:52 -07:00
Adam Williamson
f474c9a9ed Adjust fonts/info.pm to look for Adwaita, not Cantarell
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 18:56:50 -07:00
Adam Williamson
f6a843727c Be consistent about credits, website and legal selectors
Most GNOME apps now have a standardized About screen with links
(not buttons) for credits, website and links. Lukas called these
'selectors', which I like - but inconsistently; as well as
generic gnome_selector_foo needles, we have some app-specific
needles, and some with 'button' in the name.

Let's always call these 'selectors', always use generic needle
names (since the same needles should match for almost all apps),
and have the one remaining case where we have a 'button' (the
credits button in Evince) be the variant case, handled by putting
'button' in the needle name, but using the same tag as other
needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 17:39:32 -07:00
Adam Williamson
066b5a7809 Drop pointless gnome_add_button_blue needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 13:53:23 -07:00