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

1277 Commits

Author SHA1 Message Date
Adam Williamson
97b7e7a0f0 Add another UEFI passphrase prompt needle variant
This one is for current F36 IoT images.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-23 16:44:28 -07:00
Adam Williamson
b9d0401d8f Update KDE grey-on-black desktop_expand_systray needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-23 16:36:14 -07:00
Adam Williamson
5ed1d88f61 Add several new Cockpit login needles for Cockpit 272
The wider one seems to happen when text at the bottom of the
login box prevents the "Fedora Linux..." text from wrapping
across two lines. I have no idea why we see two different
cases of the "Fedora Linux text wrapped" variant with very
slightly different amounts of whitespace, but we do, it seems
we need both of these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-23 16:30:18 -07:00
Lukáš Růžička
6f00e3fe8a Create tests for Clocks. 2022-06-23 21:41:56 +00:00
Adam Williamson
fe6314c8de Add yet another bootloader_uefi needle variant
No idea why the UEFI grub appearance keeps changing, but we need
to keep up with it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-15 10:22:26 -07:00
Lukáš Růžička
b702f8ebcd Add needle to make desktop_upgrade_kde pass. 2022-06-15 09:24:56 +02:00
Lukáš Růžička
e29e8f2f38 Add updated needles to make desktop_notifications pass. 2022-06-14 14:12:56 +02:00
Adam Williamson
ac24eeefb4 Update UEFI bootloader needle for resolution change(?)
Not sure what's going on here, but it seems like the resolution
of the UEFI bootloader screen in some tests changed. Not sure
if this is a qemu or edk2 change or what.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-27 11:59:33 -07:00
Adam Williamson
1d76c12584 Add Arabic gnome-terminal needle
For the i18n fonts test, this was missing from the PR.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-27 11:58:43 -07:00
Adam Williamson
e30fa5a0a1 Update vinagre fullscreen icon needle again
Looks like it got fixed but it now looks slightly different from
before.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-26 10:45:47 -07:00
Adam Williamson
2d4d6ae8f2 Rename needles from i18n fonts test
Just giving them names that kinda explains why they exist.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-26 08:41:01 -07:00
Lukáš Růžička
1acef21fa5 Automate the i18n_default_fonts testcase for Japanese.
This is the automation of the optional testcase https://fedoraproject.org/wiki/QA:Testcase_i18n_default_fonts.
The test implementation runs the same commands as the mentioned test
case and checks the expected output. It is designed to run in the scope
of postinstall tests when the language is set to "japanese".
2022-05-26 09:54:38 +02:00
Adam Williamson
a9413c417a Make firefox nobookmarks needle not workaround any more
We've been told the bookmark toolbar no longer being shown on app
start is by design, so we can't call this a workaround needle
any more really. There's a preference we could use to turn it
back on so we can wait for the bookmark toolbar to show up to
be sure firefox is fully started, but in fact tests seem to be
passing OK with just this needle these days, so we may not need
to.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-24 14:05:13 -07:00
Lukáš Růžička
18f6b0863e Delete unused needles. 2022-05-19 11:13:30 +02:00
Adam Williamson
dac2a82fea Update KDE help_runs needle
Not sure what changed here, something subtle. Background color?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-18 13:52:03 -07:00
Adam Williamson
960f2055c2 Update KDE 'no notifications' needle
I think the text went bold.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-18 13:51:32 -07:00
Adam Williamson
3a27510656 Update boxes/vinagre "allow inhibit" needle
The font went bolder.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:24:17 -07:00
Adam Williamson
da0d1969f6 Add a workaround needle for broken vinagre fullscreen icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:22:37 -07:00
Adam Williamson
f6f9ae58e6 Update gnome-text-editor dark style needle for current highlight
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:21:57 -07:00
Adam Williamson
4d049f8f7d browser: drop download save screen handling
Firefox 97 is now stable on all releases, so we can forget about
handling browser_download_save and just assume download will
happen automatically.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:27:35 -07:00
Adam Williamson
a22d3b28b6 Drop a pre-F34 path for launching update tool on KDE
Before F34 we had to launch the update tool from the systray.
This isn't the case any more, so we can throw all this code and
these needles away.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-16 16:04:33 -07:00
Adam Williamson
8c298851a4 Drop handling of 'transient' update notification in KDE
We seem to be solidly back to always getting a permanent update
notification in current F36/Rawhide, so we don't need this more
complex path any more. We also don't need these needles any more,
they haven't matched for months.
2022-05-16 15:53:22 -07:00
Lukáš Růžička
29d69d1de1 Delete unusued needles that prevent branches from passing tests. 2022-05-12 09:09:42 +02:00
Adam Williamson
f7d1fe8ccd Update gte_text_replaced needle for different underlining
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-11 16:25:19 -07:00
Adam Williamson
ea880659fc Update root password screen needles for other languages
Same difference as for English - 4 pixels of padding was added.
Also move a stray Russian needle to the right directory.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-11 16:21:14 -07:00
Adam Williamson
763ef5d48f Update leftbar_server for current Rawhide
The "FEDORA" part of the logo has changed a bit for some reason
(smaller, no TM).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:46:15 -07:00
Adam Williamson
4d2c997d47 Update root password screen needle for anaconda 37.7
A margin got bumped by four pixels.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:44:53 -07:00
Adam Williamson
8468bd2e0b Shrink cockpit updates link needle a bit
We can wind up with this a bit hidden by the bottom-left URL
location indicator, so shrink it a bit to hopefully match even
in that case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-06 14:10:15 -07:00
Adam Williamson
618944b0a9 Update French admin selected needle now it's translated
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:05:03 -07:00
Adam Williamson
c784011fc2 Add 'version 37' needles needed for Rawhide update tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:04:15 -07:00
Adam Williamson
05af76265f Handle Firefox 100 disappearing scrollbars in Cockpit update test
The Cockpit update test relies on scrolling the Cockpit left bar
to find the Software Updates page, but in Firefox 100, the scroll
bars disappear shortly after the last time you moved the mouse.
To deal with this, instead of looking for a scroll bar to scroll,
we'll click the search box in the left bar and hit 'up' to scroll
it to the bottom.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:15:02 -07:00
Adam Williamson
241ab275a6 Update several needles for Firefox 100
Not sure what changed in the addon needles. For the webui needle
I think it's affected by the new scrollbar behaviour.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:14:00 -07:00
Adam Williamson
954b6f90bc Update variant anaconda layout needles for F36 RCs
We get these variant needles with the keyboard icon and layout
name at slightly different relative vertical positions every
time we do a Final RC. I think the layout is affected by the
pre-release warning text no longer being present. Usually each
cycle something changes with the icon or with font rendering,
so the needles have to be updated, as in this case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:10:09 -07:00
Lukáš Růžička
aa448d48bc Reupload the needle again, as I sent an incorrect file before. 2022-04-25 14:10:08 +02:00
Lukáš Růžička
bcf46f0cd0 Fix failing Gnome Text Editor needle. 2022-04-25 13:07:49 +02:00
Adam Williamson
6ec9d9a3f1 Update Japanese needles for latest Rawhide
"Make user admin" is translated now, and Japanese text rendering
seems to have changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-21 08:27:40 -07:00
Adam Williamson
6f90551eea Update KDE expand_systray needle for latest Rawhide
The caret got thinner.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-21 08:26:32 -07:00
Adam Williamson
cb3de66b8d Update gnome-text-editor needles for latest Rawhide
Seems like text rendering changed slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-21 08:25:10 -07:00
Adam Williamson
42db9be5fb Add yet another printing_check_sentence needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-01 15:12:24 -07:00
Adam Williamson
a034ba4c2b Add needle for final F36 background ("day" version)
This is from KDE so it's the static "day" image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-28 14:18:24 -07:00
Adam Williamson
909469bd47 Update Arabic needles for translated layout indicators etc.
So it turns out the translated layout indicators in Arabic are
intentional:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5257
so we can just add needles for them and we're good. Also update
a couple of other needles which need updates since we last
reached this far in the tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-25 14:47:33 -07:00
Adam Williamson
3b0de96922 Update KDE needles for new version of F36 backgrounds
The new version of the F36 backgrounds means all these needles
that hit translucent panel elements need updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-24 14:43:00 -07:00
Adam Williamson
c8377e2329 Add yet another F36 background needle
I hate animated backgrounds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-24 14:41:34 -07:00
Adam Williamson
4a6404a4be Update KDE login needles for recent F36 change
SDDM looks slightly different on F36 since 20220319.n.0. The
Sleep / Restart / Shut Down / Other... buttons are visible, and
the keyboard layout indicator isn't. Previously on F36, and still
on Rawhide, those buttons aren't shown but the layout indicator
is. I'm not sure why this is, but it means the size of the name
labels is slightly different, and we need new needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-24 14:37:57 -07:00
Adam Williamson
904fd7e406 Drop match level on user_created_qwerty needle
It's coming up a 96% match, I dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-18 16:45:47 -07:00
Adam Williamson
f24c09fad2 Update the topbar_generic needle
We very rarely see this needle - only when we run the 'generic'
tests on an Everything image instead of a Server one, which
will usually only happen if we trigger it manually. I did this
recently to test an anaconda update, and found it needs an
update.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-18 13:55:49 -07:00
Adam Williamson
3d6b74a63f Add yet another F36 background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-18 13:54:52 -07:00
Adam Williamson
06c66dcd30 desktop_update_graphical: explicitly check refresh on GNOME
OK, this is annoying. GNOME Software intentionally does *not*
clear the 'download' or 'reboot and update' button when you hit
the refresh button, it just leaves them sitting there while the
refresh happens. So let's specifically require the 'refreshing'
text to appear and go away before we try and click on download
or apply.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-18 13:51:33 -07:00
Adam Williamson
90d0a04d14 Add another printing_check_sentence needle
Yet again this is looking different for no obvious reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 15:05:14 -07:00
Adam Williamson
541a9ae619 Update SDDM login input needle
Looks like the text got slightly smaller.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 13:48:21 -07:00
Adam Williamson
278f997b5c Update GNOME reboot_confirm needle for bold button label
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 13:46:42 -07:00
Adam Williamson
8bb5aef223 Update an eog needle for flatpak dialog change
Again, a dialog changed a bit in the flatpak version of the app.
For this needle, the shade of grey is slightly different. Change
happened between Fedora-36-20220314.n.0 and 20220315.n.0.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 13:42:11 -07:00
Adam Williamson
47e90c9010 Add variant needles for current Flatpak open/save dialogs
The open/save dialogs for Flatpak apps in current F36 (and
probably Rawhide, but can't tell due to another bug) look a bit
odd: https://github.com/fedora-silverblue/issue-tracker/issues/245
This adds variant needles to handle various differences there.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 13:23:35 -07:00
Adam Williamson
19b3bb865f Update some KDE needles for F35 respin tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 12:39:53 -07:00
Adam Williamson
66b111cecc Update gnome-text-editor needles for F36 upgrade test
For some reason various bits of gte started looking slightly
different on the F36 upgrade test. I don't really know why and
don't care enough to look it up. I'm just hoping all these
variations between gte running in slightly different contexts
calm down soon...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-17 12:37:34 -07:00
Adam Williamson
1b7c89b016 Update desktop_login needles for KDE and GNOME in Rawhide
Both KDE and GNOME saw some changes to desktop_login needles in
recent Rawhide, this updates them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-14 20:19:16 -07:00
Adam Williamson
b491d283b1 Update login_gdm_input French and Russian needles for 42~rc
These went to 96% match, not sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-14 20:18:02 -07:00
Adam Williamson
5e15d8a273 Update GNOME overview needle for 42~rc
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-14 20:16:43 -07:00
Adam Williamson
9ff7f60fd8 Update krfb_runs needle for recent KDE
krfb finally started for a change, so we can update the needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-14 20:15:58 -07:00
Adam Williamson
bbfe7416df Add a couple more printing_check_sentence needles
Why rendering of this text is always changing I just don't know.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-14 20:15:05 -07:00
Adam Williamson
239640200a Update dnfdragora_runs for over-large window on KDE
The dnfdragora window is too big on current KDE so we can't see
the top of it (where we used to match). It's kinda better to
match on some active element of the app than just the window
title anyway (so we don't 'pass' if the window loads but is
empty, or something like that).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-14 20:13:16 -07:00
Adam Williamson
522e004914 Add a workaround Firefox needle for missing bookmarks toolbar
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-10 17:07:26 -08:00
Adam Williamson
f1c44aa1e7 Update GTE preferences_off needle for Rawhide/F36
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-10 17:06:26 -08:00
Adam Williamson
f873eb671e Update login_gdm_input for some tiny change in 42~rc
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-10 08:46:32 -08:00
Adam Williamson
50db12402c Add needles for old flatpak gnome-text-editor
Silverblue has an older version of gnome-text-editor, using a
Flatpak base environment built off an older GNOME. Because of
this most of the needles for the current RPM-packaged version
don't match. For some reason the old needles we delete don't
match either - some difference in font rendering configuration
or something. So I had to create a bunch of new needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 16:00:45 -08:00
Adam Williamson
4e09c5696b Add yet another help_quit_kde needle
I do not know what's going on with this quit button and why it
seems to keep showing up looking different. Today it looks
different in the same image (KDE live) from the same compose
(today's Rawhide) on prod and stg openQA. I've no idea how that
is possible, but oh well, let's keep adding needles till the
pain stops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 15:55:35 -08:00
Adam Williamson
f4bc90e681 Tweak the gte_preferences_off needle click point
I did this by hand and I think 20 pixels is a bit too much.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 15:03:05 -08:00
Adam Williamson
0a80004f3e Make gte_preferences_off needle more specific
It matches on the "close the app" button on older Flatpak GTE.
So widen the needle to include the "Preferences" text, and add
a click point.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 14:47:22 -08:00
Adam Williamson
af69bf1990 Update a few more miscellaneous needles for GNOME 42
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-05 08:48:46 -08:00
Adam Williamson
d57cef71de Update Japanese needles for latest GNOME
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-05 08:47:44 -08:00
Adam Williamson
88f4c55647 Update GNOME menu button needles for French
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-05 08:46:43 -08:00
Adam Williamson
d28a507078 Reduce match area of gte_credits_shown needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 19:29:40 -08:00
Adam Williamson
6544850829 Update a needle and fix launching keyboard settings on Japanese
To get to the keyboard/input method settings and add an input
method when doing a Japanese install test, we type 'keyboard',
but in current GNOME 42.beta that doesn't find the right pane.
Typing 'input' does work, though, so let's use that instead.
Also the GDM login needle needed updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 17:20:18 -08:00
Adam Williamson
2da5b6abf4 Complete gnome-text-editor needle update
Just needed a few more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 15:12:02 -08:00
Adam Williamson
b81bdceba5 Update UEFI console passphrase needle for IoT 37
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 14:59:03 -08:00
Adam Williamson
ca60a51896 Update several needles for F36/Rawhide KDE changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 14:55:24 -08:00
Lukáš Růžička
bd1e7b0295 Big needle recreation for Gnome-Text-Editor 2022-03-04 15:12:57 +01:00
Lukáš Růžička
f1af1bca6e Add newer needle for gnome-text-editor test. 2022-03-04 13:00:34 +01:00
Adam Williamson
44914d13ab Drop match level on older KDE no notifications needle
Now KDE is back to being black, this needle almost matches. Let's
just drop the level instead of making a new one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-03 10:06:09 -08:00
Adam Williamson
c6ffea301c Add some more F36 background needles
Sigh, this one sure likes to animate.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-03 08:46:02 -08:00
Adam Williamson
1084aa0828 Update KDE vault needles and test
The backend is now cryfs in F36/Rawhide. I don't think we need
to be policing which backend Vault decides to use, so let's just
accept either.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-03 08:42:45 -08:00
Adam Williamson
482712f953 Update more KDE login needles for Rawhide/F36 changes
Now we have an SDDM that actually works, we can update these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 20:27:41 -08:00
Adam Williamson
28a2d16417 Add missing tags to new KDE logout confirm needle and rename it
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 20:03:50 -08:00
Adam Williamson
e794c24de7 Update Arabic needles for GNOME and keyboard icon changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 16:37:05 -08:00
Adam Williamson
61c988f401 Update some KDE needles for changes in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 16:05:04 -08:00
Adam Williamson
1493cb9aa9 Update app start/stop needles for GNOME 42.beta
These are taken with the latest gnome-shell build, with CSS
fixes for the overview applied. They don't work for current
F36/Rawhide but will work once that gnome-shell build lands.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 15:59:57 -08:00
Adam Williamson
c0e83e3e3d Update KDE menu button needle for Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 14:03:18 -08:00
Adam Williamson
f75cd0e732 Add another F36 background needle (at 17:25)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-27 23:06:38 -08:00
Adam Williamson
416de35376 More needle updates for GNOME 42 / icon theme changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-26 16:38:25 -08:00
Adam Williamson
fb214eef03 Update Arabic pre-release needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 14:47:34 -08:00
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
e305202c84 Make an anaconda help needle smaller to match on KDE
The last line of text is slightly cut off on KDE lives, so shrink
this needle area so it still matches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 09:16:23 -08:00
Adam Williamson
0281cfd7f1 Add another anaconda main hub needle for KDE
One of the icons showed up bigger in a UEFI test. I dunno why.
Just keep adding needles till the pain stops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-24 08:31:00 -08:00
Adam Williamson
172e5a3fdc Add another 36 background needle (05:34)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-24 08:27:47 -08:00
Adam Williamson
dd6ebb2171 Add a second F36 background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 16:11:53 -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
97a109eb3c Add an initial F36 background needle (daytime, 10:47)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 09:46:10 -08:00
Adam Williamson
50afc237e6 Add version 37 identification needle for IoT
IoT started doing 37 composes, so we need this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 09:00:56 -08:00
Adam Williamson
3a9b21969d Add one more needle update for GNOME 42
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 08:52:52 -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
10df5a57bf Update a bunch of needles for GNOME and adwaita-icon-theme 42
GNOME 42 and adwaita-icon-theme 42 changed a lot of things in
GNOME and anaconda, we need to update all these needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-20 15:52:42 -08:00
Adam Williamson
9bc039b26d Correct JSON error in user_creation-20200219.json
Please endorse my RFE at
https://www.happyassassin.net/posts/2017/09/07/a-modest-proposal/

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-20 15:34:51 -08:00
Adam Williamson
9243fa88fc Avoid duplication of "user creation" needle
The help test had its own needle for the user creation link,
but we already have an existing one. We should probably re-
arrange all the needles that are in 'install_process' now the
root and user creation spokes are moved to the main hub, but
that's a big change so I'll do it separately. This just removes
the duplicate needle and tweaks some match names.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-18 14:59:17 -08:00
Adam Williamson
28600540c0 Update user_creation_screen Arabic needle for a font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-17 14:05:16 -08:00
Adam Williamson
08a4e955df Update install_lang_input needle for new icon theme
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-17 14:03:02 -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
4282048819 Drop screenshot app from GNOME app start/stop tests
It was removed from the default install:
https://pagure.io/fedora-comps/c/5371509
in favor of a new screenshot mechanism that's built in to GNOME
Shell.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-09 10:23:38 -08:00
Adam Williamson
d112944526 Shrink Arabic prerelease note match area a bit
We don't need to capture the greyspace.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-09 09:24:40 -08:00
Adam Williamson
2d87ac8ff5 Make the F36 version id needle narrower, drop language variants
It does not need to include any of the language specific text,
I guess Lukas included it in the English needle because it was
based on the IoT needle which is wider. So just shrink it to
not include any language specific text and drop the variants.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-09 09:22:42 -08:00
Adam Williamson
57a35562ad Shrink match area on install_lang needle a bit for IoT
IoT says "FEDORA-IOT" here, not just "FEDORA", and the greyspace
at the right-hand side was making the match fail. Not sure why
this only just started being a problem, but oh well, let's
make it a bit smaller.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-09 09:20:05 -08:00
Lukáš Růžička
d27f195de3 Add version needles for language mutations. 2022-02-09 16:37:56 +01:00
Lukáš Růžička
1975ef2f2b Add Silverblue left bar needle. 2022-02-09 13:31:45 +01:00
Lukáš Růžička
9e1632e364 Add needle to identify the 36 version 2022-02-09 12:37:21 +01:00
Adam Williamson
698348a478 Update anaconda network needles for some font change
The kerning got a lot worse. Not sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-07 18:26:07 -08:00
Adam Williamson
a6ac35c91b Update firefox_close_tabs needle again
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-07 18:20:16 -08:00
Adam Williamson
294c29ed07 Update Arabic needles for a font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-07 18:18:21 -08:00
Lukáš Růžička
42e9f713b2 Change test suite to fit with the latest known version.
The latest version of Gnome-Text-Editor bring a little
bit different UI and some new or modified features.
This commit fixes the suite to run on newest version.
2022-02-07 10:50:10 +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
52f661b986 Update anaconda help test needles for current Rawhide
Font sizes changed a bit, it looks like.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-04 15:49:33 -08:00
Adam Williamson
c95bb4306d Remove duplicate needle in anaconda_help test
We check the same screen twice with two different needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-04 15:47:21 -08:00
Lukáš Růžička
4d16dd085a Add needle to check a printed sentence. 2022-02-02 13:13:07 +01:00
Lukáš Růžička
222270c3dd Add failing needle for eog. 2022-02-02 12:50:20 +01:00
Adam Williamson
0af5692ebf Add another GNOME printing needle
Not sure if we lost one with the recent adjustment to the tests
or F35 actually changed somehow, but hey, we need this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-31 16:44:54 -08:00
Lukáš Růžička
ceaf711f76 Create a test suite for Gnome Text Editor 2022-01-29 00:49:10 +00:00
Lukáš Růžička
980ba5f411 Make changes to the Desktop Printing test. 2022-01-28 20:57:36 +00:00
Lukáš Růžička
fe8306d2cd Implement distribution methods to replace the testapi defaults.
This PR adds implementations of distribution methods to make them
usable on Fedora. It adds the following methods

* ensure_installed (to install packages)
* become_root (to switch to root account)
* script_sudo (run script with sudo)
* assert_script_sudo (run and assert a sudo script)

It also adds a helper script to the utils.pm

* make_serial_writable

that makes the serial console writable for normal users
and so enables to run commands that check their progress
by sending messages to the serial console. Normally, they
fail, because the messages will not be written their, so
the checking mechanism will never see them.
2022-01-27 21:44:35 +00:00
Lukáš Růžička
83356ceec6 Use waiting commands to make the tests more defensive. 2022-01-25 13:36:57 +01:00
Lukáš Růžička
1052712410 Add needles to make them not failing. 2022-01-24 14:49:32 +01:00
Lukáš Růžička
d9ba0883e7 Delete unused needles
These needles have been probably forgotten and left over from one
of the previous commits. The tox tests are failing on other
pull requests and this PR fixes it.
2022-01-21 18:09:07 +01: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
8894e022b2 Update a couple of Japanese needles for GNOME changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 17:40:23 -08:00
Adam Williamson
f4bdedc57e Update user_creation_screen French needle
The text line we matched on before changed and is currently
untranslated, let's match on a different line.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 15:58:08 -08:00
Adam Williamson
4363918b5d Update GNOME "no notifications" needle for GNOME 42
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 15:57:26 -08:00
Adam Williamson
24e3ecb89f Drop gedit application tests
Workstation has replaced gedit with gnome-text-editor in Rawhide,
so this is no longer useful. We will replace it with a test suite
for gnome-text-editor.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 15:52:40 -08:00
Adam Williamson
3ae23f66a9 Update GNOME apps test for gedit->gnome-text-editor switch
Workstation replaced gedit with gnome-text-editor. This updates
the needles and also changes the name used for 'tagging' the
application for the core_applications test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 15:11:50 -08:00
Adam Williamson
c7f5ec6689 Update several GNOME needles for GNOME 42 in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 14:13:42 -08:00
Adam Williamson
574498eb66 Correct language tags on needles from last commit
I forgot to update the language tags in the 'untranslated'
needles when copying them from the English one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 11:39:42 -08:00
Adam Williamson
8e414cc469 Handle anaconda giving users admin by default in Rawhide
As of today's Rawhide compose, user accounts added in Rawhide
have admin privs by default. For now we need to handle both
possibilities here (click the box if it's not clicked already);
after F35 EOL we can just drop all handling of that box.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-18 11:36:06 -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
b94daf25d0 Update GNOME software needles a bit more
Add the download and apply needles (whoops), and tighten the
match area on the update needle a bit so it matches even when
there's a little blue balloon to the left of the text.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-12 16:05:34 -08:00
Adam Williamson
d19b7f6890 Update some GNOME app needles
Calculator's equals button changed a bit somehow, EOG changed a
button and the kerning on Activities button changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-12 15:20:56 -08:00
Adam Williamson
2a14756a3d Update some GNOME Software needles for a UI change
Looks like text got bolded a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-01-12 15:20:29 -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
5d10fae391 Update a couple of EOG needles with minor changes
Slight spacing changes is all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-14 09:58:49 -08:00
Adam Williamson
fb909555e6 Update Cockpit 'join domain' screen needle for Cockpit 259
They probably moved it to a different JS lib or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-08 13:34:18 -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
15cdd4f398 Update the Cockpit 'reconnect' needle
Font's changed since the last time we actually matched this (it
only happens occasionally if specific packages are in the update).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-30 14:06:35 -08:00
Adam Williamson
af31d4e8ae Update a Cockpit needle for Cockpit 258
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-24 09:45:31 -08:00
Adam Williamson
1d2255b041 Update PPC bootloader needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-24 09:45:21 -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
Lukáš Růžička
cda0d0b0d1 Create a test suite for EoG (Image Viewer) 2021-11-18 13:13:59 -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
07ff387293 Drop match level on an Evince needle a bit
96% match with today's Rawhide, don't feel like a new needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-12 13:20:11 -08:00
Adam Williamson
323c6a0a45 Drop match level on a gedit needle a bit
We get a 96% match on this because the "A" in "Activities" moved
a bit. Instead of a new needle let's just be OK with the lower
match.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-12 12:07:58 -08:00
Adam Williamson
a5bf0a6aae Tighten match area on evince_file_select_pdf
So it doesn't fail if there's a dotted line around the entry
(indicating keyboard active, I think).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-12 11:55:40 -08:00
Adam Williamson
c16c7a1536 Update a few needles for Cockpit 257
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-10 23:16:43 -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
7a6f15fa6c Update several gedit app needles for today's Rawhide
Not sure what caused it, but line spacing seems to have changed
slightly in today's Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-09 15:56:24 -08:00
Adam Williamson
7048363e5b Update apps_menu_button needles for Pango changes
New Pango version seems to change rendering of "Activities" text.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-09 15:55:30 -08:00
Adam Williamson
1aefd5f883 Update some bootloader needles for grub 2.06
Looks like someone decided to make it prettier.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-08 16:07:53 -08:00
Adam Williamson
a4737f13ad Update some needles for Firefox 94.0
Some minor text rendering changes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-11-02 14:31:57 -07:00
Adam Williamson
d4a15962cb Update some Cockpit needles for Cockpit 256
Slight text rendering change for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-27 16:16:42 -07: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
Adam Williamson
b9e7b11b5b Add variant anaconda layout indicator needles for F35 stable
This seems to happen every cycle: when we get to testing an
RC, the layout indicators in anaconda move a bit (the text
moves relative to the little keyboard icon). I think the fact
that the prerelease text is no longer present is what causes
this. Anyway, we need to handle it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-27 16:14:05 -07:00
Adam Williamson
c8efe87a1e Drop old F35 background needles, loosen match on current ones
The dropped needles are all of the Beta art, before it was
fuzzed out a bit for Final. We drop the match area on the
Final needles to catch more transitions (saw a 94% today).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-26 14:07:38 -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
cda2e902fa Fix the typo in the name. 2021-10-15 12:38:20 +02:00
Lukáš Růžička
243c1916d2 Add new weather needle to reflect when location is already set. 2021-10-15 12:36:13 +02:00
Lukáš Růžička
e519786e91 Fix the rotation test by using a keyboard shortcut. 2021-10-15 12:01:46 +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
Lukáš Růžička
59026f18a6 Delete unused memtest needles to make check_needles script pass. 2021-10-15 11:36:02 +02:00
Adam Williamson
ea86795225 Update Cockpit "Join a Domain" needle for cockpit 255 change
We got a capital letter.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-14 14:28:01 -07:00
Adam Williamson
4e705d514e Add several new background transition needles
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-12 14:43:30 -07:00
Adam Williamson
0998bc7c76 Drop match level on a couple of Zezere needles
These things are always trouble...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-12 14:40:58 -07: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
62fe3df215 Add some more background needles
...this reminds me I was naming them by time of day for F33,
which was a good idea. Should've remembered to keep doing that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-10-06 16:41:17 -07:00
Adam Williamson
c4b4028b49 Update F35 background day needle for final artwork
We'll need a whole farm of variants for this revised artwork.
Joy. Once it goes stable we can ditch the older versions.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-30 14:36:23 -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
8a051084d3 Update a couple of translated needles for Rawhide
The Japanese "accept your fate" button changed slightly, and
the new root password screen got a French translation.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 16:58:34 -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
c2a6ca8594 Update "add input source" needle
The cross got bigger. This needle might be a dupe with something
but I couldn't be bothered finding it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-28 15:49:02 -07:00
Adam Williamson
4c8a58be22 Add yet another variant of an IoT zezere needle
There's some issue with font kerning or something on this page
which means we constantly get slightly different rendering of
this text. Rather annoying.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-28 15:48:41 -07:00
Adam Williamson
28d2242bb3 Revert "Add workaround for log filtering issue in cockpit 251"
This reverts commit 8992d37ce6.
The workaround is no longer needed as cockpit 252, which fixes
the bug, is stable for all current releases.
2021-09-23 08:59:00 -07:00
Adam Williamson
e076630d8c Drop match level on all f35 background needles to 92
This should give us better transition matches without needing to
make even more needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-23 08:45:17 -07:00
Adam Williamson
60bfdd53b9 Update prelease note needle
Likely for font rendering changes since last time we matched on
it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-22 08:34:22 -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
673d3dd8a5 Update GNOME Japanese input source needle
I think Japanese font rendering changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-22 08:32:29 -07:00
Adam Williamson
f4f1d48459 Yet another F35 background transition needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-16 14:14:35 -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
e1e9f64036 Update various needles for icon theme changes
Some changes were made in the icon theme used by the installer
and GNOME, update various needles for this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-16 14:05:09 -07:00
Adam Williamson
dafa528d89 Update root password needle for new icon and add other tag
The other tag the Help test uses is created by a concatenation
that isn't easy to change, so just add the tag to the other needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 16:57:59 -07:00
Adam Williamson
65cdc9609c De-dupe anaconda root password spoke needle
The anaconda help test had its own version, it doesn't need it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 16:26:05 -07:00
Adam Williamson
aa136bb807 ...and yet another F35 background transition needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 15:39:25 -07:00
Adam Williamson
eb98053bb8 Add yet another F35 background transition needle
Can I kill animated backgrounds yet

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 15:37:40 -07:00
Adam Williamson
c1d22142bb Update a Cockpit needle for Cockpit 253
Very slight text rendering change, not sure what.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 15:37:10 -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
8b13ece29e Update root password screen needles for Japanese and Russian
The new screen got translated for these languages now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-15 15:32:56 -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
1ed4fc9ca1 And update one more needle I forgot in previous commit
Darn F33 KDE having a different font.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-09 14:09:21 -07:00
Adam Williamson
7a1b2e5ddf Update Firefox addon install needles for Firefox 92.0
They changed how this button looks yet again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-09 14:05:37 -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
d26ebafa20 Add several more F35 background needle variations
Night, plus a couple of transitions.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-08 12:07:24 -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
f012df5e86 Adjust match area on Evince 'run' needle
Similar to the 'open' needle, adjust match area to work even
when there's a notification obscuring the top bar.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-03 16:53:43 -07:00
Adam Williamson
02c47efab4 Reduce match area on Evince open needle
This will make it match even when partially obscured by a
notification, as in https://openqa.fedoraproject.org/tests/967109

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-02 15:28:52 -07:00
Adam Williamson
cb8ea979a3 Update Cockpit log entry needle
Somehow this dropped to a 94% match on some tests, not sure how.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-02 13:00:39 -07:00
Adam Williamson
369513ef7a Add a new F34 background transition needle
We somehow hit a transition point that didn't match any existing
needle. Oh background transitions, how I love you.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-02 13:00:01 -07:00
Adam Williamson
0891384805 Update Japanese 'install done' needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-27 17:21:35 -07:00
Adam Williamson
67d587cb51 Update GNOME libreoffice impress start needle for new LO
We do this slightly differently on KDE and GNOME for whatever
reason, so this needle needs updating too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-27 17:20:48 -07:00
Adam Williamson
dbb4d96403 Add F35 'day' background needle
There's also a 'night' and two transitions, so we'll have to
catch those as they show up.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-27 17:19:52 -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
375231fdf4 Add untranslated Arabic root password screen needle
Arabic doesn't match the English needle even though it's not
translated, because it's RTL, so the radio button is on the
other side of the text.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-25 15:13:06 -07:00
Adam Williamson
9b77392c0a Make the new root password screen needle all languages for now
The screen is not translated in any language yet, so let's just
make the needle language-independent at least for now. We could
change this after translations show up.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-25 15:11:27 -07:00
Adam Williamson
6f221809b1 Drop the match level on zezere claim button needle
This often seems to get a 90-95% match for some reason. Let's
just drop the threshold. I think it may be a kerning difference
based on the width of the MAC address?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-24 16:08:56 -07:00
Adam Williamson
9231df62ac Add IoT 36 version needle now we have '36' builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-24 13:47:22 -07:00
Adam Williamson
dc82c90abd Handle redesigned root password screen in new anaconda
Really this just boils down to needing an extra click. We can
even just do the click in the old UI as well, it's not needed
but won't hurt anything and keeps the code simple.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-24 13:12:18 -07:00
Adam Williamson
0ab4c40f9a Update FreeIPA WebUI password reset link needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-20 16:10:12 -07:00
Adam Williamson
8992d37ce6 Add workaround for log filtering issue in cockpit 251
See https://github.com/cockpit-project/cockpit/issues/16243 .
This is a fairly minor issue upstream knows about but will not
be fixed immediately, so we'll add a workaround for it for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-19 15:46:45 -07:00
Adam Williamson
d47dfe7f7a Update Utilities app menu needle for some change in F35
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-19 13:59:51 -07:00
Adam Williamson
49c42e1806 Update GDM login needles for some GTK/GNOME change
The box changed style a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-19 13:08:18 -07:00
Adam Williamson
803ae7ca57 Add a test of an additional repository using a metalink (#198)
As suggested by @kparal, this adds a test that specifies an
additional repository using a metalink. The repository contains
a single package, 'testpackage', that supplements glibc (so it
should always get installed). The test runs an install then
checks that testpackage got installed.

We also deduplicate a pair of needles which were matching on the
same anaconda UI feature (an "add" button) and use that same
needle in this test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-18 14:03:27 -07:00
Adam Williamson
2ed23740d4 A few misc needle updates
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-18 14:02:27 -07:00
Adam Williamson
0cd4b7bafb Update Cockpit login needle for slight spacing change in Firefox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-16 11:28:48 -07:00
Dan Čermák
6cb0634edc
fix desktop_browser: FAS is deprecated, use accounts.fedoraproject.org
This also requires a new needle for accounts.fedoraproject.org, as the webpage
is completely different now. The old needle for browser_fas_home is obsolete via
this change and can be removed
2021-08-13 22:53:05 +02:00
Adam Williamson
06d89172b0 Update a couple of Arabic needles for some font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-13 10:35:27 -07:00
Lukáš Růžička
b65f470eee Create basic functions tests for Gedit. 2021-08-12 15:37:37 +02:00
Lukáš Růžička
70959aae18 Delete a leftover unused needle reported by check_needles.py 2021-08-12 09:52:25 +02:00
Adam Williamson
3afd2c27e3 Update leftbar_workstation for F35
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-11 21:18:38 -07:00
Adam Williamson
82a0e06303 Update topbar_generic needle for electric blue
I feel like I might've wiped a needle for this yesterday. Oh,
well.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-11 21:16:58 -07:00
Adam Williamson
0851e641d3 Add version 35 needle (now 35 is Branched)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-11 21:09:51 -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
c13b19591c Update several anaconda needles for KDE using different icons
As of today's Rawhide, KDE seems to be using a different icon
theme for anaconda. Not sure if this is intentional or not, but
we need to cope with it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-05 11:17:11 -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
eab06ad96f Specify click_point for Japanese needle from last commit
Now we have two areas, openQA wants to click in the wrong one.
Let's tell it which one to click in.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-03 14:36:59 -07:00
Adam Williamson
7eb4e29f73 Tweak Japanese input source needle to avoid false match
The main screen now also has identical "Japanese" (that's what it
says) text. To avoid false matching before the picker opens, add
another match area.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-03 10:46:37 -07:00
Adam Williamson
7d14da3746 Bring back the older Evince 'rotate' needle
Current Silverblue still has it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-29 12:10:31 -07:00