1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-07-24 19:25:44 +00:00
Commit Graph

154 Commits

Author SHA1 Message Date
Adam Williamson
466c440099 Update a kwrite line numbering needle for some Rawhide change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-15 11:40:50 -07:00
Adam Williamson
d68950b056 Tweak kwrite_lines_numbers to use lines 2 and 3
I saw a case where line 1 had a cursor visible so the match
failed. Instead of having two needles for cursor / no cursor,
let's just match on lines 2 and 3 instead so it's not a problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-05-05 09:16:17 -07:00
Lukáš Růžička
0190f38677 Use the new features of menu_launch_type in code.
We have enhanced the menu_launch_type to allow for
start checking and maximizing applications.
This PR uses the new functions wherever it seems
logical.
If special logic was used for certain cases,
we have not touched these to preserve the
exact behaviour.

The crash workaround for the Fonts flatpak is dropped because it
no longer seems to be needed with the latest version of the
flatpak, and dropping it simplifies this migration.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/358
2025-04-25 14:40:54 -07:00
Adam Williamson
d0fda5bc12 Move existing kde apps_run_abrt needles to kde/apps dir
This matches where the GNOME ones are.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 23:38:13 -07:00
Adam Williamson
faed56e2d1 Add another KDE apps_run_abrt needle
Today it has a much more KDE-y window appearance, without bold
titles. Not sure why it's different from yesterday, but never
mind.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 23:37:37 -07:00
Adam Williamson
718f41f667 De-duplicate kwalletmanager app run needles
We have apps_run_kwallet and apps_run_kwalletmanager. We do not
need both.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-11 10:03:15 -07:00
Adam Williamson
2c4f6d7c9a Try to sort out abrt 'app runs' needles
This got messed up in 1e6da7019c
where the KDE needles all got renamed to apps_run_abrt* and their
tags changed to apps_run_abrt, but the KDE *test* was not changed
to look for apps_run_abrt instead of abrt_runs, so we wound up
creating a whole new bunch of abrt_runs needles so we had *three*
sets of needles...

This rationalizes it down to the needles that actually match in
current tests, properly renames them all to apps_run_abrt and
updates the KDE test to look for that tag, and adds a couple of
new needles for the recent downgrade of the app.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-04-10 17:15:42 -07:00
Adam Williamson
adee0041ac Update a couple of KDE needles for font/layout changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-28 14:51:58 -07:00
Lukas Ruzicka
8e5e88c2a1 Update some failed needles. 2025-03-27 17:48:37 +01: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
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
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
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
79505c6bbd Add a workaround needle for abrt on KDE being weirdly grey
With recent Rawhide KDE, abrt runs, but the UI is weirdly grey.
This workaround needle handles that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:36:07 -08:00
Adam Williamson
af1a85e5ea Update various KDE needles for some change in today's Rawhide
Not sure what, but a lot of KDE rendering changed slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-08 17:36:26 -08:00
Adam Williamson
df42fb186e Update KDE auth_required needle for icon change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 17:13:19 -08:00
Adam Williamson
98fefd18fe Update KDE app about needles for font rendering change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 17:11:56 -08: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
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
5a53a8cdb2 Update neochat runs needle for changed text
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 00:23:03 -08:00
Adam Williamson
6eb358c4ac Adjust neochat_runs needle for change in latest version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-24 10:05:12 -08:00
Adam Williamson
0a20118727 Update various needles for GTK 4.17
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-12 10:46:36 -08:00
Adam Williamson
39981c39ea Update several needles for F40 respin tests
Recent F40 respin tests hit several failures due to differences
in apperance to Rawhide, here's the fixes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:04:56 -07:00
Adam Williamson
d88c8e4335 Add several more tests to the desktop update test set
There's no obvious reason we're not also running these tests on
updates, so let's do it. We have to skip the advisory and UEFI
post checks for desktop_login as the last step of that test is
shutting down the system.

We leave out desktop_login for now because of
https://gitlab.gnome.org/GNOME/gjs/-/issues/647

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 08:51:35 -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
a7dbff27fa Various GNOME 47 needle updates (and one KDE 6.2 one)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 17:57:14 -07:00
Adam Williamson
8cd300f526 vault: update backend available needle for new encryption fs
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-26 17:10:15 -07:00
Adam Williamson
20051de382 Drop kmousetool from KDE app start/stop, it was removed
See https://pagure.io/fedora-comps/c/52aadae

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-21 08:38:38 -07:00
Lukas Ruzicka
992e51f5c5 Create test suite for Desktop Keyring
This adds both the Gnome and the KDE tests to test the
Desktop Keyring. After a discussion with the Brno team,
how this could be tested without the need to rely on
external servers to log into, we set up a local FTP server,
we will log into it and remember the credentials and verify
that the credentials will be stored in the keyring correctly.
2024-06-11 16:04:44 -07:00
Adam Williamson
e32ba706b3 Update another KDE needle
This was making the kfirewall test fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-04 15:49:37 -07:00
Adam Williamson
3146570101 Update more needles for KDE 6.0.90
These are from the compose tests, last batch was from the update
tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-28 15:53:34 -07:00
Adam Williamson
3a6e65914a Update kparted runs needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:11:50 -07:00
Adam Williamson
18edc46417 Add variant KDE color select needle for F39 respin
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-23 17:17:00 -07:00
Lukas Ruzicka
d3a6beda3d Add the graphical upgrade tests.
This PR builds on some elements of the current upgrade process,
such as upgrade_boot, upgrade_preinstall, upgrade_postinstall, but
replaces the upgrade_run with graphical_upgrade_run to use graphical
methods to upgrade the system.
This would not be possible without necessary settings, that are
performed by graphical_upgrade_prerequisites.
Works for both Gnome and KDE.
2024-04-15 23:08:58 -07:00
Lukáš Růžička
d2238360b8 Revert "Add needles"
This reverts commit bde855b343.
2024-04-05 10:04:17 +02:00
Lukáš Růžička
bde855b343 Add needles 2024-04-03 09:19:30 +02:00
Lukas Ruzicka
614a2f5e5d Fix the failing KDE startstop tests. 2024-02-27 12:18:45 +01:00
Adam Williamson
80d0f71720 Update another KDE Vault needle for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:50:13 -08:00
Adam Williamson
2148674ed4 Update a couple more KDE needles for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-10 00:07:56 -08:00
Adam Williamson
4ad5834023 Various Plasma 6 needle updates that were lying around prod
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-24 13:45:22 -08:00
Adam Williamson
89382a3b71 Drop a stray dbusviewer needle
We removed the test a while back, as the app is not in a default
KDE install any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-09 17:53:12 -08:00
Adam Williamson
50b4e70a1f Old needle cleanup 2024-01-02
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-03 17:48:30 -08:00
Adam Williamson
d52bed5c93 Update KDE Vault needles again for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-12-04 09:51:53 -08:00
Adam Williamson
b2928ff399 KDE app start/stop test updates for Plasma 6
Several needle updates and a tweak to the text we type to launch
kinfocenter (just "info" now launches something else).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-11-30 18:05:37 -08:00
Adam Williamson
838d65f86c solidify_wallpaper: handle KDE no longer having a handy 'black'
Plasma 6's color chooser seems to have dropped the nice "basic
colors", so choosing black got harder. Let's try using the HTML
color input box thingy instead, and typing #000000, the HTML
color code for black.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-11-29 11:51:17 -08:00
Adam Williamson
0245b36cd4 Update deskset_plain_color for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-11-29 11:51:00 -08:00
Adam Williamson
c0e293755b Update various KDE needles for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-11-27 11:19:14 -08:00
Adam Williamson
eb6a47f462 Adjust konversation test to run neochat on Rawhide
KDE replaced Konversation (IRC client) with Neochat (Matrix
client) in Rawhide. As the replacement isn't done in F39 we can't
just switch the test out, we have to handle both, so for now,
let's have the "konversation" test run neochat on Rawhide.

We can't really proceed through neochat's first run wizard as
it needs a Matrix account name and password and we don't want
the hassle of handling a secret just for this, so we'll just
quit out once we see it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-26 15:53:54 -07:00