Commit Graph

511 Commits

Author SHA1 Message Date
Adam Williamson b2abe0e6a6 Update evince annotation added needle for some small change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-03 16:32:43 -08:00
Lukas Ruzicka 8ba56693ed Add snowflake needle for Gnome Weather 2023-02-03 13:45:09 +01:00
Adam Williamson e22f0c66e4 Update Maps needles for Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-23 16:33:42 -08:00
Adam Williamson ebf259680b Update LibreOffice launcher needles
Looks like the icons got redesigned.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-23 16:33:02 -08:00
Lukas Ruzicka 7ad809339f Add new test for Characters.
This PR adds a small test suite to test the Characters applications.
It displays several different groups of characters and then tries
to copy one of the characters and place it into a text editor.
2023-01-19 17:53:03 -08:00
Adam Williamson 1d46c5aa85 Update maps 'website opened' needle
Looks like some font rendering change in the browser URL bar.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-18 10:00:54 -08:00
Adam Williamson 2db1e57674 Check for 3rd-party popup instead of 'welcome' screen
GNOME Software no longer has a welcome screen in any current
Fedora (it was dropped between 35 and 36), but in Rawhide it now
has a popup that prompts you to enable third-party repos which
we need to get rid of, so just convert the welcome screen check
to handle that, and drop all the welcome screen needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-09 10:34:27 -08:00
Adam Williamson f32ee1040a maps: update bike route needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-24 13:33:07 -08:00
Lukáš Růžička 5af70b9dda Reneedle Maps needles to support newer version. 2022-12-08 11:42:18 +01:00
Lukáš Růžička 179764d49c Fix tests for Maps.
* Scarborough provided quite a messy map that resulted
in frequent needle failure. Changing the location
for something better to make it more reliable.
* The zoom test could have failed with a low resolution
image. Adding some timeout to the needle give more
time to load the proper image.
2022-12-07 11:52:11 +01:00
Lukas Ruzicka bf2f8d7305 Add two more needles for Maps. 2022-12-06 10:45:19 +01:00
Adam Williamson 894cc5072e Update some more maps needles
I think these needles are pretty fragile to changes in the
underlying OSM dataset, not just in Maps itself...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-05 17:54:56 -08:00
Adam Williamson 9b97028a25 Update the Maps 'found Scarborough' needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-05 10:07:50 -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 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 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 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 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
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
Lukáš Růžička 5ea921b17b Create tests for Gnome Contacts. 2022-10-18 14:22:52 -07: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 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 79d14edfe9 Add another weather variant needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-05 18:15:43 +02:00
Lukáš Růžička c4443b0298 Add a needle to cope with a changed design. 2022-09-27 10:47:08 +02:00
Lukas Ruzicka ba0062e5be Create a test case for Archiver. 2022-09-22 08:59:07 +02: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 7c205c11db Update Weather app needles some more
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 16:20:18 -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 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 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 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 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 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 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
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 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 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 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 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 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
Lukáš Růžička 48ec73e814 Create a test suite for Nautilus. 2022-07-12 16:01:36 -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
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
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
Lukáš Růžička 6f00e3fe8a Create tests for Clocks. 2022-06-23 21:41:56 +00: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 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
Lukáš Růžička 18f6b0863e Delete unused needles. 2022-05-19 11:13:30 +02: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
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
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 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 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 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 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 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 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 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 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
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 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 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 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 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 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 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 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 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
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 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 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 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 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 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
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 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
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
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 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 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 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 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 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 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 2ed23740d4 A few misc needle updates
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-18 14:02:27 -07:00
Lukáš Růžička b65f470eee Create basic functions tests for Gedit. 2021-08-12 15:37:37 +02:00
Adam Williamson 492fcf62e4 Great Needle Cleanup 2021
Remove a whole chunk of needles that haven't matched for more
than 3 months. Also move a few needles to appropriate locations,
simplify some code chunks that relied on removed needles (if
we're not matching the needles, we don't need those chunks any
more), and drop some other no-longer-needed conditionals for
older releases.

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

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-08-03 15:21:33 -07:00
Adam Williamson 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 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 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 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 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 1b28976f49 Update several GNOME app test needles
Not sure why these changed, but oh well. Utilities menu was
highlighted in a test run for some reason, so let's just handle
that. Other needles changed very slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-14 14:26:10 -07:00
Adam Williamson de87c3f28e Update gedit needle for recent change
It now calls new files "Untitled File", not "Untitled Document".

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-01 15:46:34 -07:00
Adam Williamson 609a0b04e6 Update arabic, japanese, russian needles for recent GNOME changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-01 15:42:46 -07:00
Lukáš Růžička 57cd0cb3c6 Fix a typo in the needle file.
There was a typo in the apps_menu_button_french_20161215 which
prevented the `check_needles.py` from exiting gracefully.
The fix solves the situation.
2021-03-30 12:06:29 +02:00
Adam Williamson 0c0e25873d Another apps_menu_button French needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-26 20:43:30 -07:00
Adam Williamson 4c623f61f9 Update getting_started tour needle
Not sure if this difference is 40 stable vs. 40 beta or just
different in French for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-26 18:25:25 -07:00
Adam Williamson 106006cbc1 Update login input and GNOME app menu needles for non-English
We'll need a couple more needles too, but this is a start.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-26 18:24:42 -07:00
Adam Williamson 1819a9c2e1 Update locked screen user switch needle for GNOME 40 change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-25 23:47:51 -07:00
Adam Williamson 29f75788e9 Update a bunch of GNOME app needles for GNOME 40 final
Some apps moved around, others the needles stopped matching for
some reason, some kind of slight scale change or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-24 18:36:38 -07:00
Adam Williamson cde370bf1b Update several needles for new Fedora logo
The package with the new logo is not submitted as an update yet,
but we ran the tests on the Koji build and these are the new
needles. We'll need more when we run the full set of compose
tests on the change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-24 12:58:30 -07:00
Adam Williamson 05dfbef1a8 Update Activities button handling for latest GNOME
Make the 'deactivate overview if it's active' thing a bit more
robust by asserting the inactive state after deactivating it,
and add new needles for the new RC (text got a bit brighter).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-16 17:24:08 -07:00
Adam Williamson c0cced6a3f Update GNOME login needles for darker GDM
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-12 18:38:14 -08:00
Adam Williamson ac9edb4cfb GNOME apps: drop Archiver test
The app was dropped from Workstation's default package set a few
days ago. See:
https://pagure.io/fedora-workstation/issue/167

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-05 18:25:29 -08:00
Adam Williamson b349e7cb1a Update GNOME update notification needle for GNOME 40
The icon looks a bit different now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-05 17:53:36 -08:00
Adam Williamson 1e5d767fa3 Handle GNOME 40 now starting at overview, not desktop
For consistency, let's just return to the desktop right away. We
also need to handle closing the overview before running installer
on live image boot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-04 16:03:21 -08:00
Adam Williamson 51341dc2ff Update several GNOME app needles for overview change
The icons in the dash got a bit smaller again, so all these
needles need updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-03 18:59:16 -08:00
Adam Williamson 6658740b2a Update the GNOME app run test needles for GNOME 40
Overview changed a lot, so all these needles need updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-22 17:04:22 -08:00
Adam Williamson 9f0451574d Update printing_check_sentence needle for some font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-19 10:26:57 -08:00
Adam Williamson 45ecd40834 Update several needles for GNOME 40
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-18 14:18:12 -08:00