1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-10 10:55:44 +00:00
Commit Graph

704 Commits

Author SHA1 Message Date
Lukas Ruzicka
8ac02dbd71 Update needles for Desktop Login test. 2025-03-20 17:02:56 +01:00
Lukas Ruzicka
3751d0b5b8 Update needle for GDM login. 2025-03-20 15:00:11 +01:00
Lukas Ruzicka
c643e92cc7 Add two more Contant needles. 2025-03-20 14:51:45 +01:00
Lukas Ruzicka
8139b4f5bc Add some more Contact needles which failed again. 2025-03-20 14:46:09 +01:00
Lukas Ruzicka
6b4631809c Update needles for Clocks test. 2025-03-20 13:37:02 +01:00
Lukas Ruzicka
b6bde34ab8 Update needles for Characters test. 2025-03-20 12:06:50 +01:00
Lukas Ruzicka
d072abbc6b Update needles for Calculator test. 2025-03-20 11:08:16 +01:00
Lukas Ruzicka
a4c57e23d7 Update a failing Contacts needle. 2025-03-20 10:45:25 +01:00
Lukas Ruzicka
115faef8b6 Update needles for the Sysmon test. 2025-03-20 10:28:25 +01:00
Adam Williamson
c6a14517dc Big set of GNOME 48 needle updates
This is all the ones I got done today. We still have quite a few
more to go.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 22:28:30 -07:00
Adam Williamson
f474c9a9ed Adjust fonts/info.pm to look for Adwaita, not Cantarell
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 18:56:50 -07:00
Adam Williamson
9475b60df5 Follow-up needle removals for legal and website
These should all be redundant.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 17:48:26 -07:00
Adam Williamson
f6a843727c Be consistent about credits, website and legal selectors
Most GNOME apps now have a standardized About screen with links
(not buttons) for credits, website and links. Lukas called these
'selectors', which I like - but inconsistently; as well as
generic gnome_selector_foo needles, we have some app-specific
needles, and some with 'button' in the name.

Let's always call these 'selectors', always use generic needle
names (since the same needles should match for almost all apps),
and have the one remaining case where we have a 'button' (the
credits button in Evince) be the variant case, handled by putting
'button' in the needle name, but using the same tag as other
needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 17:39:32 -07:00
Adam Williamson
066b5a7809 Drop pointless gnome_add_button_blue needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-19 13:53:23 -07:00
Lukáš Růžička
0474326c9d Update a failing needle once again. 2025-03-19 19:29:52 +01:00
Lukáš Růžička
f2e15088d9 Update needles for Maps test. 2025-03-19 16:13:18 +01:00
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
Lukáš Růžička
7e6911ab42 Update needles for Nautilus test. 2025-03-19 14:59:51 +01:00
Lukáš Růžička
7e378e7af3 Update needles for the Weather test. 2025-03-19 13:05:03 +01:00
Lukáš Růžička
c8d1d2e320 Update needles for the Tour test. 2025-03-19 12:29:05 +01:00
Lukáš Růžička
283d575427 Update needles for the Gnome archiver test. 2025-03-19 12:15:45 +01:00
Adam Williamson
dd27cedaa9 Initial batch of needle updates for GNOME 48 font and GTK changes
This is a bunch of needles for GTK 4.18 (Rawhide only) and the
change to "Adwaita" fonts by default in GNOME 48 (42 and 43).
This mostly only handles tests that are run on updates, I'll do
compose tests in a separate batch once we have a Rawhide compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-18 14:31:45 -07: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
adee4b7b8a Update maps walking route needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-14 13:27:30 -07:00
Lukáš Růžička
ab55ff53de Fix failed needle for abrt_runs 2025-03-07 15:46:06 +01:00
Adam Williamson
eca9dff01f Update live welcome needle (Fedora Linux instead of Fedora)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-06 09:43:27 -08:00
Adam Williamson
183024aaf6 Update a bunch of GNOME needles for Rawhide font change
These are probably(?) using Noto incorrectly for some reason and
will need to get redone again when we have adwaita-font, but oh
well, such is life.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-06 00:04:54 -08:00
Adam Williamson
2310bff15f Update a GNOME Software upgrade needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-03-05 23:53:25 -08:00
Lukáš Růžička
a7e7823f44 Add tag apps_run_nautilus to apps_run_files needles. 2025-03-05 19:59:40 +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
0a42d978f7 Update a couple of navigation needles for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-27 16:44:20 -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
447584c54c Update gnome-text-editor style needles
Looks like the sample text is rendered a bit smaller now. This
changed a few days ago, with new GNOME Shell or GTE or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-10 17:05:28 -08:00
Adam Williamson
d1510bbe0d Add another variant three_workspaces needle for navigation
Not sure why this seems to have so many variants, oh well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:46:54 -08:00
Adam Williamson
223b80e139 Add another GNOME tour needle variant
Not sure what changed, it's a very small diff.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-06 11:46:27 -08:00
Adam Williamson
28d886fa37 Update Russian and Arabic needles for GNOME 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-02-03 15:31:32 -08:00
Adam Williamson
bd687aab51 Update Japanese layout needles for GNOME 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:39:07 -08:00
Adam Williamson
a6cfd2b1f7 Update a GNOME navigation test needle for Shell 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:38:01 -08:00
Adam Williamson
1a6513aeca Update GNOME Utilities menu needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-28 15:37:19 -08: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
10f53ea1a0 Update multiple needles for GNOME Shell 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-21 16:36:56 -08:00
Adam Williamson
2415f76a40 Update GDM needles for GNOME 48
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-17 10:26:40 -08:00
Adam Williamson
f4e3e84c08 Update various Maps needles for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-08 17:32:27 -08:00
Adam Williamson
a0903c995c Replace tour_start with a version with no OCR
OCR seems to be a common trigger of the mystery thread crash.
It's also not working properly anyway - the text we're trying
to match here is not in the current version of the tour but we
pass the needle match somehow. So, let's just ditch the attempt
to use OCR and go with regular area matches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-24 14:48:16 -08:00
Adam Williamson
3359810887 Re-drop skip_button needle
Came back inadvertently with the RDP test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 20:35:31 -08:00
Adam Williamson
5a8859667f Update some GNOME needles for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-20 17:14:43 -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
Lukáš Růžička
dab034c39e Extend the Navigation test for QA:Testcase_window_manager. 2024-12-04 18:27:59 -08:00
Adam Williamson
c255a91f33 Drop skip_button needle
It was only used by a bit of gnome-initial-setup handling that
was removed as we no longer use it since F39 went EOL.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-02 07:39:50 -08:00
Adam Williamson
eb4e78f0d8 Update GNOME utilities menu needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-29 17:51:58 -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
Adam Williamson
274b401dfd Various updates to GNOME Maps needles for data changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 00:22:32 -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
Lukas Ruzicka
d69af30671 Add needle to check running Abrt. 2024-11-06 16:29:08 +01:00
Lukas Ruzicka
a0564f47aa Fix needles for Help-viewer itself. 2024-11-06 16:17:45 +01:00
Lukas Ruzicka
977d491e8b Fix Help needles throughout various applications. 2024-11-05 17:40:36 +01:00
Adam Williamson
11820faa84 Add variant star_selected_file needle for ARM
This looks different on ARM tests, not really sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:59:34 +08:00
Adam Williamson
79bad931ce Update getting started needle for F41 final SB
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:54:50 +08:00
Adam Williamson
9f327ab7a0 Update getting_started needle for GNOME
It rendered slightly differently in a recent test, dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:08:35 -07:00
Adam Williamson
e2b856c675 Add another variant of the archive-created-with-bad-icon needle
Dunno why this changed again, but now it's grey and with a
slightly different but still wrong icon.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:06:45 -07:00
Adam Williamson
8e974f291a Update a bunch of Maps needles for change in recent Rawhide
It seems Maps now shows an indicator on the map when you search
for a place, which threw off a lot of needles.

Also the place info boxes seem to all be broken, I'll file that
when I get around to it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:02:37 -07:00
Lukas Ruzicka
eae4ef7a1f Add needles for Silverblue Fonts. 2024-10-17 12:05:53 +02:00
Adam Williamson
11044fe96c Update one gnome_button_delete needle variant
I am honestly not sure exactly when we hit this needle, but we
did at least once, and it's mentioned in the comment in the test.
Huh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 17:07:58 -07:00
Lukáš Růžička
04704dc912 Add a needle to match the Pause button on Clocks. 2024-10-16 11:58:15 +02:00
Lukáš Růžička
b1d3fae677 Add a needle for people icons in Chars 2024-10-16 11:18:24 +02:00
Adam Williamson
5ad36cf3c7 Add a needle for a changed PDF file icon in nautilus
It seems to be a bug, see:
https://gitlab.gnome.org/GNOME/evince/-/issues/2051

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 13:33:44 -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
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
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
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
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
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
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
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
4be9ce3e88 Use 'terminal' instead of 'gnome-terminal' for ptyxis switch
In several places we run 'gnome-terminal' explicitly, but as of
today's compose, the default terminal app on GNOME in Rawhide is
ptyxis, not gnome-terminal.

Running 'terminal' should launch whichever is correct, so let's
consistently do that.

Also, add an apps_run_terminal needle and navigation navbar
needle for ptyxis.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 10:39:20 -04:00
Adam Williamson
9a7bcf9573 Update a ton of needles for Nautilus 47-beta
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 09:43:09 -04:00
Adam Williamson
b8b46753e2 Add new loupe file select needle
This is for the new Nautilus 47-beta file picker. We will need a
lot more new needles for this, we just have this one because I
used the loupe test to verify that I'd fixed making the picker
appear at all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-08 15:03:40 -04:00
Adam Williamson
b9307b1a2c Update a bunch of GNOME needles for some upstream rendering change
GTK? I dunno. Things got a bit blacker.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-08 10:43:59 -04:00
Adam Williamson
cfb3b793e3 Update check_default_fonts to match the new test case
The test case was completely changed earlier this year. Per
https://bugzilla.redhat.com/show_bug.cgi?id=2093080#c17 , atagoh
wants us to use the new test case for validation and have openQA
automate it, so, this does that. I already updated the matrix
earlier in the year, I will update fedora_openqa when this is
merged.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-05 10:16:29 -07:00
Adam Williamson
8d6328ba8a Update GNOME printing sentence check needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-05 10:16:02 -07:00
Lukáš Růžička
208fe91f9d Fix Maps by adding failed needles. 2024-07-16 13:38:04 +02:00
Lukáš Růžička
d5f244e78a Fix Weather test by adding a failed needle. 2024-07-16 13:01:46 +02:00
Adam Williamson
2915e3e0b3 Update fonts_liberation_font_found for GNOME 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:51:49 -07:00
Adam Williamson
b0674ca2f1 Update maps_switch_scale needle for GNOME 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:50:45 -07:00
Adam Williamson
e531a8f44e Add variant apps_run_tour for F40 font rendering
Looks like F40 has the new text, but old font rendering...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:49:28 -07:00
Lukáš Růžička
8e6d7ac946 Add one more missing needle for GTE. 2024-07-10 17:12:56 +02:00
Lukáš Růžička
6f9288634a Fix the Maps
- add needles
- update export.pm
2024-07-10 15:09:49 +02:00