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

1214 Commits

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