1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-12-01 13:26:01 +00:00
Commit Graph

3951 Commits

Author SHA1 Message Date
Lukáš Růžička
ea86d034a1 Add working needles for Calculator 2025-10-08 12:57:59 +02:00
Adam Williamson
deedc53bb2 Revert "disable fwupd in desktop_update_graphical"
This reverts commit 1a8f7e466c.
Current Plasma Discover complains if fwupd is masked. I just hope
tests don't start failing on fwupd errors again now. Sigh.
2025-10-06 17:06:17 -07:00
Adam Williamson
ecae6fb851 Add FreeIPA bump rebuilds to workarounds to fix upgrade tests
FreeIPA team bumped the F41 NVR past the F42 one, so now upgrade
tests from F41 to F42 are broken. To workaround this we need
bumped rebuilds for F42, F43 and F44, because if only do F42 the
problem moves to F42->F43 upgrades, etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-03 13:42:07 -07:00
Adam Williamson
c0c49766c8 Enable everything-boot-iso update tests on aarch64
I did this to check the size of an image built with a lorax
scratch build I was testing, but then figured heck, why not also
do it permanently?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-02 17:13:16 -07:00
Lukáš Růžička
6e860d5d2c Fix tag names on needles 2025-10-01 13:00:26 +02:00
Lukáš Růžička
5006fc935a Add needles which have been failing 2025-10-01 09:36:27 +02:00
Adam Williamson
7aaf42a220 Run desktop_keyring on KDE on updates
81d5d2f408 inadvertently dropped
this, then I carried that change over in the profile group
rewrite. I never intended to turn it off on KDE, though - it was
likely just a git rebase mishap or something. So let's turn it
on for KDE by using the "updates-desktops" profile group like we
do for all the others.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-29 16:27:48 -07:00
Lukáš Růžička
cbd251d65c Add mouse move and mouse click
The top panel stays in the application and does not hide. I might be
caused by the mouse being in top area which normally invokes the
panel to appear. Let's move the mouse and click into the middle
of the screen to free the top area.
2025-09-26 14:09:47 +02:00
Lukáš Růžička
6504998d0a Fix the doubled login name
For some reason, the login name is filled in double time.
Let's fix it with adding more wait time and also an extra
delete key to wipe the field properly.
2025-09-26 13:39:40 +02:00
Adam Williamson
783cdb6e03 Add an rmdepcheck test for updates (WIP)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-22 12:22:23 -07:00
Adam Williamson
6a41721d5d g-i-s: also expect no 'software' page on Silverblue F43
The change is now landed on f43 workstation-ostree-config too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-22 12:21:51 -07:00
Lukáš Růžička
b8f27609c4 Fix a failed needle for WebUI 2025-09-22 16:12:54 +02:00
Adam Williamson
a7fa13f2b0 g-i-s: don't expect 'software' on Rawhide Silverblue
See https://pagure.io/workstation-ostree-config/pull-request/682

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-20 23:02:04 -07:00
Adam Williamson
1f809d5e9b correct slow typing in keyring tests
can't just pass the value when using enter_cmd, we have to name
the arg.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 15:52:29 -07:00
Adam Williamson
e479774c25 desktop_browser: wait a bit longer to settle before launch
This is failing a few times on aarch64 ATM due to heavy load.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 12:53:37 -07:00
Adam Williamson
13d8965212 Slow type commands at graphical console in keyring tests
It's not safe to fast-type things at graphical consoles. This is
failing quite a lot on aarch64 currently due to heavy load on
the worker hosts. Slow typing should help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 12:49:48 -07:00
Adam Williamson
f818c0c38e give podman tests even longer temporarily
still getting some failures at 1800, so let's bump to 3600 and
also bump MAX_JOB_TIME to accommodate.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 11:12:35 -07:00
Adam Williamson
8caf3f9c80 Bump timeouts for podman tests
These seem to be timing out a lot currently on aarch64, probably
due to the heavy load caused by the Python update flood.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-19 08:11:28 -07:00
Adam Williamson
c344af14d5 static network: disable greenboot on IoT (#2396605)
In IoT F43 and F44 at present, greenboot is failing if networking
is not immediately available on boot. Well, on our tests that use
static networking, it isn't. So that's a problem. Let's have the
static networking setup test stop greenboot if it's running on
IoT, that should get around this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-18 16:09:27 -07:00
Adam Williamson
04cadc2257 Replace gis_tz_search_active needles with a non-cursor one
Matching on the cursor isn't reliable as it flashes and animates
a bit. Let's just match on an area to the right - this is
sufficient because the box doesn't have the blue surround unless
it's active.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-17 12:50:18 -07:00
Lukáš Růžička
b862803104 Comment on sleeps to make AI happy 2025-09-17 13:35:59 +02:00
Lukáš Růžička
ae9e757384 Change subroutine to test Functions
Calculator changed the way functions are organized within the
application which broke the current Calculator test.

This fixes the subroutine to test for Functions and makes the
test reliable again.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/428
2025-09-16 23:30:07 -07:00
Adam Williamson
fa8e16aff8 desktop_login: slow type the 'whoami' check
Now we can slow type in assert_script_run, let's do it, and make
this more reliable (I hope). It gets mistyped a lot currently,
especially on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-16 23:28:05 -07:00
Adam Williamson
94d36a1e13 Retry more dnf commands
I'm seeing more test failures due to
https://github.com/rpm-software-management/dnf5/issues/2435 .
This retries more common dnf commands to try and workaround the
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-16 10:27:37 -07:00
Adam Williamson
6d36010207 setup_repos: retry createrepo_c install up to 4 times
See https://github.com/rpm-software-management/dnf5/issues/2435 .
Lately this is sometimes failing because something else holds a
lock on the RPM database. To work around that, let's try again a
few times if it fails, with a bit of a wait.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-12 17:42:57 -07:00
Adam Williamson
ed817bf0f3 desktop_update_graphical: handle multiple key import prompts
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-12 16:29:24 -07:00
Adam Williamson
4c0e889e05 Fix install_rdp_server on aarch64 by passing console=tty0
This is a bit ugly but I can't think of another way to pass it
only on aarch64. Could try and factor out the other various
instances of the string against this variable, I guess, but I
don't feel like it right now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-11 17:01:04 -07:00
Adam Williamson
aedc74e3b1 Enable apps_startstop on aarch64 etc.
Similarly to desktop_login, now we have more (and more reliable)
aarch64 resources, we should run this test everywhere. We need
a variant apps_run_kfind needle for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-11 16:03:40 -07:00
Adam Williamson
7a89077ecb Enable desktop_login test on aarch64
This test isn't run on aarch64 (probably because it was too slow
or unreliable on the old hardware). Let's turn it on. We still
can't run it on Silverblue because the background hacks don't
work there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-11 15:58:57 -07:00
Adam Williamson
831edb906b Add a variant Cockpit logs entry needle
When systemd is at the top of the list there's a bit of a grey
highlight that throws off the match.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 19:00:30 -07:00
Adam Williamson
184d13e391 Update Papers annotations needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 19:00:05 -07:00
Adam Williamson
9e22524b35 Update a bunch of gnome-calculator needles for a cursor change
The cursor in gnome-calculator somehow changed between the 1.1
and 1.2 Beta candidates. It now looks a bit weird and slanted
(it's an optical illusion caused by odd anti-aliasing).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 18:55:08 -07:00
Adam Williamson
97705ecbc0 Enable KDE update tests on aarch64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-10 08:13:12 -07:00
Lukáš Růžička
46133ad5a3 Prolong wait time for flscr enabled in terminal
In a virtual machine, it takes a couple of seconds for the
upper panel to go away and show the terminal prompt.
Let's make it wait 60 seconds to be absolutely sure.
2025-09-10 15:25:35 +02:00
Lukáš Růžička
b8f71506f1 Add various needles to make tests pass 2025-09-10 15:22:57 +02:00
Adam Williamson
c209e568a1 Update a couple of GNOME needles for some change in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-09 18:05:20 -07:00
Adam Williamson
2115b90d66 Update a couple more KDE needles for new background
These don't show up immediately...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-09 18:02:30 -07:00
Adam Williamson
e3ceaf8d33 Tweak gnome-text-editor shortcuts needles
We need to replace the existing needle with one with a match area
on the 2 button, as explained in the recent commit where we
changed the test behavior. This is for Silverblue, where the old
UI is still present for now, so we need the assert_and_click on
the first shortcut page to press the '2' button for things to
work.

The removed needles all have not matched for months or years, so
let's get rid of them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-08 23:31:02 -07:00
Adam Williamson
3a2f45ef50 kleopatra: handle launch with no self-check page
In Rawhide we're not seeing the self-check page, we're going
straight to the app. Handle that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:33:35 -07:00
Adam Williamson
60232a960d Update an anaconda-blivet needle for element being pre-selected
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:26:10 -07:00
Adam Williamson
4ae661a946 Update an anaconda webui needle for a UI element size change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:25:36 -07:00
Adam Williamson
f27ba622f2 Update gnome-text-editor shortcut needles for 49 RC
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:25:00 -07:00
Adam Williamson
800a4a285b Update KDE notification needle for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:21:54 -07:00
Adam Williamson
25f79a87ff Update various misc GNOME needles for 49 RC changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:05:52 -07:00
Adam Williamson
b1135920a3 Update GNOME panel needles for 49 RC changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:04:00 -07:00
Adam Williamson
71ae74cc8f Update GNOME Maps needles for recent 49 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:02:59 -07:00
Adam Williamson
d5ba7a4f9e webui: use 1GB for /boot and /boot/efi
512MB is too small, we're getting size warnings on the tests with
latest Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 15:01:29 -07:00
Adam Williamson
2dc3407547 Simplify gte shortcuts test for GNOME 49 RC
There's no 'go to 2' button any more, we'll just click a random
section (Windows) and check that. This would also work fine for
the old style if we still need that - just add the '2' button to
gte_shortcuts_one and make sure it's the click area.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 14:13:49 -07:00
Adam Williamson
8fb84cd458 _boot_to_anaconda: use welcome launcher for KDE too
This means we don't need the double-click logic, and it seems to
be more reliable on F43+.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 11:34:46 -07:00
Adam Williamson
1b0fc55758 Update IoT greenboot passed needle
The messages we get on greenboot passing changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-09-06 11:18:04 -07:00