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

1646 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
9d2a6b6652 Update dracut root logged in needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:24 -07:00
Adam Williamson
3244d17d67 Update gnome-panel screen locked needle for changed icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:02 -07:00
Adam Williamson
24bbce64a3 Update a gnome-keyring needle for a recent change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:42 -07:00
Adam Williamson
28dfad9743 Update various loupe needles for latest version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:00 -07:00
Adam Williamson
14b48e7bca Update console-in-toolbox needle for latest toolbox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:29:40 -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
Dan Čermák
4315e5ff6f Add openQA tests for i3 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
a650a3b33d Add variant clocks_alarm_hour needle for when it's already active
This is still the case on the flatpak build as it runs behind the
RPM build, and would still be the case if we run the test on an
F40 respin for e.g.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 15:16:47 -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
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
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
635ff8941e maps: update wellington needle
Upstream fixed an issue with highway signs being upside down.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:20:44 -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
6146b6eba9 Update map_zoomed needle for OSM changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:45:16 -07:00
Adam Williamson
21222f6a03 Update multiple GNOME needles for a font rendering change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-09 16:39:49 -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
a9412b14ae Add a needle required for ELN update tests
disk selection with ELN's font.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-06 00:01:52 -07:00
Adam Williamson
9130518862 Update French passphrase needle for translation change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-30 16:11:37 -07:00
Adam Williamson
0c32f1634d Update a Cockpit needle for a Firefox change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-30 16:10:15 -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
edc3bd9762 Update French pre-release note needle for translation change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-27 18:39:19 -07:00
Adam Williamson
e0fb862233 Update a GNOME upgrade needle for a font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-27 18:38:47 -07:00
Adam Williamson
eed86f4feb Update keyring needles for nautilus 47 and ptyxis
There's now a 'Network' entry that does the job of 'Other
Locations', the enter_address needle needed updating, and the
sftp_logged needle needed updating for ptyxis.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 18:29:39 -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
9f6113d581 More tweaking to GNOME file save - always click the button
Let's not trust hitting enter in just one place but hit the save
button like we do elsewhere (this avoids an awkward issue where
hitting enter doesn't work on the new nautilus version). Also,
let's consolidate the needles under a sensible tag name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 16:52:51 -07:00
Adam Williamson
23ebeb2269 Handle hitting the new Nautilus save as dialog in more places
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 16:33:38 -07:00
Adam Williamson
1b2dbf1c3d Fix Maps export for Nautilus 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 15:56:11 -07:00
Adam Williamson
1cbb7ba2af Fix nautilus hidden_files test with Nautilus 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 15:17:02 -07:00
Adam Williamson
a2ca3fc2b1 Update a couple of needles for anaconda/GNOME changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-19 17:53:34 -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
5c15f96fab Fix navigation_navibar_terminal needle, add a missing needle
I forgot this needle has to be with terminal highlighted, not
just present. And now that's fixed, we need another needle for
a later point in the test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 11:18:42 -04:00
Adam Williamson
c123762f7b Update gnome-text-editor found text needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 10:51:56 -04:00
Adam Williamson
3211f29e58 Add variant cockpit log entry detail needle
Lately it seems to be clicking on one which doesn't show either
of the properties we currently detect above the fold, so let's
add another.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 01:03:57 -04:00
Adam Williamson
c0031fc140 Add an alternative version_42 needle
Not sure why this looks slightly different, but oh well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-15 23:21:49 -04:00
Adam Williamson
04537e3abb Add F41 background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-15 23:18:53 -04:00
Adam Williamson
cda78a4020 Add f42 webui identification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-14 07:58:14 -04:00
Adam Williamson
c2996c5ce7 Add version_42 ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-14 07:43:49 -04:00