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

1547 Commits

Author SHA1 Message Date
Adam Williamson
4f3a5acea7 Update an anaconda help needle for some change in Rawhide KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-29 09:49:34 -08:00
Adam Williamson
7a25ad7023 Add a variant nautilus app needle for F36 (respin tests)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-29 09:48:35 -08:00
Lukas Ruzicka
d4717ff090 Create test suite for Maps. 2022-11-21 18:17:11 +00:00
Adam Williamson
b388c6fc94 cockpit: enable admin mode after logging in as test
Sigh, this is a pain and adds more fragile needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-18 17:24:15 -08:00
Adam Williamson
bc20fc9147 Misc needle updates for Rawhide
The Rawhide 'accept fate' text seems to have lost its Japanese
translation for some reason (I think the string might have had
a terminating period removed). And in one test, the "Extract"
menu item in Archiver was pre-highlighted so the needle didn't
match. Not sure why, but this doesn't seem like a problem, so
let's just handle it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-17 10:32:39 -08:00
Adam Williamson
ecb039cdb1 Update a KDE needle for change in recent Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-09 08:46:58 -08:00
Adam Williamson
32da572cfb Update Cockpit needles for new release 279
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-09 08:45:49 -08:00
Adam Williamson
90f7d513a3 Remove an unneeded needle caused by merge order
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-04 11:03:35 -07:00
Adam Williamson
4c49a94a66 Update zezere provision schedule needle
Some tiny font/rendering difference.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:09:18 -07:00
Adam Williamson
5686285b9b Update gnome-text-editor side panel needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:08:55 -07:00
Adam Williamson
55b40a5e7b Update KDE no notifications needle for latest KDE bits
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:08:34 -07:00
Adam Williamson
c5ef5f93db Add F36 versions of several GNOME app needles
This is for F36 live respin testing. Several tests still need
more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-02 11:07:34 -07:00
Adam Williamson
82588f4a52 Revert GTK focus bug workarounds
This reverts the last few commits which worked around a focus bug
in GTK. This bug is now (I hope) fixed, so I'm dropping the
workarounds so the tests will confirm whether it's fixed.
2022-11-02 11:03:02 -07:00
Lukas Ruzicka
c394603058 Make an extra click into the the list view to force correct focus. 2022-11-01 17:35:23 +01:00
Adam Williamson
9d04235e64 Update some FreeIPA needles for font changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-24 12:50:05 -07:00
Lukas Ruzicka
7fb70a9926 Add new needles to cope with new weather conditions on weather tests. 2022-10-24 12:25:36 +02:00
Adam Williamson
ebe42ef1e3 Add a system monitor variant needle for ARM
Different filesystems on ARM as it's a UEFI install.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 09:08:08 -07:00
Adam Williamson
5d4292e419 Update cockpit needle for fontconfig change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 09:07:26 -07:00
Lukáš Růžička
5ea921b17b Create tests for Gnome Contacts. 2022-10-18 14:22:52 -07:00
Adam Williamson
13d3fedcd6 Drop dupe version_37 needle and just make the original shorter
I think the reason the match failed is the pixels under the text
changed when the pre-release warning disappeared. We don't really
need a new needle, we just need to make the existing one less
tall so no part of the text underneath is included.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-18 09:28:25 -07:00
Lukas Ruzicka
8f9b1e72aa Fix a failing version needle. 2022-10-18 15:51:36 +02:00
Lukas Ruzicka
1f153b6591 Fix a needle for the log out menu entry. 2022-10-18 15:15:03 +02:00
Lukas Ruzicka
5d3fc244eb Create the test for system monitor. 2022-10-10 15:14:21 +02:00
Adam Williamson
dff0bf6f41 Add bash 5.2 root console needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:54:53 +02:00
Adam Williamson
cc5e223029 Update arabic user creation screen needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:53:38 +02:00
Adam Williamson
d27b60919c Update GNOME switch user icon for Rawhide change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:53:23 +02:00
Adam Williamson
15e7d17fa2 Add abrt_runs bigwindow variant when there *are* problems
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:52:52 +02:00
Adam Williamson
b26a17cf91 Update the KDE 'no notifications' needle
Not sure what changed, background or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 13:51:07 +02:00
Adam Williamson
e57f0d82a3 Update SDDM login screen for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-09 07:25:57 +02:00
Adam Williamson
0a55d92dcd Update bootloader UEFI needle
I think this is slightly different on openQA stg with current
qemu with the EDID settings, for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:21:04 +02:00
Adam Williamson
e95a1009c2 Add a bash 5.2 noprofile user needle
We need one of these for each new version of bash.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:16:34 +02:00
Adam Williamson
79d14edfe9 Add another weather variant needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:15:43 +02:00
Adam Williamson
f1fc1a13ba Update F37 background needle to final version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-27 23:20:34 -07:00
Lukáš Růžička
c4443b0298 Add a needle to cope with a changed design. 2022-09-27 10:47:08 +02:00
Adam Williamson
5abfc00e4a Update several KDE and KDE app needles for theme changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-26 18:04:06 -07:00
Lukas Ruzicka
ba0062e5be Create a test case for Archiver. 2022-09-22 08:59:07 +02:00
Adam Williamson
507a44a6bf Update konversation_runs needle for Rawhide
Some change to background color or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:25:03 -07:00
Adam Williamson
31db440396 Update Japanese install done needle for minor text change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:23:20 -07:00
Adam Williamson
3c209fe1e8 Update some GNOME needles for minor changes in 43.0
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:22:36 -07:00
Adam Williamson
d75bfb6808 Update KDE notification needle for current Rawhide
Icon size changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:21:10 -07:00
Adam Williamson
7c205c11db Update Weather app needles some more
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:20:18 -07:00
Adam Williamson
fb93f0cc0d Update some anaconda blivet needles for changes in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:19:23 -07:00
Lukas Ruzicka
4c03c0d814 Fix the Silverblue failure on new_file test. 2022-09-20 17:25:54 +02:00
Lukas Ruzicka
12c00f96d7 Delete needles that confused the test by providing an alternative match. 2022-09-12 12:54:09 +02:00
Adam Williamson
72f9e0e448 Add another variant needle for Weather
Caught another time of day where none of the existing 'hourly'
needles matches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-08 15:05:49 -07:00
Adam Williamson
1d395ad262 Update some nautilus needles and a test for 43-rc changes
We need to do Restore from the context menu now, because the
special button bar thing went away:
https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/943

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-08 15:05:04 -07:00
Adam Williamson
a58f98cc14 Update some Calculator needles for 43-rc changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-08 15:00:07 -07:00
Adam Williamson
9292bc81a6 Update a Zezere needle for a slight font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-04 08:41:51 -07:00
Adam Williamson
cc7387fbe1 Update apps_run_maps needle
Just a slight change here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-04 08:40:44 -07:00
Adam Williamson
0c40789973 Update KDE update needles for security updates
These look slightly different when there are security updates,
the security needle variants hadn't been updated yet for the
latest changes in background, upstream toolkit etc.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-04 08:39:33 -07:00
Adam Williamson
4f9ade008a Update Cockpit login needle for slight layout change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-23 12:24:23 -07:00
Adam Williamson
b71046eac0 Update the weather hourly 'later' needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-21 00:00:55 -04:00
Adam Williamson
5f0f8bbaa5 Update KDE notification needles for current Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-21 00:00:21 -04:00
Adam Williamson
73533a80a7 Add a workaround needle for F35 bad KDE theming (#2119360)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 15:05:26 -04:00
Adam Williamson
8f75386838 More GTK4 needle updates
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 10:09:49 -04:00
Adam Williamson
79cad84bc3 Update needles for GTK4 changes (mainly hinting enabled)
GTK4 enabled font hinting recently, and that breaks this huge pile
of needles.

There are probably a few more that need doing, but it's 2am and
I've had enough.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 02:09:44 -04:00
Adam Williamson
167a7225fc Update UEFI bootloader needle for F35
The UEFI console got bigger, I guess this is an ed2k change or
something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-17 22:44:51 -04:00
Adam Williamson
7cd06599d3 Update several needles for GTK4 enabling font hinting
There will be more in the compose tests, but I'll deal with
those tomorrow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-17 00:04:20 -04:00
Adam Williamson
e4b19b6ee1 Update an anaconda device resized needle
Not sure why the whitespace padding here changed slightly, but
it did.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 18:13:41 -04:00
Adam Williamson
f9a5d36d7b Add IoT version 38 ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 16:10:33 -04:00
Adam Williamson
f7a8550258 Create biosboot partitions in blivet tests
From anaconda-37.12.1, anaconda defaults to GPT for all BIOS
installs. So we need to create a BIOS boot partition when doing
a BIOS install. I think all other potential configs (x86_64
UEFI, aarch64 (UEFI), ppc64le (OFW)) are covered under the other
two paths, so just making this `else` should be OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 15:39:38 -04:00
Adam Williamson
6486a33006 Revert "Add missing needles to support Clocks test."
This reverts commit 31987c7688. I
already pushed an equivalent commit earlier.
2022-08-16 15:39:15 -04:00
Adam Williamson
b0e3473ad6 Revert "Add needles to match the differences in menu icons for StartStop tests."
This reverts commit 034111975e.
I already pushed an equivalent commit earlier.
2022-08-16 15:38:09 -04:00
Lukas Ruzicka
034111975e Add needles to match the differences in menu icons for StartStop tests. 2022-08-16 19:15:34 +02:00
Lukas Ruzicka
31987c7688 Add missing needles to support Clocks test. 2022-08-16 16:27:32 +02:00
Adam Williamson
2bfe0f53cd Add another weather icon (large sun and cloud)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 10:10:06 -04:00
Adam Williamson
8b8108f051 Update more Clocks needles
Lukas left these lying around stg, they are needed.
clocks_alarm_cross_remove is a dupe of gnome_button_cross_remove
with a bad name, so removed it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 09:31:35 -04:00
Adam Williamson
581180c19c Remove nautilus context menu star needles
We already changed how we do this since the context menu entry
was removed, just cleaning up the now-unneeded needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 08:56:38 -04:00
Adam Williamson
d2afd6f627 Correct tag on recently-added apps_run_logs needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 08:56:13 -04:00
Adam Williamson
8479cb979f Remove nautilus side panel test and associated needles
The show/hide side panel functionality was intentionally removed
in version 43-beta:

https://gitlab.gnome.org/GNOME/nautilus/-/issues/2427

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 08:53:42 -04:00
Adam Williamson
5f3b8e7ae3 Add version 38 ident needle
We get this earlier in the process now because we're testing
Rawhide updates...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 08:06:46 -04:00
Adam Williamson
b36b539cfc Update desktop_login needles for GNOME 43 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-15 23:46:28 -04:00
Lukas Ruzicka
c8816f6435 Add new needles to cover the Menu changes. 2022-08-15 22:26:32 -04:00
Adam Williamson
5e1b918775 Add another weather icon - sun and cloud (small)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-15 22:22:57 -04:00
Adam Williamson
321e09a396 Add variant nautilus star selected file needle
The star looks a little different. Not sure if this is just a
new look or what.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-15 22:20:16 -04:00
Lukas Ruzicka
e69ba53f51 Fix the Clocks test to work on Fedora 37. 2022-08-15 16:47:46 +02:00
Adam Williamson
4e24f2a3ec Update a couple more buttons for new gnome-initial-setup
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-13 00:08:42 -07:00
Adam Williamson
bd09e3d162 Add new next button needle (GTK+4, bold text)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-12 22:56:48 -07:00
Adam Williamson
cc1cc3f727 Move topbar_server match area left a bit
See:
https://openqa.fedoraproject.org/tests/1362214#step/disk_guided_empty/4
seems like the stuff on the right extends further now, not sure
why. Hoping this will help.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-12 00:06:43 -07:00
Adam Williamson
1a29dac461 Add F37 background needle (day)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 14:00:58 -07:00
Adam Williamson
d3549c9e06 Remove some old F36 background needles that never match any more
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 14:00:45 -07:00
Adam Williamson
bc82572a4f Update some more anaconda needles for new icon theme
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 13:59:20 -07:00
Lukas Ruzicka
decbe662c5 Add needle to cover for Logs test. 2022-08-11 13:58:25 -07:00
Adam Williamson
0c3b8c1ff3 Update nautilus needles
This was meant to be in the previous commit, but I forgot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 09:41:13 -07:00
Adam Williamson
1d1ffa0203 Update Calculator credits shown needle for 43
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 08:58:59 -07:00
Adam Williamson
e6bac8bf1e Update anaconda select_packages needle for icon theme change
Latest adwaita-icon-theme changed the icon anaconda uses for
Software Selection.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 00:00:06 -07:00
Adam Williamson
e2e8fcadd4 Rationalize GNOME credit button handling
We had a ton of needles all covering something very similar
(press a "Credits" button in a GNOME app). There are about four
real variations: old-style regular face white-on-black (eog),
old-style regular face (nautilus and evince before recent
libadwaita ports), old-style bold face (GTE and Clocks before
new libadwaita), and new-style (everything that's been ported
to use libadwaita for its About page). Let's just rationalize
it down to those, using the same needle tag for all of them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 18:24:57 -07:00
Lukáš Růžička
9e0ec721a6 Create a new test for Gnome Weather 2022-08-08 18:24:51 -07:00
Adam Williamson
3cb6b5899a Remove a script file I used for the calculator needle thing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 17:43:39 -07:00
Adam Williamson
87ad2fb63e Add (back) old calculator button needles for Silverblue/flatpak
Silverblue has Calculator as an older-versioned flatpak, so it
still looks like it did in GNOME 42 (blue equals button, lighter
colored number buttons).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 17:34:32 -07:00
Adam Williamson
1154a2b739 Update a bunch of GNOME needles for libadwaita font color change
Text on some dialogs is now dark grey instead of black.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 11:07:42 -07:00
Lukáš Růžička
c40a35ea62 Add a new test for Calculator. 2022-08-05 11:34:22 -07:00
Adam Williamson
b867f9cd28 Tighten match area on new cockpit software updates needle
It needs to match even if the 'link target hint' is showing at
bottom left and kinda obscuring it a little.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-05 10:05:15 -07:00
Adam Williamson
49c3e72cd4 Update a cockpit needle for 274
They changed from "Software Updates" to "Software updates".
Apparently this was intentional and in line with Patternfly
guidance, so not marking as a workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-03 16:05:24 -07:00
Adam Williamson
a3270c10a9 Update printing_check_sentence needles for new ghostscript
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-02 12:54:34 -07:00
Adam Williamson
223ed39697 Update a couple of KDE app run needles for today's Rawhide
Again, probably down to noto font changes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 16:23:19 -07:00
Adam Williamson
ff5bad705b Update anaconda help needles for KDE in today's Rawhide
I think the change here is the new version of noto fonts. GNOME
uses adwaita so it's not affected.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 16:20:48 -07:00
Adam Williamson
6f6ca81e95 Update a bunch of GNOME needles for GNOME 43 alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 16:33:34 -07:00
Adam Williamson
406b99eaed Add some variant needles for F36 respin testing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 16:29:58 -07:00
Adam Williamson
8bec03edd7 Drop needles for check removed in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-25 16:45:17 -07:00
Adam Williamson
9495cfb1ff Update nautilus tests and needles for 43~alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-22 17:24:43 -07:00
Adam Williamson
84c6e18f14 Reduce duplication of nautilus Documents directory needles
We had three. We only need one, matching on the sidebar entry,
which should be always visible.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-22 17:17:59 -07:00
Adam Williamson
a33a5f3bf1 Add another passphrase entry needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 17:04:08 -07:00
Adam Williamson
d9d8620cae Add F36 GNOME logout entry needle
Needed for the semi-official live respin tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson
3274d29137 Update gnome-text-editor new document needle
Not sure exactly what changed, some kinda UI label tweak.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson
098c849b2f Update a cockpit needle for cockpit 273
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson
7db52ea34e Update a couple of KDE needles for return to dark grey theme
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson
66f4ad296a Lower match level on clocks_timer_finished needle
We got a 95% match in the F36 respin test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:07:46 -07:00
Adam Williamson
7f9db92d74 Update KDE notification needle for return to dark theme
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-13 14:27:24 -07:00
Lukáš Růžička
48ec73e814 Create a test suite for Nautilus. 2022-07-12 16:01:36 -07:00
Adam Williamson
bf6db9cfe9 Update KDE vault created needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-08 16:02:34 -07:00
Adam Williamson
26eb764865 Update GNOME update reboot confirm needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-08 15:59:50 -07:00
Adam Williamson
788b7167b1 clocks: add missing needle, improve tag name
That last commit to 'fix' the Clocks tests when Silverblue needs
location access to be granted wasn't complete, I left the needle
out. D'oh. Take the chance to give it a better name too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-07 14:28:59 -07:00
Adam Williamson
6e77155bb3 Drop match level on boxes_allow_inhibit needle
Got a 95% match today, let's just drop the level instead of
adding yet another needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-07 14:21:44 -07:00
Adam Williamson
0d71fd8554 Remove incorrect desktop_update_graphical needle for KDE
The previous commit is the correct fix for the problem here.
Adding a needle that matches on the tray icon was not correct,
we need to be sure that we can access the Updates view from
within Discover itself.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-04 09:56:25 -07:00
Lukáš Růžička
1f8b56e068 Change the way to download test data.
This PR changes the way to download the test data into the VM.
Although it does not use a disk image as suggested in one
of the review, it does not clone the entire repository, but
a simple tar.gz file that holds the data which will be
distributed into the directory structure.

This way, the amount of data needed to be downloaded dropped
from approximately 50MB to below 2MB.

Also, the existing test suites were adapted to this situation.
2022-07-04 09:34:04 +02:00
Adam Williamson
e13c716ab9 Update a couple of KDE needles for recent Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-29 16:48:11 -07:00
Lukáš Růžička
7c1e686d14 Create tests for Help. 2022-06-29 23:06:37 +00:00
Adam Williamson
79d92fc8cb Update a couple of GNOME needles for recent Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-28 15:05:53 -07:00
Adam Williamson
1c0ebc4f3f Update KDE vault needle for Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-28 15:04:44 -07:00
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
Adam Williamson
5b1d3517fe Open Documents folder on Silverblue
The open dialog on Silverblue (which is apparently not at all
the same thing as the open dialog on Workstation, though they
look the same) does not default to the Documents folder, so we
have to open it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-29 12:09:34 -07:00
Adam Williamson
5905546f6e Update Evince needles
These all failed to match first time the test was run in
production. I guess Lukas was working from an older release.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-29 11:46:32 -07:00
Lukáš Růžička
e0d9409c74 Create a test suite for Evince.
This PR fixes issue #188. It adds a test suite to test basic
functionality of Evince and brings the following features:

* test scripts for various Evince functions.
* needles to support the Evince test scripts
* new template variables `TESTPATH` and `POSTINSTALL_LOAD_ALL` (see
  below)
* new logic in `main.py` (see below)

The new variables and the new logic make it easier to create test
suites for post-installation tests. If TESTPATH is used, OpenQA
will take all tests mentioned in POSTINSTALL from that specified
TESTPATH. If both TESTPATH and POSTINSTALL_LOAD_ALL are used, then
OpenQA will run all tests it can find at the TESTPATH location.
If POSTINSTALL and POSTINSTALL_LOAD_ALL are set simultaneously,
then only POSTINSTALL will be taken into account and OpenQA will
only load tests mentioned there.
2021-07-28 08:58:23 +02:00
Adam Williamson
420205bd5e Update a desktop update test needle
Dunno if this is os-autoinst or what.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-23 15:36:18 -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
fa94d92433 OK, fine, we need one more kernel.org patch needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-20 16:53:06 -07:00
Adam Williamson
04654f0d09 Add a few more updated needles missed in recent commit
Missed a few needles from the recent big commit of updates for
new os-autoinst behaviour.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-20 10:47:22 -07:00
Adam Williamson
df8d08db6f Update zezere needles for upstream/os-autoinst changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-19 15:59:07 -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
86c34ca063 Drop match level for kernel.org "patch" needles to 92
Again, to combat os-autoinst's new behaviour without adding yet
more needles. We're getting 96% match on stg.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-19 11:13:14 -07:00
Adam Williamson
d5ebaaa756 Drop match level to 90 for all background needles
Also delete ones for F32 and earlier. This should hopefully help
us not need to have too many needles for the newer stricter
matching.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-17 12:46:07 -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
1cf779fa20 Update Cockpit login needle for "Fedora Linux" change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-14 14:11:52 -07:00
Adam Williamson
46c04c6a03 Update printing_check_sentence needle for a Pango change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-14 14:11:35 -07:00
Adam Williamson
a7504441de Tighten match area to fix matching against trivial change
Latest Firefox has moved the underline down slightly for some
dumb reason. This tweaks the match area to only the text, so it
matches wherever the underline is.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-07-12 16:16:45 -07:00
Lukáš Růžička
6d1d549941 Introduce a resize check and a postinstall test for custom and blivet
tests.

This PR fixes #228.
2021-06-30 11:01:50 +02:00
Adam Williamson
a24da1ef63 Update Firefox addon_install needle for new release
Existing needle matched 95% on F33 and F34 tests of a new version.
Not suer what changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-25 10:26:29 -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
395ed61a1a Automate the Anaconda_Save_Traceback_to_Bugzilla_Text test case.
This PR adds a new test that automates the above mentioned test case.
It starts the installation in text mode using the `install_text` test
case, which it interrupts using the Anaconda crash trigger.
When the crash happens, it goes through the process of reporting
the bug to Bugzilla, checks that Bugzilla sends a positive
confirmation of the action, but also performs some REST API
calls to do a proper check and then it closes the bug to clean up.
2021-06-17 16:28:29 -07:00
Lukáš Růžička
b87049217c Add testcase for Memtest. 2021-06-16 18:11:01 +00:00
Adam Williamson
526042b0a5 Manually add Japanese input source for install_asian_language
GNOME dropped the g-i-s new user mode in F34, so on a Japanese
install with user created in the installer, you don't get an
input source configured out of the box or on first boot. So
we'll just have to do it manually after booting, before we test
if it works.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-15 16:19:31 -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
Adam Williamson
0b45cd4adc Try and clean up desktop update needles a bit
The 'desktop_pacakge_tool_update-kde-detected' needles and
'desktop_update_notification_systray-kde' needles are actually
matching on exactly the same thing, so drop the redundancy. We
need to have the desktop_package_tool_update tag on the older
(F33) version of this needle because on F33 we click on it to
launch the update tool in the desktop_update_graphical test; from
F34 onwards this is *not* what we want to do so the needle should
not have that tag to avoid throwing the test off. When F33 goes
EOL we can drop that tag from the needle and simplify the
destop_update_graphical test. Also add a needle for the Discover
app's 'update' icon when no updates are found.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-14 12:32:27 -07:00
Adam Williamson
c28785afec Add F33 KDE variant Firefox 89 needles
KDE on F33 uses a different font, so needs its own needles...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-10 14:13:32 -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
2f73b7302b Add another Firefox 'close tabs' needle
Not sure why. Some font difference in different tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-08 16:36:52 -07:00