1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-16 02:11:42 +00:00
Commit Graph

1435 Commits

Author SHA1 Message Date
Lukáš Růžička
af6b696692 Update the needles for the Gnome start_stop tests.
This updates the necessary needles and also add some minor
changes to workaround differences in behaviour.
2025-03-19 15:54:14 +01: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
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
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
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
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
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
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
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
ec79aa0bc4 podman: twiddle flow a bit, give dnf command a little longer
We don't really need two separate CANNED conditionals and two
dnf commands, let's flip it around like this, and give the
remaining command 300 seconds not 240.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-10 14:05:06 -08:00
Adam Williamson
da8208fd03 ostree_build: give tool install a bit longer
It's timing out a lot ATM with openQA being heavily loaded...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:42:37 -08:00
Adam Williamson
f8810b67b4 disable desktop_background on f42 temporarily
We don't have a new f42 background yet, so this will always fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 00:13:23 -08:00
Adam Williamson
1a8f7e466c disable fwupd in desktop_update_graphical
This isn't a test of fwupd, and we seem to be having issues with
it in openQA lately - I think maybe the fwupd server is blocking
openqa because we're hitting it too much? Anyway, let's disable
it for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-05 23:58:08 -08:00
Adam Williamson
590ee0c90e toolbox.pm: bump tested RHEL to 9.5
9.1 is gone from UBI repo now it seems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-01 10:03:30 -08:00
Adam Williamson
dfd26e0505 Add initial webUI custom install tests (xfs, ext4)
This adds two initial custom layout install tests for webUI, and
wires up some library functions for other tests to use. They may
need refining over time but this should be good enough for a
start.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-30 15:45:20 -08:00
Lukáš Růžička
a9397e200f Add checks for SUPPORT_END (EOL) in /etc/os-release.
Fixes #347.

This PR adds two tests to check the EOL written in the
/etc/os-release file. The first test checks that the
SUPPORT_END value lies at least 12 months in the future.
The second test checks the EOL values in Fedora Schedule,
Bodhi, and /etc/os-release if they are the same.
2025-01-29 17:07:50 +00:00
Adam Williamson
aaf6018485 Tweak desktop_update_graphical download/apply handling for fwupd
Now fwupd is showing us dbx updates, it seems we get *both* a
"Restart & Update..." button *and* a "Download" button at the
same time. If we click Restart & Update without clicking Download
first, package updates aren't applied.

So, tweak this logic yet again so that it 'breaks the tie' in
the way we want (if both buttons are present, click the download
one, take download out of the tags, and go to the next loop
iteration). Hopefully this solves the problem without breaking
any other paths.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:32:55 -08:00
Adam Williamson
f473de351c webui: handle language selection screen
webui has a language selection screen as of anaconda-42.24-1, so
handle it. For now still handle it not appearing, we can drop
that path once the update is stable and in a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 11:30:07 -08:00
Adam Williamson
4ff2865ff7 desktop_update_graphical: give third party screen a bit longer
I've seen several failures where this just took more than ten
seconds to appear.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-20 10:54:29 -08:00
Adam Williamson
256731a63a ostree_build: ensure python3-rpm is available for updvercheck
We've *usually* already installed it for bodhi or koji clients
(on the update and task paths), but on the COPR path, we have
not, and updvercheck crashes. If it's already there this will
do nothing and return 0 so it's OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-13 15:13:33 -08:00
Adam Williamson
f3dd65e0f0 Revert "ostree: use a pr branch on f40 to fix issue with rpm-ostree update"
This reverts commit d8e4e9cd97.
The fix was merged.
2025-01-08 17:21:41 -08:00
Adam Williamson
d8e4e9cd97 ostree: use a pr branch on f40 to fix issue with rpm-ostree update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-08 13:47:38 -08:00
Adam Williamson
08660df950 Tweak desktop_login to workaround #2335913
Close the kicker menu if it's still open.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-06 09:41:32 -08:00
Lukas Ruzicka
242d687e38 Rewrite tests from VNC to RDP
The VNC installation method has been replaced with a similar method
based on RDP. This PR uses the old mechanism and alters it for the
RDP method.

The test suite consists of two parts, a server and a client part.
The server is the real test on which Fedora Custom installation
is performed from the client via RDP.

The client is spinned off the pre-installed desktop image.

Fixes #345
2024-12-20 12:36:08 -08:00
Adam Williamson
1cf138ccb2 gnome-text-editor: allow saved file always to be in either place
It's back in ~/Documents on Rawhide. Let's stop trying to guess
when it's where and just be happy with it being in either place.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-17 14:19:57 -08:00
Lukáš Růžička
dab034c39e Extend the Navigation test for QA:Testcase_window_manager. 2024-12-04 18:27:59 -08:00
Lukas Ruzicka
fd386409fe Fix aaa_setup as requested in review. 2024-12-03 23:50:07 +00:00
Lukas Ruzicka
de640bfe3e Create a test for KDE KCalc. 2024-12-03 23:50:07 +00:00
Lukas Ruzicka
13d3686bc2 Create tests for KDE Gwenview 2024-12-03 13:37:51 -08:00
Adam Williamson
62ec56636b work around rhbz #2329581 (installer boot hang till key pressed)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-02 08:52:20 -08:00
Adam Williamson
9608e7945b Add a workaround for #2329587, drop retry count again
This workaround is tested on stg and seems to work. If we see the
grey screen, go to a console and reboot from there. Don't do this
on any other test as it might interfere with bootloader param
entry.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-29 23:41:46 -08:00
Adam Williamson
2d4ae597f0 Move KDE live build test to Kiwi, refactor mock bits
KDE live images for Rawhide are now built with Kiwi, so let's do
it that way in openQA too (including for stable releases because
it's awkward to do it any other way). Kiwi build steps are almost
the same whatever you're building, so convert the container build
test into a generic Kiwi build test and use it for both. mock
setup is shared between Kiwi and LMC, so let's factor it out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-29 11:38:06 -08:00
Adam Williamson
9f2720bf5f rpmostree_rebase: whoops. trimmed one line too many
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 23:25:01 -08:00
Adam Williamson
e5dd37555c F39 EOL cleanup: drop a bit from ostree_build
This is only needed for F39.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:50:31 -08:00
Adam Williamson
e43faa5855 F39 EOL cleanup: remove one F38/F39 workaround from ostree rebase
The other is a bit more risky, will test and do that one later,
separately.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:48:09 -08:00
Adam Williamson
a2ecf4bc0c F39 EOL cleanup: drop a bit from clocks/timer.pm
This was only needed on F39 and earlier, as the comment says.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:45:01 -08:00
Adam Williamson
160ba54371 F39 EOL cleanup: fully convert konversation test to neochat
Until F39 went EOL we were keeping the test called 'konversation'
but it was testing neochat on F40+. Now F39 is EOL, we can fully
turn it into a neochat test and ditch the konversation needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:42:47 -08:00
Adam Williamson
4afca7ba95 F39 EOL cleanup: remove kmag test and needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:39:53 -08:00
Adam Williamson
dcad60de30 F39 EOL cleanup: remove Cheese support
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:39:02 -08:00
Lukas Ruzicka
2ce74f3e0b Tidy script. 2024-11-14 13:01:39 +01:00
Lukas Ruzicka
725c9b67b6 Tidy script 2024-11-13 16:42:30 +01:00
Adam Williamson
6b8f8daf3a Robustify /boot selection in blivet_btrfs_preserve_home
This is failing often since the Wayland port, add a second click
if the first doesn't select the partition.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-12 11:35:21 -08:00
Adam Williamson
803da8422d cockpit autoupdate: drop #1765685
Based on some testing in staging, it seems like this may not be
necessary any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-11 08:03:30 -08:00
Adam Williamson
7f75a35bfd Remove VNC install tests
VNC is gone in current Rawhide. As F41 is released now, we won't
hit these tests any more anywhere where they might work (we don't
get a Server DVD image for respins), so let's just drop the tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-08 08:29:04 -08:00
Adam Williamson
77d6f3128c Use 'fXX-build' tag repo for Rawhide, not 'rawhide'
The 'rawhide' tag repo used to be just a symlink to the 'fXX-build'
one, but With the on-demand repo changes, that's no longer the
case. It looks like the 'fXX-build' repo gets regenerated more
often than 'rawhide' (which seems to regen every two hours), so
let's use 'fXX-build' instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-07 15:19:40 -08:00
Adam Williamson
eb78e04325 mediakit_fileconflicts: we need to install python3-dnf now
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 12:29:30 -08:00
Adam Williamson
8a54cff407 support_server: use --use-host-config with --installroot
dnf5 needs us to do this to make it use the repo config from the
host, rather than expecting there to be one inside the target
install root. This test should now always run on F41 with dnf5,
so let's just change it unconditionally.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 11:17:42 -08:00
Adam Williamson
63ae1774cb blivet btrfs preserve home: workaround filesystem list issue
See https://bugzilla.redhat.com/show_bug.cgi?id=2324231 - since
the port to Wayland, the entry we need in the filesystem list is
not visible at first, we need to scroll the list to find it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-06 11:06:24 -08:00
Lukas Ruzicka
75406ee7f4 On Network tests, authenticate if need be. 2024-11-06 12:15:48 +01:00
Lukas Ruzicka
6d793de3f9 Fix software selection glitch. 2024-10-24 20:48:42 +02:00
Adam Williamson
de4cb908ba Add extra click for Network & Host Name spoke also
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 16:35:37 -07:00
Adam Williamson
d3c97a64be anaconda on wayland: also click on other spoke launchers
It's not just Installation Destination, on aarch64 at least we
have lots of tests failing because entering the source or software
selection spokes didn't work. Let's try extra clicks for these
too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-22 16:32:45 -07:00
Lukas Ruzicka
c4a87f2ae2 Let Maps use a new export flow. 2024-10-17 12:39:20 +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
Lukáš Růžička
c0fab57f18 Set timestamp on notification. 2024-10-16 12:07:04 +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
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
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
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
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
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
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
Adam Williamson
82abc61432 Factor DM login process out of _graphical_wait_login
There are several other tests doing the same thing (but not as
safely, in some cases). To improve reliability and reduce
duplication, let's factor this out into utils.pm and reuse it
where appropriate.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 22:20:34 +00:00
sumantro93
7657b8bb16 Rename Dockerfile to Containerfile 2024-09-26 14:22:01 +02:00
Adam Williamson
4200e6a73f alarm: double-click hour field before we start typing
See: https://gitlab.gnome.org/GNOME/gnome-clocks/-/issues/370
before 47.0, the hour field was already active for typing when
this window opened, but it no longer is.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 17:53:00 -07:00
Adam Williamson
47302e9451 Update needles and tweak test logic for new anaconda-webui
New anaconda-webui changes the disk selection flow a bit, this
adapts to it. We can drop the conditional and make it a straight
assert-and-click once the new webui is stable for F41 and F42.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 16:50:10 -07:00
Adam Williamson
75534a30df desktop_browser: give browser longer to start, but soft fail
This is often failing on KDE on Rawhide ATM, apparently because
of a performance regression with software rendering. So let's
wait longer for the browser, but soft fail if it takes longer
than 45 seconds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-17 14:49:27 -07:00
Adam Williamson
381a79f06f Fix KDE update test with KDE 6.2
The behavior after we click 'Restart to Install Updates Now'
button has changed in KDE 6.2. The default choice is no longer
'Install Updates and Restart' (even though that's what the button
says), and there is no timer. So if we don't click anything, the
confirm overlay just stays open forever.

This makes us click on the appropriate confirmation button if we
see it. We can also use this to make the test run a bit faster on
other releases, I guess.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-16 12:16:26 -07:00
Adam Williamson
358695e417 doublek_workaround: tweak to work for other letters too
In a couple of cases we type something that *doesn't* start with
a 'k', so we should use that other letter for the workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:54:35 -07:00
Adam Williamson
4ca41e5b71 tidy _installer_build
Missing ; . Oops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:47:41 -07:00
Adam Williamson
f96f591e46 keyring tests: use check_desktop
These lines were sort of doing the same thing, only much less
safely.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:43:43 -07:00
Adam Williamson
e49b5f9645 Initial ELN update test support (installer build)
This should make the installer image build test work for ELN,
so we can try doing some update tests on ELN.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-05 14:57:59 -07:00
Adam Williamson
201fddcb72 Be case-flexible in ELN version checks
There's some ambiguity about the case of the ELN version string.
Currently it's "ELN", it's going to be "eln" soon. Let's just
always use case-insensitive comparisons.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-04 13:17:00 -07:00
Adam Williamson
3cd5a9cfc2 Revert "desktop_browser: disable kernel.org bits temporarily"
This reverts commit 6fea5cc452.
kernel.org is fixed now.
2024-08-26 15:35:18 -07:00
Adam Williamson
c24e3fa9a1 freeipa replica: allow ipa server-del to fail
If it fails, the replica is probably already gone from the
config so things are fine.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-26 15:34:50 -07:00
Adam Williamson
6fea5cc452 desktop_browser: disable kernel.org bits temporarily
kernel.org is currently unreachable by IPv4 so this keeps failing.
Will re-enable when the site is fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-26 13:06:23 -07:00
Adam Williamson
3c3ed87966 freeipa replica: delete the replica before uninstalling master
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-26 13:04:58 -07:00