1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-18 12:33:09 +00:00
Commit Graph

1315 Commits

Author SHA1 Message Date
Adam Williamson
7abd61077e Update various anaconda and GNOME needles for icon theme changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-23 13:11:50 -08:00
Adam Williamson
b1dfcfdd3d Contacts: handle menu changes in 44
Contacts now has two burger menus, which is awkward. We need
specific needles to identify each, we can't rely on the generic
needle any more as it won't always open the right menu. We also
need to still work with the old UI for the flatpak.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-22 12:38:02 -08:00
Adam Williamson
4254906308 Try clicking Skip on the KDE welcome tour thing
It seems like just closing it results in it showing up again on
the next boot...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-21 19:57:19 -08:00
Adam Williamson
ddb3f44c57 Extend handle_welcome_screen to cover new KDE welcome tour
KDE has a welcome tour now, on F38 and Rawhide at least. Let's
"handle" it with extreme prejudice...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-21 18:16:13 -08:00
Adam Williamson
6976e2e7c9 Update printing sentence check needle for KDE
Font rendering change, again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-20 22:28:24 -08:00
Adam Williamson
c83ca6e240 Update several needles for GNOME icon theme changes
We'll need more after the next compose, but this gets all the
ones we hit in update tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-20 22:14:00 -08:00
Adam Williamson
d0699217a4 Handle g-i-s 44 requiring two tabs at 'set a password' screen
We still need to handle 43 only requiring one for now, and we
can't just make it release-dependent until 44 is stable for both
38 and Rawhide, so let's use a needle match temporarily. Only
44 has these eye/pencil icons on this screen.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-20 17:13:37 -08:00
Adam Williamson
b40d222cc7 Update a couple of anaconda needles for F36 KDE changes
These are similar to the changes in F37 and Rawhide, but these
needles are specific to F36 somehow so weren't updated in earlier
rounds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-20 09:24:35 -08:00
Adam Williamson
d9c27577c3 Update a bunch of GNOME needles for changes in GNOME 44
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-18 14:54:43 -08:00
Adam Williamson
020ad25638 Update KDE needles for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-18 14:50:24 -08:00
Adam Williamson
8bd29dfe21 Update several Japanese install needles
Looks like Japanese default font changes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-18 14:49:22 -08:00
Adam Williamson
5ac69f3141 Update prerelease note Arabic needle
Looks like the Arabic font changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 11:26:38 -08:00
Adam Williamson
856d2eb33e Add KDE variant for anaconda user creationt screen
This looks different now with the KDE theming change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 11:25:48 -08:00
Adam Williamson
80ac81e4df Update and add various version identification needles
KDE live installer started looking different on F37 too so we
need a new needle there, plus we need F39 needles now Rawhide is
F39.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 11:24:46 -08:00
Adam Williamson
39b3cc1ff3 Update login_gdm_input needle for appearance change in GNOME 44
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 11:24:02 -08:00
Adam Williamson
0029ca8c5a Add F38 background needle (beta, 13:09 time)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 11:23:12 -08:00
Adam Williamson
8ce6fa4d6e s/overview/overlay/ , duh
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 09:15:30 -08:00
Adam Williamson
ca6ca2e490 Handle a persistent overlay warning on live boot (#2170544)
In today's F38 and Rawhide, changes to the persistent overlay
stuff result in a boot warning you have to spam through. Let's
handle this as a soft fail so we don't have floods of failed
tests till it's fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-16 09:12:36 -08:00
Lukas Ruzicka
94f92c8ae7 Add failed needles for Maps. 2023-02-15 18:35:14 +01:00
Lukas Ruzicka
ecf02bb48b Add failed needles for Gnome Text Editor. 2023-02-15 16:07:13 +01:00
Adam Williamson
56999e1330 Update more anaconda network needles for font kerning changes
Looks like what happened here is font kerning changed (got
better) in the nm-connection-editor spawned from anaconda.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-08 15:21:24 -08:00
Adam Williamson
e75c3ffcb5 Update a couple of Cockpit needles for new release
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-08 15:20:22 -08:00
Adam Williamson
796e50f4fb Update various needles for KDE appearance changes
A lot of these are because anaconda is more KDE-themed on the
KDE live ISO now. The rest are just miscellaneous appearance
changes to KDE apps in recent Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-07 16:57:27 -08:00
Adam Williamson
8a960da62b Update installer IPv4 network tab needle
Font changed a bit, for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-07 16:56:16 -08:00
Adam Williamson
95b89ca832 Update anaconda needles for KDE live appearance change (#2167534)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-06 17:25:11 -08:00
Adam Williamson
7475176c00 Update maps needles
Bike route changed again. For the website opened needle, the
URL bar text seems to keep changing slightly, so instead let's
try matching on the big app logo...hopefully that won't change
as much.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-03 16:33:21 -08:00
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
Adam Williamson
245903dd0c Reduce a match area on firefox addon_success needle
Now we sometimes have to scroll the page down to add the addon,
the Remove button isn't always fully visible behind the popup.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-03 09:01:43 -08:00
Lukas Ruzicka
8ba56693ed Add snowflake needle for Gnome Weather 2023-02-03 13:45:09 +01:00
Adam Williamson
a4362346d4 Update various KDE needles for recent Rawhide changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-27 14:00:20 -08: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
Adam Williamson
f03743a01d Update anaconda additional repository flow
"Additional repositories" is now hidden behind a dropdown we
have to open first. This will make the test fail on anything
older than Fedora-Rawhide-20230121.n.0, but I don't think we
run this test anywhere that would be a problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-23 14:38:12 -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
296d2c0a20 Update Firefox addon success needle
Seems like some tiny graphical change in the icon of the addon
we use for testing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-18 09:58:01 -08:00
Adam Williamson
da18856ed3 Update cockpit needle for font change in 283
zero characters lost the line through the middle...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-12 22:56:49 -08:00
Adam Williamson
279ae24fc1 Add a couple more UEFI console passphrase needles
This seems like a tricky match.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-09 11:51:27 -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
Lukas Ruzicka
d4cb357db7 Add needle for Akonadi notification to make KDE notification test pass. 2023-01-03 09:56:24 +01: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
Adam Williamson
434b492eae Reduce match level for a KDE no notifications needle
Got a 92% match at
https://openqa.fedoraproject.org/tests/1661285#step/desktop_notifications/21

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-23 11:11:35 -08:00
Adam Williamson
bfe0558575 Update kwrite_runs needle for some Rawhide change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-23 11:11:11 -08:00
Adam Williamson
89faf008dd Drop match level on another KDE needle
Got a 94% match on this one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:47:22 -08:00
Adam Williamson
31ea2f1d2e Update a KDE update notification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:45:27 -08:00
Adam Williamson
f4cf54486b Update some KDE login test needles
This test fails on Rawhide (because sddm-on-wayland) but we just
got an F37 respin, where it passes but needs some needle updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:41:53 -08:00
Adam Williamson
bf1a19c07f Clean up KDE expand_systray needles, drop match level on remaining
All the deleted ones haven't been matched for five months. Drop
match level to 90 on the remaining ones, we got a 96 match for
one of them in today's respin test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 14:27:49 -08:00
Adam Williamson
aec26e8b2c Yet more needles for the cockpit update
I don't know why we wind up with so many slightly different
matches on the login screen. It's weird.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-15 11:17:49 -08:00
Adam Williamson
51d79a5435 Update a bunch of needles for Cockpit 282
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-14 17:35:24 -08:00
Adam Williamson
6b6caaf3a8 Update KDE menu button needle for an F36 update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-14 09:02:20 -08:00
Adam Williamson
02136a80e1 utils.pm: drop some stuff unneeded after F35 EOL
and associated needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-13 14:34:34 -08:00
Adam Williamson
729796730f Update KDE user confirm needle
This is from an F37 respin test that failed, Rawhide hasn't
reached this point for a while.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-13 12:43:50 -08:00
Adam Williamson
cce6a3da3d Update KDE login needle for some change in recent Rawhide update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-13 12:37:26 -08:00
Adam Williamson
27a45493e1 Just remove abrt_runs_found_problem needle
it's really just a dupe of the -problems needles, it turns out,
Lukas was reinventing that wheel. He had to add another one
today because I broke the JSON in this one when I was simplifying
it yesterday, but I think this one on the new -problems needle
are really just dupes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-08 09:53:34 -08:00
Lukáš Růžička
b4d6d73c47 Add another needle for Abrt as font has changed again. 2022-12-08 17:32:21 +01:00
Lukáš Růžička
5af70b9dda Reneedle Maps needles to support newer version. 2022-12-08 11:42:18 +01:00
Adam Williamson
4d3673f811 Simply abrt KDE stuff even more
...wait, this is what 'workaround' needles are for.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-07 11:30:08 -08:00
Adam Williamson
9c6d5459e6 Simplify the KDE abrt logic
This does the same, just cleaner.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-07 11:26:27 -08: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
6e0192fed4 Update anaconda warning bar needle
It seems to have become more orange.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-05 10:09:32 -08:00
Adam Williamson
1fecb3f9c4 Add an 'already selected' needle for root password screen
In case it's already selected/highlighted on the hub.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-05 10:08:49 -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
Lukas Ruzicka
f29572ba76 Abrt should not fail on found issues but softfail on startup tests. 2022-12-05 14:30:03 +01:00
Adam Williamson
9d050b8501 Add missing console_in_toolbox needle for ostree tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-02 23:09:17 -08:00
Adam Williamson
55721ae690 Drop match levels on the akonadi migration needle
To catch minor variations.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-02 15:53:10 -08:00
Adam Williamson
3c957de6d8 Update needles for Cockpit 281 (workaround)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-01 15:49:56 -08:00
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