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

140 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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