Commit Graph

542 Commits

Author SHA1 Message Date
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 206ffc2a7e COPR / tag tests: handle GNOME "download unsigned" prompt
When using a side repo for testing a COPR or a side tag, there
may be unsigned packages. We set gpgcheck=0 to make dnf okay
with this, but gnome-software still shows a warning. Let's
click through it so the test can complete.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-11 14:38:18 -07:00
Adam Williamson 9da1b5aa4b Update a GNOME Maps needle for an upstream map data change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-10 15:53:43 -07:00
Adam Williamson 3a4b874b38 Add ARM variants of a couple of Nautilus needles
These look different on ARM for some reason. No idea why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-27 13:44:41 -07:00
Adam Williamson 576938af72 Update a few GNOME needles for minor Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-27 13:43:54 -07:00
Adam Williamson 0f40d518a9 Update a bunch of needles for changed font rendering in Yelp
Yelp changed something that makes it render fonts differently,
so we get to update every needle that matches text in Yelp.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-22 09:03:09 -07:00
Adam Williamson 109cb84fa1 Add another weather report variant needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-22 08:49:27 -07:00
Adam Williamson 92da1925d6 Update a Maps needle for upstream data changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-13 10:38:04 -07:00
Adam Williamson b782c44ee9 Update a couple of straggler needles for GTK 4.15
The Japanese one was hidden by the UEFI encryption passphrase
entry bug, and the weather one we only hit when the test runs
at an unusual time.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:10:53 -07:00
Adam Williamson 57329a69fc Update some Maps needles for upstream metadata changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:09:11 -07:00
Adam Williamson 3da32a643f Update some loupe needles for GTK 4.15
These are screens that weren't previously reached due to a bug
that was recently fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-06 15:08:13 -07:00
Adam Williamson 4c53e53e87 Big needle update for GTK 4.15.0
Here's all the needles that *weren't* hit in the updates tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-25 12:48:16 -07:00
Adam Williamson 09f1317691 Update various needles for GTK 4.15.0
These are only the ones from update tests, there will be more in
the Rawhide compose tomorrow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-23 17:19:01 -07:00
Adam Williamson 5a548fd3c7 Update GNOME lock screen needle
Seems they changed it from the user's initials to a generic icon.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-19 16:18:34 -07:00
Adam Williamson 4b3ee64ee8 Update gnome_reboot_confirm needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-18 12:59:41 -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 96c75c5e28 Update tour needles for upstream changes
Various changes to the Tour text needed needle updates. The
final screen doesn't say "Have a nice day!" any more, so let's
rename that needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-12 12:04:25 -07:00
Lukas Ruzicka b0bc18b187 Add a 'navigation' test for GNOME.
This PR partly solves the issue #301 when it adds the navigation
testing for Gnome. It uses the keyboard combinations to cycle through
running applications and checks that applications could be switched
accordingly. It also tests that you can switch between workspaces
and that you can move an applications to another workspace.
2024-04-10 21:46:43 +00:00
Adam Williamson d74fd9e6b4 Update some GNOME needles too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-08 13:21:08 -07:00
Adam Williamson 7e0cd0898e Make UEFI testing the default, add Secure Boot testing
This essentially inverts the x86_64 machines so that '64bit' is
UEFI and instead of a variant 'uefi' machine we have a variant
'bios' machine that is BIOS. The point is to make UEFI testing
the default. We also enable Secure Boot in the UEFI testing,
and add a test of UEFI fallback booting on various products.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:24:52 -07:00
Adam Williamson 85943b9aeb Update a GNOME needle for a slightly changed icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-04-02 09:20:07 -07:00
Adam Williamson 5332b99076 Update a bunch of GNOME needles for 46.0 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-24 18:12:25 -07:00
Adam Williamson 37150e430f Add yet another variant 'updates available' needle
GNOME seems to be growing a bunch of different variants of this
alert. Annoying.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-24 09:23:38 -07:00
Adam Williamson 222223309e Update another GNOME needle for 46
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-21 12:15:12 -07:00
Adam Williamson c097516599 Update several GNOME needles for 46 RC/Final
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-20 20:44:58 -07:00
Adam Williamson 83d26b6945 Add variant update notification needle for GNOME
We see this when there's a *critical* update pending.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-20 20:38:30 -07:00
Adam Williamson 692e33dd2a Update various needles for GNOME 46 RC
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-05 14:08:45 -08:00
Adam Williamson b664178eb9 Add another variant grant_access needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-03-01 17:34:03 -08:00
Lukas Ruzicka 5e93dacfff Update a Map needle.
Also, make it a little more tolerant so that it does not fail on
94% matches.
2024-02-29 17:44:39 +01:00
Lukas Ruzicka 614a2f5e5d Fix the failing KDE startstop tests. 2024-02-27 12:18:45 +01:00
Lukas Ruzicka d8556387bd Fix various Workstation needle failures. 2024-02-26 12:37:00 +01:00
Lukas Ruzicka e069a25396 Create a workaround for Flatpak Fonts start up.
On Silverblue, Fonts cannot be started using the menu_launch_type
for the first time, or it starts and crashes immediately.
However, if Fonts are started with flatpak run org.gnome.font-viewer,
it seems that the application starts and holds.
Let's start it using this workaround and when it still crashes, let's restart.
2024-02-23 12:38:42 +01:00
Adam Williamson e9fd290cdc Update a couple of needles for GNOME 46 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-22 16:46:45 -08:00
Adam Williamson d85f199f13 deduplicate needle: grant_access / gnome_allow
these were duplicates. In GNOME 46-beta this dialog seems to be
in 'light mode' at least some of the time, so we'll keep the
'light mode' gnome_allow needle we added for Snapshot but
rename it and change its tags. We'll wipe the 'dark mode'
gnome_allow because it should be just the same as the existing
grant_access needle. The two tests that used gnome_allow are
changed to use grant_access.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-21 08:12:32 -08:00
Adam Williamson 3f6a052666 Update a bunch of needles for GNOME 46-beta
This also rolls in a few Arabic translations, I think, cos I
can't be bothered going through and picking them out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:49:40 -08:00
Lukáš Růžička 3b4c94bb55 Add some more fixes for Nautilus. 2024-02-20 15:58:25 +01:00
Lukáš Růžička d775ef53c4 Change needle are and lower threshold a bit to make it pass more easily. 2024-02-20 14:16:52 +01:00
Lukáš Růžička e2e22341d3 Fix nautilus issues. 2024-02-19 14:19:52 +01:00
Adam Williamson 6ea99de13b Consolidate Firefox launcher needles
apps_menu_firefox and firefox/launcher are matching on the same
thing. Also, launcher-kde actually happens to match current
GNOME, so rename it to be generic. Give the launcher needles
the apps_menu_firefox tags and wipe the apps_menu_firefox
needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-17 11:16:07 -08:00
Adam Williamson e4a8dc4047 Add another variant Loupe zoom needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 14:31:20 -08:00
Adam Williamson 8e85bc5b7b Update some GNOME needles for Shell and Mutter 46-beta
Just ones the update tests hit, for now, there will be more in
the compose tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 14:30:31 -08:00
Adam Williamson bd25bdac69 g-i-s: we always need two tabs to get to password confirm now
F38 is the oldest thing we test, and it has this flow. So let's
just drop the check here and always hit tab twice.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:24:32 -08:00
Adam Williamson 401e929555 Update various GNOME needles for changes in recent 46 builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:52:44 -08:00
Adam Williamson 7e33a327f1 Update gnome-software refresh needle for 46~beta
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-10 00:07:04 -08:00
Adam Williamson b1cb7a04ad Drop match level on gnome-software refreshing needle
Updating this needle is a pain, and we have a 0.95 match. This
is easier!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-09 23:47:11 -08:00
Adam Williamson 6e719d0f93 Fine, just drop the match level on the Updates needle then
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-09 17:28:23 -08:00
Adam Williamson fb5e5a22a7 Tweak GNOME Software Updates needle match area slightly
It kinda looks like the text has been moved closer to the icon
in the latest gnome-software, such that the little '1' bubble
is now in the needle match area if it's present. Obviously that
may vary, so let's tweak the needle match area a bit to the
right so it's hopefully consistent and still matches on older
versions.
2024-02-09 15:41:40 -08:00
Adam Williamson e805837597 Update a system monitoring needle for Silverblue
This got missed in the big GNOME 46 needle update because
Silverblue wasn't composing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:08:23 -08:00
Adam Williamson 2238723977 Add yet another bike route variant for Maps
Seriously, Google, figure out where people in the UK should ride
their bikes already.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:06:39 -08:00
Adam Williamson 73c6e7fc8a Update several Arabic needles
The font has changed a bit, I think, and the Done button is now
translated.

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