Commit Graph

76 Commits

Author SHA1 Message Date
Adam Williamson 8a7d5dd1ff Update various KDE/Plasma needles for Rawhide/F36 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 14:47:04 -08:00
Adam Williamson 752a9476be Drop KDE app 'netcon' test
This was originally a test of nm-connection-editor. However,
at some point that app stopped shipping a .desktop file by
default (it's in a subpackage that is not included in a default
KDE install) and the needle got updated to match on what the
same string now launched, which is a random part of the KDE
system settings. But there's no real sense in this - we don't
test launching every other pane of the system settings app from
the launcher, so it doesn't make sense to just test one random
one like this. Let's just throw the test out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 12:37:53 -08:00
Adam Williamson fcac2af4f8 Update and rationalize KDE app "cancel" needles
We have three different needles which all match on a stock KDE
"cancel" button. Let's just have one. Also, update it for latest
Rawhide/F36 KDE.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 12:22:47 -08:00
Adam Williamson d5ca75cb04 Also remove system-config-language test from KDE app test
This was also dropped:
https://pagure.io/fedora-kickstarts/c/5b5fba2

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-12 17:26:37 -08:00
Adam Williamson 4e15e16824 Drop kcolorchooser and kruler from KDE apps test
Both were dropped from the default KDE install set:
https://pagure.io/fedora-comps/c/edd0d74
so we need to drop them here too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-12 16:59:13 -08:00
Adam Williamson 2ecd05ddb3 Update KDE needles for slightly greyer grey
KDE team inform me they fixed a bug in Rawhide which made grey
not quite grey enough. Now it's greyer. So, more needles. So
many needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-12 15:11:43 -08:00
Adam Williamson b60b0f85b4 Update several needles for KDE Frameworks 5.90.0
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-06 14:16:00 -08:00
Adam Williamson 740fef2da6 Update a KDE vault app needle for some change in F35 updates
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-08 13:32:40 -08:00
Adam Williamson 6aa41f038c Update a bunch of needles for font rendering changes
Seems like the new Pango changed font rendering in quite a lot
of places.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-12 15:48:05 -08:00
Adam Williamson 1670f3c170 Update several KDE needles for buttons turning blue
Some buttons that were grey are blue now. OK then!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-09 15:57:46 -08:00
Lukáš Růžička 9ec295fef2 Add needle to support the change of an icon in smart_status 2021-10-15 13:26:13 +02:00
Adam Williamson 1beb59d2ca Add a KDE light blue 'Finish' button needle
More new light blue backgrounded buttons.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-06 16:42:31 -07:00
Adam Williamson bdf0a8f0ec Update various needles for Plasma 5.23 Beta
Plasma changed a few things, notably some button backgrounds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 17:00:10 -07:00
Adam Williamson 0f7739a8b5 Add an alternate light blue KDE next needle
Somehow this button looks slightly different depending on where
the arrow is or something, even if you don't match on the arrow.
Sigh. So we need two.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 16:56:51 -07:00
Adam Williamson ef028e89b9 Narrow the light blue Next button match
Don't match on the arrow, another app has it on the other side.
The color and text should be enough to avoid false matches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 12:03:00 -07:00
Adam Williamson de939c17df Update and rationalize KDE "next" needles
kgpg had its own, which doesn't make any sense. There are grey
and blue background variants that weren't consistently named.
This should rationalize things sensibly, and adds a new needle
for the new Plasma in Rawhide, with a lighter blue background.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 11:05:40 -07:00
Adam Williamson a5ea81103e Update a few needles for changes in today's Rawhide/F35
LibreOffice adjusted layout a bit and dropped a template, one
icon changed in the utilities menu compilation.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-25 16:00:00 -07:00
Adam Williamson 492fcf62e4 Great Needle Cleanup 2021
Remove a whole chunk of needles that haven't matched for more
than 3 months. Also move a few needles to appropriate locations,
simplify some code chunks that relied on removed needles (if
we're not matching the needles, we don't need those chunks any
more), and drop some other no-longer-needed conditionals for
older releases.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-10 11:57:48 -07:00
Adam Williamson 05c793179a Add a fingerprint login test (GNOME only) (#223)
This adds a test for fingerprint-based login, as requested by
@benzea in #223. We use the fprintd dummy device to let us
simulate scanning a fingerprint, and check various scenarios
recommended by @benzea.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-03 15:21:33 -07:00
Adam Williamson 2980f2f0ae Update kontact_provide_data needle
Color changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-03 14:47:16 -07:00
Adam Williamson a75e040062 Update a few more needles for os-autoinst
Also move all kde_next needles to the same dir.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-22 13:15:17 -07:00
Adam Williamson 2a7787c1da Update lots of needles for os-autoinst behaviour change
Recent git os-autoinst no longer downsamples screenshots as far
as it did before comparison. This makes a lot of needles where
colors have changed slightly no longer match, so they all needed
updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-19 13:03:11 -07:00
Adam Williamson 6a79565afa Fix up KDE 'plasma-disks' test stuff
In #235 we accidentally included an entire disks.pm test that
wasn't meant to be there - the infocenter module test is the
right thing to exercise plasma-disks, there is no standalone
app, running 'disks' just gets you the KDE Partition Manager,
which we already test. So this removes that test and renames a
needle that looks like it's for that test but is actually for
the kinfocenter module, to make this clearer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-21 15:16:40 -07:00
Lukáš Růžička 9f0103a95f Enhance the Infocenter test to test the presence of Disks module. 2021-06-18 11:39:28 -07:00
Lukáš Růžička 2c366cc7a4 Add startstop test for Plasma Vault. 2021-06-18 11:39:24 -07:00
Lukáš Růžička 9fdc63d4e2 Delete needles reported as unused by the check_needles script. 2021-06-10 12:13:41 +02:00
Adam Williamson 4fd395ff74 Update KDE Spectacle app runs needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-08 15:40:53 -07:00
Adam Williamson 6c52a1c1dd Update Konsole runs needle, maximize Konsole in desktop_terminal
The needle match seems to have changed when bug #1957858 showed
up, but it's actually just a text rendering change in the window
title, it's not exactly caused by the tiny window. So not marking
as a workaround needle.

Maximizing the window makes the test work faster when we hit that
bug, as type_safely needs to be able to see the results of its
typing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-02 11:07:49 -07:00
Adam Williamson 5b15979f54 Update KDE system-settings runs needle (some font change)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-19 12:09:09 -07:00
Adam Williamson 143f553ec4 Update kparted-runs needle
Font rendering changed slightly, dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-10 15:52:56 -07:00
Adam Williamson 571d7c2efe Update KDE app needles once again for Noto with grey background
...sigh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-22 17:00:21 -07:00
Adam Williamson 24e1bfef24 Update konsole_runs needle again for Noto-on-grey
I sense another fun day updating a zillion KDE app needles in my
future.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-15 16:53:30 -07:00
Adam Williamson 4962f9c628 Update a few more needles for Noto in KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-08 08:37:20 -07:00
Adam Williamson 9e08112ae9 Update a lot of needles for KDE switch to Noto fonts
KDE switched to using Noto fonts by default (and title bars seem
to be blue again), many needles need to be updated.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-07 19:44:41 -07:00
Adam Williamson a8f7d3639f Remove kgpg_tips_close needles
I tweaked the test to no longer require these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-23 18:23:25 -07:00
Adam Williamson 36ad08868c Remove Calligra needles
KDE has LibreOffice now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-23 18:22:56 -07:00
Adam Williamson a32a205e7a Update kgpg_runs needle for latest Plasma
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-05 17:50:22 -08:00
Adam Williamson 3c92696d98 Convert ksysguard test to Plasma system monitor test
These were switched out in comps recently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-05 17:20:59 -08:00
Adam Williamson f6fa89f2cf Remove falkon, k3b, krusader, ktorrent from KDE app startstop
They have all been dropped from the spin recently. Remove all
related needles too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-05 15:58:37 -08:00
Adam Williamson 4758782d56 KDE apps: replace Calligra with LibreOffice
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-04 08:58:55 -08:00
Adam Williamson 4bc0ac79da Update a few more KDE app needles for newer Plasma
Missed these in the last round.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-03 18:57:51 -08:00
Adam Williamson 274a8f1b47 Update a ton of KDE app needles for UI changes
KDE changed the color of the window title background, so all
these need redoing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-26 13:54:46 -08:00
Adam Williamson 818bacfb60 Update several needles for KDE going all grimdark
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-12 12:02:05 -08:00
Adam Williamson a038423920 Add a workaround needle for Konsole running with wrong font
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-12-02 14:50:59 -08:00
Adam Williamson d8f5d3fd0b Update several KDE needles for font rendering / button changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-26 12:38:08 -07:00
Adam Williamson 92f5bf90c0 Update Krusader settings close needle
The button changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-08 16:22:44 -07:00
Adam Williamson 40974c2f94 Simplify Krusader app test
We don't need a separate 'welcome' needle because it just matches
on an OK button anyway. So turn that needle into an OK needle
(we don't have any existing 'blue OK button' needle) and simplify
the logic to a single loop for kde_ok and krusader_settings_close.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-08 14:47:46 -07:00
Adam Williamson 36fd4c10b1 Correct tag for new kde_ok needle
It had krusader_settings_close as its tag, not kde_ok. That's
why the krusader test module was failing weirdly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-07 14:39:08 -07:00
Lukáš Růžička b5a7b49f6e Correct the misconfigured needle from the previous commit and add a proper one. 2020-10-01 12:42:56 +02:00
Lukáš Růžička 3986984eb3 Fix needles for Krusader and Notifications. 2020-09-30 09:08:20 +02:00