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

205 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
671a19cda8 Update a KDE needle for F36
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 16:08:54 -08:00
Adam Williamson
eefe75aa7f Update KDE menu button needle
Dunno what changed here, but it dropped to 93% match when I
rebuilt the F36 KDE base disk image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 10:11:09 -08:00
Adam Williamson
67b599d16f Add variant KDE cups-pdf needle for F36 update tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 08:50:47 -08:00
Adam Williamson
5c011ab567 printing: always use ls to find PDF, update needles
When the printing_builtin test ran on an F35 respin compose it
failed; it turns out the target filename was different for the
built-in print-to-PDF on GNOME on F35. So let's just always
use the 'ls' output to find the file, but pick the directory
to check based on whether we're using cups or not.

Also rename the needles to have unique names, and add one for
F35 GNOME.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-16 17:21:36 -08:00
Adam Williamson
b26fa834ef Update Akonadi migration notification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-14 18:18:35 -08:00
Adam Williamson
4fe497c6df Update KDE login needle for font kerning change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-14 18:16:51 -08:00
Adam Williamson
9e570a06a1 Add variant printing needles for F34 KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-12 10:51:26 -08:00
Adam Williamson
cd139e5f65 Add use_cups_printer needle for F35, rearrange needles a bit
We should not use the same name for two different needles even
in two different directories as it can be confusing in some parts
of the UI which don't account for the directory name. Let's use
names differentiated by desktop. Also add a needle for F35 as
the one from the PR doesn't match (different relative placement
of icon and text).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-11 08:59:48 -08:00
Lukáš Růžička
9a56adcfd0 Modify Desktop Printing test to use two different methods.
The PR introduces an improved logic to the desktop_printing.pm
that allows to use the USE_CUPS variable in templates to trigger
the installation of cups-pdf prior to the actual test.
The cups-pdf is then used as an alternative PDF printer
instead the built-in Save As PDF method.
2022-02-10 09:35:22 +01:00
Adam Williamson
d313e4d9b3 Update KDE notification needles for current Rawhide
Looks like KDE changed some background greys again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-04 15:53:02 -08:00
Adam Williamson
c80f20f947 Update KDE menu button needle for new KDE in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-20 14:52:09 -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
dbd7883200 Drop match levels on some KDE update notification needles
These incorporate bits of the background so are subject to
non-100% matching, got a 97% match in current Rawhide, let's
see if dropping the match level is enough.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-30 14:41:53 -08:00
Adam Williamson
be235cd7ea Drop match level on a KDE notification needle
Got a 95% match on this in a 35 respin test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-18 15:57:21 -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
Adam Williamson
d0bd3e05db Add a variant KDE printing check sentence needle
Dunno why the rendering changed slightly, oh well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-27 16:16:05 -07: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
Lukáš Růžička
95fefe87e6 Add a needle to match the bigger font in KDE login screen. 2021-10-15 11:36:42 +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
ba0e976d8d More KDE update notification needle updates
For background translucency (sigh) and also a color difference
that I guess indicates a critical update or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-22 08:33:08 -07:00
Adam Williamson
fcc494ce9a More new versions of KDE needles for stupid translucency
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-16 14:12:02 -07:00
Adam Williamson
a298f935f1 Add new variants on a couple of KDE needles for F35 backgrounds
I hate translucency with animated backgrounds. We may need more
of these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 15:36:05 -07:00
Adam Williamson
d172c49c62 Drop match level for KDE systray needle even lower
Got an 85% in https://openqa.fedoraproject.org/tests/975580 . Stupid
freaking transparency.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 16:53:58 -07:00
Adam Williamson
61ba4b4c98 Drop match level on KDE 'no notifications' needle
Got a 94% match at https://openqa.fedoraproject.org/tests/972329#step/desktop_notifications/36

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-08 13:57:47 -07:00
Adam Williamson
d2a431a3fa Update KDE systray expand needle for new F35 background
Use a 90 match level because it seems it can vary a bit, saw a
94 in https://openqa.fedoraproject.org/tests/971978#step/desktop_notifications/33

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-08 12:06:23 -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
db19350db2 Update akonadi migration needle for newer KDE/os-autoinst
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-19 15:58:47 -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
2f4ef74def Avoid a needle duplication in KDE vault test
"show_hidden_icons" is the same thing as "desktop_expand_systray".

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-17 12:40:15 -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
Adam Williamson
9d499eb5e1 Handle KDE having a permanent update notification again
Looks like the latest Rawhide got a permanent update notification
for KDE again. F34 is still around, though, so we can't just
revert to the old code, I don't think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-15 13:56:00 -07:00
Adam Williamson
50947f8ba5 Update KDE desktop_icon_notifications needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-14 13:05:50 -07:00