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

358 Commits

Author SHA1 Message Date
Adam Williamson
145bbb10af Add a couple more missing needles for KDE user switch test
Sigh, forgot these in the PR.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 12:37:39 -07:00
Adam Williamson
d4b17daeaa Add a couple of needle variants for KDE login test
These seem to be needed as a consequence of the previous commit
changes to desktop_login, not sure why, maybe something to do
with no longer opening the kicker once before we start doing
power actions.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 10:33:49 -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
7955c092d6 Add yet another KDE printing sentence needle
Saw slightly different rendering in at least one run on staging.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-08 09:05:18 -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
52af1011dc Update a couple of KDE needles for recent changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-05 09:23:42 -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
Lukas Ruzicka
c392480f92 Rebase the PR to fit within the current status quo. 2024-09-26 16:04:59 -07:00
Adam Williamson
f94f34d0dd Add yet another KDE systray expand needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 15:17:32 -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
bb1f6e6ba0 Update KDE systray notifications needle, rename an older one
The older one here does not have Notifications "selected", so
the filename shouldn't say it does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:26:59 -07:00
Adam Williamson
e99bf18c4f Add yet another KDE menu button needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:22:05 -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
5309466098 Update a KDE package manager needle for KDE 6.2
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 23:37:03 -07:00
Adam Williamson
22387fddfb Update KDE notification icon needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:45:31 -07:00
Adam Williamson
1c4a93eeaa Update KDE akonadi notification needle for some appearance change
The old needle was still matching but on the wrong X button,
so we dismissed the wrong notification and tests failed. This
seems to solve it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-09 16:37:08 -07:00
Adam Williamson
00665f23e9 Add no-button variant KDE update notification needle
This may be a bug, but I'm not entirely sure. Seems like the
notification can show up with or without the button to view the
update.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-27 18:40:03 -07:00
Adam Williamson
c17181d8e5 Update akonadi migration needle for F41 background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 18:29:02 -07:00
Adam Williamson
b4eebff26e Update a few needles for F41 backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-19 17:52:59 -07:00
Adam Williamson
c8822acac7 Update KDE getting started needle for new Fedora branding
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-26 17:13:43 -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
8e08fae367 Add new variants of KDE notifications icon needle
The bell changed appearance a bit, and there's an angled version
now for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 15:28:02 -07:00
Adam Williamson
5467da23b5 Revert "Plasma notifications: drop the Akonadi migration note check"
This reverts commit abc5e7c679 (and adds
a current needle).
It came back...
https://openqa.fedoraproject.org/tests/2693105#step/desktop_notifications/32
2024-06-21 08:44:00 -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
d8ddcc2791 Update anaconda launcher icon needle for KDE
Seems it's displaying the icon a bit bigger now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-02 16:28:01 -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
cb4654e2a2 Update a couple of needles for KDE 6.0.90 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-27 13:56:52 -07:00
Adam Williamson
810b1a3166 Drop match level on another KDE panel needle to 90
This needle is affected by the blurry panel bug -
https://bugs.kde.org/show_bug.cgi?id=484888 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-13 10:20:33 -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
637a411fd6 Add yet another KDE menu button needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:09:49 -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
Adam Williamson
b976fb2d58 Yet another KDE system tray expander needle
Don't know why we need so many of these. There's something odd
about the panel in Plasma 6, I think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-19 16:17:57 -07:00
Adam Williamson
dd20d1f224 Add a missing needle for KDE graphical upgrade tests
This is the variant we hit when upgrading from Fedora 40 (the
button looks a bit different than on F39). Without it the test
for Rawhide (which upgrades from F40) will fail.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-18 12:55:48 -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
Adam Williamson
2880edced1 More KDE needle updates
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-12 12:11:04 -07:00
Adam Williamson
394794989b Update KDE printing needle for some upstream change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-12 10:06:51 -07:00
Adam Williamson
3ca5816696 Update some more needles for KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-08 13:18:03 -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
Adam Williamson
615be43cd5 Drop match level on KDE menu button needles
For some reason we keep getting not-quite matches on this, even
though we added two new needles. Let's drop the match level on
all existing needles as a coping mechanism.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:15:25 -07:00
Adam Williamson
cf51484b2e Update several KDE needles for Plasma 6 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:13:54 -07:00
Adam Williamson
722da7da06 Update all KDE notification needles for F40 backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-13 08:37:59 -07:00
Lukas Ruzicka
614a2f5e5d Fix the failing KDE startstop tests. 2024-02-27 12:18:45 +01:00
Lukas Ruzicka
18fb96c1ba Add needles to make Printing test pass for KDE. 2024-02-26 10:23:26 +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
811ff708d2 Update a KDE notification needle
Different shade of grey again or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:26:59 -08:00