1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00
Commit Graph

1331 Commits

Author SHA1 Message Date
Lukas Ruzicka
77c4180030 Create tests for Accessibility. 2024-11-14 14:17:39 -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
Adam Williamson
531df88d37 container build: fix kiwi command to include --kiwi-file
This is now required (config.xml is gone), and Koji has been
doing it for a while. Koji uses a modified file it writes before
calling kiwi-ng, but we just use the stock one here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 10:39:33 -07:00
Adam Williamson
76bce2bc04 container build: drop an old workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 10:32:13 -07:00
Adam Williamson
958366d15d desktop_notifications: don't expect g-i-s on rawhide
We disabled the g-i-s live mode on Rawhide for now (as it was
getting too hard to maintain the patch downstream), so this test
should not expect it any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-21 10:35:42 -07:00
Adam Williamson
a7cd9f30db gnome-text-editor: also select right directory for nautilus chooser
The nautilus-provided chooser also does not default to Documents
as the output directory. Sigh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 18:10:04 -07:00