1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-03-27 23:31:36 +00:00
Commit Graph

3615 Commits

Author SHA1 Message Date
Lukáš Růžička
c8d1d2e320 Update needles for the Tour test. 2025-03-19 12:29:05 +01:00
Lukáš Růžička
283d575427 Update needles for the Gnome archiver test. 2025-03-19 12:15:45 +01:00
Adam Williamson
dd27cedaa9 Initial batch of needle updates for GNOME 48 font and GTK changes
This is a bunch of needles for GTK 4.18 (Rawhide only) and the
change to "Adwaita" fonts by default in GNOME 48 (42 and 43).
This mostly only handles tests that are run on updates, I'll do
compose tests in a separate batch once we have a Rawhide compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-18 14:31:45 -07:00
Adam Williamson
eb4e1b339b Update apps_run_kwrite
It changed very slightly, not sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-18 14:30:03 -07:00
Adam Williamson
f7fe590346 Adjust apps_startstop tests for GNOME 48 changes
GNOME 48 adds a new System folder alongside Utilities, and moves
things around a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-18 14:19:53 -07:00
Adam Williamson
eda3f9b4b6 Move testdata tarball into this repo
Again to reduce direct usage of pagure.io, move the testdata
tarball (used by download_testdata) directly into this repo. For
now it includes repository.tar.gz, which is silly, but I'll send
a follow-up PR to openqa_testdata to drop that file if this works
out. This includes a script to produce the tarball from the base
repository, and adjusts download_testdata to get the tarball from
autoinst_url and update its unpacking logic (as this version of
the tarball has a top-level directory).

Note the tarball in this commit is actually from the branch that
backs https://pagure.io/fedora-qa/openqa_testdata/pull-request/1
to reduce size.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-17 17:17:57 -07:00
Adam Williamson
9cb382095c Get data/scripts via autoinst_url, not Pagure
Various tests use scripts or data that are stored within this
distri itself. To improve reliability and lessen the load on
Pagure, let's move them all to data/ and retrieve them from the
test runner using autoinst_url instead of going out to Pagure.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-17 11:07:29 -07:00
Adam Williamson
93ea483979 Reduce pagure.io usage (WIP)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-17 10:39:33 -07:00
Adam Williamson
adee4b7b8a Update maps walking route needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-14 13:27:30 -07:00
Adam Williamson
e67605cf48 Update akonadi migration notification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-14 13:27:03 -07:00
Adam Williamson
d9881b4a49 os_release: handle F42 being Adams
This doesn't affect most cases of the test as it gets replaced by
a subvariant, but it *does* affect i3.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-12 13:22:28 -07:00
Adam Williamson
50cf03c401 desktop_notifications: wait longer for desktop
KDE seems to be taking quite a while to show up after we go to
graphical.target ATM. I've reported this to the KDE team, but
let's just bump the timeout so the test can pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-12 11:54:58 -07:00
Adam Williamson
13cf507c8b Patch date as well as type for KDE upgrade metadata
For deciding whether to show a release as available for upgrade,
Discover now also checks its date as well as its 'type'. If the
date is in the future, even if the type is stable, it won't show
it unless the allow-pre-releases flag is set.

So, we need to also patch out the date. Just blanking it also
works, but let's hardcode it to the start of 2025 to be a bit
more realistic (in case there's ever a situation where the check
passes with an empty date, but fails with a date it should pass
with).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-12 10:58:40 -07:00
Adam Williamson
2e3eede05d Drop a now-unneeded workaround
The fix for this landed long ago.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-12 10:43:15 -07:00
Lukáš Růžička
ab55ff53de Fix failed needle for abrt_runs 2025-03-07 15:46:06 +01:00
Lukáš Růžička
fa2c55709f Fix prerelease_true needles. 2025-03-07 15:45:02 +01:00
Adam Williamson
eca9dff01f Update live welcome needle (Fedora Linux instead of Fedora)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-06 09:43:27 -08:00
Adam Williamson
183024aaf6 Update a bunch of GNOME needles for Rawhide font change
These are probably(?) using Noto incorrectly for some reason and
will need to get redone again when we have adwaita-font, but oh
well, such is life.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-06 00:04:54 -08:00
Adam Williamson
c720ad1baa Update a cockpit needle for some rendering change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-05 23:54:46 -08:00
Adam Williamson
9015ef027b Add variant disk select needle for webui
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-05 23:53:54 -08:00
Adam Williamson
2310bff15f Update a GNOME Software upgrade needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-05 23:53:25 -08:00
Lukáš Růžička
d240c08a70 Create a test suite for KWrite
This PR creates a basic test suite for KWrite, the KDE text editor.
Its steps follow the Gnome text editor test case to provide the same
level of checking.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/363
2025-03-06 06:59:57 +00:00
Adam Williamson
6bc2a614ba os_release eol tests: skip on CANNED, skip match check on rawhide
these don't work correctly on IoT. Let's just skip them - testing
on the main release should be sufficient. Let's not do the EOL
consistency check on Rawhide, as Rawhide EOL is a pretty notional
concept. They don't line up ATM and I'm not sure we want to spend
too much time trying to make them line up. Let's just focus on
Branched.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-05 16:45:14 -08:00
Lukáš Růžička
7e352e429c Use special start checking on Software.
The enhanced method of menu_launch_type does not cover for
special corner cases, where the application starts in a
specific mode (settings dialogues etc.)

This handles exceptions for Software.
2025-03-05 19:59:40 +00:00
Lukáš Růžička
a7e7823f44 Add tag apps_run_nautilus to apps_run_files needles. 2025-03-05 19:59:40 +00:00
Lukáš Růžička
653fb2938f Enhance the menu_launch_type subroutine.
The previous version of menu_launch_type took the name of the
application as an argument and it started the application.
To maximize the application or to check that it has started indeed
we had to do it manually.

Now, the application also takes "maximize => 1" or "checkstart => 1"
to maximize the application or check that it has started as optional
arguments to avoid doing it manually, while it still accepts just
the name of the application and behaves like it did before.

Note that if you decide to use the checkstart argument, you
also need to update the check-needles.py script to whitelist
the application needle tag, see the example test scripts
attached to this PR.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/329
2025-03-05 19:59:40 +00:00
Lukáš Růžička
891868e77a Avoid update notifications in start-stop tests.
Sometimes, update notification would pop up during the testing
and prevent the needles from being matched correctly.
The addition to the code makes the notifications go away for updates.
2025-03-05 14:16:08 +01:00
Lukas Ruzicka
1e6da7019c Unify the needles' naming scheme between Gnome and KDE.
Before this PR, we would have a different naming scheme
of application running needles for Gnome, a.k.a
apps_run_application, while for KDE we had application_runs.

This PR unifies all name under the Gnome scheme,
replaces the tags in the needles and test scripts.

This PR fixes https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/330
2025-03-04 11:48:45 -08:00
Adam Williamson
c2e1960eee Fix CI for Fedora 41 (dnf 5)
See https://pagure.io/fedora-project-config/issue/340 and
https://github.com/ansible/ansible/issues/84206 . We need to
force install python3-libdnf5 or ansible can't manage packages.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-04 11:31:20 -08:00
Adam Williamson
10a5429ea8 Add a gtkui F43 version ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 16:44:42 -08:00
Adam Williamson
0a42d978f7 Update a couple of navigation needles for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 16:44:20 -08:00
Adam Williamson
8a4440327e Update KDE akonadi notification needle for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 16:43:49 -08:00
Adam Williamson
a5dffbb33b startstop: test fmw on Workstation and KDE
When we added fmw to apps_startstop tests it was only preinstalled
on Silverblue, but now it's on KDE and Workstation too.

Also includes a needle that matches on part of the UI, which
will work on all desktops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 16:40:48 -08:00
Adam Williamson
e51c454e3b rpmostree_rebase: avoid rebase from 42 to 41
it doesn't work, and now 43 is a thing we can use that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 15:35:41 -08:00
Adam Williamson
420e19fa6f navigation/switch_application: wait longer for grant_access
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 15:31:17 -08:00
Adam Williamson
ba0005f062 calendar, maps, weather: wait a bit longer for grant_access
One second doesn't seem to always be enough.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 14:40:38 -08:00
Adam Williamson
f5511a961e Add a workaround needle for skinny box caused by rhbz#2346436
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-19 12:44:19 -08:00
Adam Williamson
d4171d55db Add the F42 night/dark background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-19 12:43:02 -08:00
Adam Williamson
bbbe9f9613 give kiwi_build more CPUs and RAM
More CPUs should speed up the builds a bit (and I *hope* the
hosts can take it, if not we can back this off). More RAM should
prevent erofs live image builds being killed due to OOM, we hope.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-19 11:48:38 -08:00
Adam Williamson
728f785a41 Add kde_doublek_workaround to gwenview aaa_setup
This should reduce the incidence of the test failing due to
double-typing the g in gwenview.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-19 10:20:23 -08:00
Adam Williamson
7a3733d208 desktop_login: handle JPEG-XL backgrounds as well as PNG and webp
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-18 14:39:07 -08:00
Lukáš Růžička
cccd9c54c3 Update webui_install_lang needle 2025-02-18 14:59:13 +01:00
Adam Williamson
bbdefb87cd Add an F42 background needle (day)
We don't have a screenshot of the night one yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-14 15:04:53 -08:00
Adam Williamson
bc7bf1af2d ostree_build: fix for yet another rename in workstation-ostree-config
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-13 23:56:54 -08:00
Adam Williamson
644e6281e4 Flip Workstation live build to Kiwi
...that's now the case in prod for F42+, so let's do it here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-13 16:05:57 -08:00
Lukáš Růžička
c1240ba0cd Allow code name Adams for Fedora 42 in fedora_release file.
Normally, the /etc/fedora-release file shows a text consisting
of "Fedora release" with the version number and a spelt out
version number in brackets.

For Fedora 42, the code name Adams should be used instead to
celebrate Douglas Adams's number of the universe.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/360
2025-02-13 11:28:26 +01:00
Adam Williamson
a55263a637 Fix buildroot repo conditional in _live_build
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-11 23:55:39 -08:00
Adam Williamson
d63c327b16 Unify buildroot repo handling and base it on a variable
This is intended to address the problem that we don't use the
buildroot repo for Branched between branching and u-t activation,
which often causes problems when newly-created updates depend on
builds that recently went stable. So instead of having logic in
the tests that sets up the buildroot repo only if the release is
Rawhide (or ELN), we'll do the decision about whether to set it
up in the scheduler (which decides based on info from Bodhi), and
just have the 'set up the repo' steps in the tests. Let's also
use the same code and repo name for ELN and non-ELN so we don't
have pointless divergence there.

Depends on the matching fedora_openqa change, of course - without
that, no test will use the buildroot repo.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-11 09:47:55 -08:00
Adam Williamson
0b0bf1fcf6 Update a couple of KDE needles for newer KDE bits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-10 17:06:54 -08:00
Adam Williamson
447584c54c Update gnome-text-editor style needles
Looks like the sample text is rendered a bit smaller now. This
changed a few days ago, with new GNOME Shell or GTE or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-10 17:05:28 -08:00