1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-10-28 14:05:59 +00:00
Commit Graph

1472 Commits

Author SHA1 Message Date
Adam Williamson
9153204111 papers: don't check multiple pages of shortcuts
we really don't need to, and the new design that's currently in
Workstation but not yet Silverblue makes it awkward. Just check
one page.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 16:10:37 -07:00
Adam Williamson
58e96dc16b papers: only hit apply if it's there
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 15:57:18 -07:00
Adam Williamson
0f4e91c993 menu_launch_type: don't wait_still_screen for animated apps
This is intended for things like system monitor where there's
constant motion on the app screen so we can't wait_still_screen.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 15:02:03 -07:00
Adam Williamson
ef0c7892b5 whoops, add a wait
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 14:38:04 -07:00
Adam Williamson
e803dae04d maps: tweak export test steps to get correct filename
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 14:37:39 -07:00
Adam Williamson
2fe8338f8c webui: uncheck "Use local account" when appropriate
If the test settings indicate not to create a local user account,
let's uncheck the relevant box. This should fix the KDE
install_no_user test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-25 12:45:48 -07:00
Adam Williamson
b7c03d20ae Drop kgpg start/stop test
It's been removed:
https://pagure.io/fedora-comps/c/f475b5a50d029d307324a43186a182c3c0bdc74c?branch=main
same on F43. We don't run this test on older branches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-21 11:59:06 -07:00
Adam Williamson
ae72f8f954 Drop rhythmbox start/stop test, it was removed from comps
See https://pagure.io/fedora-comps/pull-request/1147 - rhythmbox
was dropped from the default Workstation package set.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-20 10:28:46 -07:00
Adam Williamson
57518db365 Enable desktop background test on F43 except for KDE
KDE needs a kde-settings update, but everything else should be
showing the new background now. Add a needle for it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-18 09:44:45 +02:00
Adam Williamson
edf9b2515f desktop_login: update lock screen bug link
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-08 23:19:31 +02:00
Adam Williamson
0bf2003526 desktop_update_graphical: deal with annoying notification
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-07 23:23:54 +02:00
Lukas Ruzicka
e4bb6f5ecf Inform about not testing for F43 2025-08-06 12:12:01 +02:00
Lukas Ruzicka
3f1c43e0ca Do not test for background for 43 2025-08-06 12:07:31 +02:00
Lukas Ruzicka
531a7899e4 Increase wait time for Third Party check 2025-08-06 11:22:11 +02:00
Adam Williamson
8e77d8f35d Correct a bug reference
This bug number was just wrong.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-01 10:52:02 -07:00
Adam Williamson
d43b28bb9a Tweak _boot_to_anaconda web UI flow
We never get direct to installmethod any more, I'm pretty sure -
we always go through language selection. This may change if we
ever fix up the gnome-initial-setup stuff, but for now let's
simplify.

However, web UI now has a date/time page that shows on KDE but
apparently not on GNOME. So if we hit that, click through it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-31 23:21:27 -07:00
Adam Williamson
bb75e1a425 gnome-software: handle dnf5 key import prompt
GNOME Software with the dnf5 backend prompts for GPG key import
if it hasn't already happened. We need to handle that. Luckily
I don't think we can get both this *and* the 'download unsigned'
needle, so we just make them alternates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-30 16:56:40 -07:00
Adam Williamson
597658b47f Reapply "Run desktop_login test on updates"
This reverts commit 0b58c35eb6.
Now we worked around the other lock screen bug, this should be OK.
2025-07-30 15:11:10 -07:00
Adam Williamson
ff256eb741 Work around another lock screen issue in desktop_login
We don't crash on the lock screen in Rawhide GNOME now, but my
fix isn't perfect - the pointer is somehow broken on the lock
screen, so we can't click anything. tab doesn't work either, so
we just can't switch user from the lock screen till this is
fixed better. So for GNOME on Rawhide, we'll skip switching from
the lock screen and just do another 'normal' switch.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-30 15:05:00 -07:00
Adam Williamson
0b58c35eb6 Revert "Run desktop_login test on updates"
This reverts commit 6b734bd9fa. It
seems the test still fails at a later stage due to issues with
the lock screen, even though I was sure it passed on staging. Gr.
2025-07-29 23:35:36 -07:00
Adam Williamson
6b734bd9fa Run desktop_login test on updates
It's a useful test. We have to skip the final power down, though,
so _advisory_post can run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-29 11:52:51 -07:00
Lukáš Růžička
188fe0f006 Update PR after review 2025-07-29 15:07:35 +00:00
Lukáš Růžička
f9c0433acb Show details if an error appears.
When Software complains about something, it shows a grey banner
in the lower part with a button to click (Details).
The update test has not utilized this anyhow, so if it happened,
we would not know what the error was.
This fix makes sure to click on the Details button when it
appears, revealing the reason behind it, which could help
us understand what happened.
2025-07-29 15:07:35 +00:00
Adam Williamson
115003e0ca podman: run upstream integration tests both rootless and rooted
Thanks to @luap99 for the neat idea here. It's valuable to run
the upstream integration tests both rooted and rootless - some
of the tests are unique to each mode, and other tests may pass
in one but fail in the other. However, we don't want to double
the execution time of the test. We could duplicate the test and
have rooted/rootless versions, but that increases load.

This is a neat trick: instead, just run the tests with root on
x86_64 but rootless on other arches (which for now is just
aarch64). This way we should get pretty much full coverage with
the same test execution time and overall load as before.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-25 12:26:55 -07:00
Adam Williamson
d91ca76f44 podman: invert bats' filter behavior, filter failing test
Until https://github.com/bats-core/bats-core/pull/1114 we can't
easily filter out specific tests in a bats run. So let's hack it
up with a sed that just negates the behavior of --filter - we
don't need to use its default behavior. Then we can use --filter
to filter out specific tests, like this. Use it to filter out
the test that's known to fail with recent kernels.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-24 13:33:37 -07:00
Paul Holzinger
feb37e232f podman: run full system tests
Don't run only a minor subset of the tests instead run all of them. The
main advantage is that we get much better coverage and upstream don't
need to maintain an extra subset of tags. Of course tests will be much
slower now as it will now run like 11x the amount of test cases.

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

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-07-24 12:36:01 -07:00
Adam Williamson
d1af8f12d4 podman: run the http server test rootless
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-23 16:24:00 -07:00
Adam Williamson
88a79fe69a Fix check_default_fonts for rootless podman breakage (#2334165)
rootless podman was broken on new installs because shadow-utils
was changed not to assign subuid/subgid ranges to new users by
default, because Security.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-23 12:09:03 -07:00
Lukáš Růžička
d12a4173fb Add new Calculator tests for added buttons
New button were added to the Calculator's Basic view,
which allow access to constants and functions. In this test,
we check some of the constants and functions.
2025-07-18 15:20:55 +02:00
Adam Williamson
7d0e7a590c RDP client: wait for server before pinging
This has always incorrectly been a race, it looks like, but for
some reason we were winning it before but we're losing it now.
The client seems to be pinging while the server's still typing
stuff into grub. So let's have the server set a mutex, and the
client wait for it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-17 09:56:34 -07:00
Lukáš Růžička
694997be49 Quickfix Calculator
Some of the buttons disappeared from the basic view of the applications.
This, for the times being, removes the operations that used these
buttons, for the application test to pass again.
2025-07-17 13:32:31 +02:00
Adam Williamson
a65ac551a4 _check_install_source: drop old stuff, update for dnf5
All the old patterns we accept and differing files they might be
in are obsolete now, I'm pretty sure - I checked that in F41
tests we get the most recent messages and they're all in syslog.
So drop all of those. But we need to add new handling for dnf5,
now anaconda switched to that and the messages changed again.

I can't find any messages in the dnf5 logs that confirm the
correct URL was used, unfortunately - these are the best I can
find.

Also, since 31cd5e7 , we won't get the base repository error
strings we're looking for any more, even if there *is* a problem
with the base repo. I don't think there's any single error we
can rely on getting any more, so we'll have to trust that the
other checks are sufficient, or figure out ones to add as we go
along if not.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-16 15:47:42 -07:00
Lukáš Růžička
5dee9ea4ed Second page does not exist, removing check. 2025-07-16 14:27:21 +02:00
Lukáš Růžička
9b48b3c53d Check for DND in settings. 2025-07-16 14:12:43 +02:00
Lukáš Růžička
a10802efbf Remove check for DND slider as this is moved. 2025-07-16 12:50:10 +02:00
Lukáš Růžička
f58778ef7f Pass _boot_to_anaconda and _do_install on KDE webUI
This handles differences in webUI's appearance on the KDE live,
compared to the GNOME live which suppresses keyboard layout
selection, user creation and root password creation. By Lukas,
modified by Adam.
2025-07-10 00:43:24 -07:00
Adam Williamson
27b2859339 Upgrades: don't install target release packages in repo_setup
F42 to F43 upgrades suddenly started failing, and I think this
is why - we actually wind up installing packages from the target
release in setup_repos (called from repo_setup), because we set
up the buildroot repo then run some dnf commands. Let's tweak
that so for upgrade tests we create the buildroot repo disabled
at first, then enable it in upgrade_run.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-10 00:18:54 -07:00
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