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

1511 Commits

Author SHA1 Message Date
Adam Williamson
8039934123 Update several gnome-text-editor needles for 45 alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 12:21:44 -07:00
Adam Williamson
f49c8bc66b gnome-text-editor: only handle spellcheck language if needed
The Flatpak build doesn't have the spellcheck issue at the
moment, and it may be fixed soon in the RPM build. Trying to
'fix' the issue on the flatpak build actually makes the test
fail. So, let's only do the fix if we actually have a misspelled
word.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 12:19:41 -07:00
Adam Williamson
7dc1299d9f Update a bunch of needles for GNOME 45 Alpha builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 10:57:52 -07:00
Adam Williamson
2f709ed28e Update a lot more needles for new libadwaita
Aside from g-t-e which requires some more logic change I'll do
in the morning, this should be everything.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-03 23:10:20 -07:00
Adam Williamson
557b6f2fc1 Update some GNOME needles for a change in libadwaita
Looks like a shade of grey changed a bit. There will be more
changes for the compose tests, but this fixes the update tests
at least.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-02 15:03:13 -07:00
Adam Williamson
f31e3d192f Add F38 variant of the new gnome-text-editor needle
This is needed for the respin tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-30 16:50:38 -07:00
Adam Williamson
bb7c7d42d0 Drop now-unused needles for Photos
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-30 10:13:48 -07:00
Lukas Ruzicka
d749317f29 Update the Gnome-Text-Editot test.
The editor started to show spell-checking that would require a lot
of new needles to be created. Theredore, we set the language to
English to stop showing the spelling mistakes in aaa_setup.pm

Also, the application started to have problems with getting correct
focus, so we want to click into the text before the status gets
recorded.
2023-06-30 14:26:00 +02:00
Adam Williamson
5e6ed8fd08 Update a Cockpit needle for v295
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 10:01:27 +02:00
Adam Williamson
a01c5bc45d Update Maps needles for some recent changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 10:00:32 +02:00
Adam Williamson
92b732385f Update a KDE notification needle for some change in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 09:59:37 +02:00
Adam Williamson
91e77c1eec Update Calculator needles for Rawhide
Seems the font used in Calculator changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 09:58:18 +02:00
Lukas Ruzicka
bc8601a1d4 Create test for the Tour application. 2023-06-23 10:53:58 +02:00
Adam Williamson
43ed1c4ed6 Update KDE notification needles for a slight font config change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 14:37:22 +02:00
Adam Williamson
d1228e5813 Add another variant for maps_found_brno
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 14:33:22 +02:00
Adam Williamson
475613dd07 Update a partitioning needle for a space difference
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 14:32:49 +02:00
Adam Williamson
5d1a055d33 Add yet another Zezere claim button variation
Sigh, variable width fonts and subpixels are a regrettable
combination.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 10:24:19 -07:00
Adam Williamson
eda7964c0f Update some Maps needles
Seems like it's not showing as much stuff on the address
selection box as before...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 10:23:21 -07:00
Adam Williamson
d8bad7a292 Update GNOME maps walking route needle
It's more zoomed out now, possibly because the route changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-30 15:26:06 -07:00
Adam Williamson
8535552552 Update the 'emergency rescue' prompt needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-30 15:24:54 -07:00
Adam Williamson
abc60d23c8 Drop dnfdragora from KDE app start/stop tests
It's not in the images any more. As aleasto pointed out, we're
actually being sent to Discover to install it, and matching on
*that* screen, which isn't what we intend.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-30 14:05:42 -07:00
Adam Williamson
3e2b96f33c Make blivet-gui 'folder' volume icon needle not workaround
Per the upstream issue, this change was intentional (as a 'least
worst' option), so we shouldn't mark the needle as workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-26 11:38:44 -07:00
Adam Williamson
cdca89a9d7 Add link to explain blivet-gui 'workaround' needle
Add a link to the issue report for blivet-gui using an odd icon
for btrfs volumes, now I finally filed it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-26 10:24:33 -07:00
Adam Williamson
22f85493a3 Update Arabic needles for some change in Rawhide
Some kinda font change, I guess.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-24 14:16:28 -07:00
Adam Williamson
ed5e1e28dc Add yet another Weather icon variant
Rain. How did we not have rain yet?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-18 16:43:02 -07:00
Adam Williamson
fb0f407e03 Add a cockpit logs_entry_detail variant needle
For a while, it seems like the test was often hitting a message
where the field we match on isn't actually visible because a lot
of other fields are shown first. So, add a variant needle that
matches on a different field, the message ID.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-18 16:41:55 -07:00
Adam Williamson
1a53351188 Update Japanese needles for some font change in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-18 16:41:05 -07:00
Adam Williamson
89fa04661f Disks: workaround partitions sometimes being mounted after format
https://github.com/storaged-project/udisks/issues/1102 - udisks2
seems to have a bug where it leaves filesystems mounted at a
"temporary" mount point after creating them. We need to work
around this when it happens or else we'll frequently get test
failures.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-18 15:15:02 -07:00
Adam Williamson
ea42516280 Update blivet part_boot-inactive needle
This is needed to make the LVM resize test work properly...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-16 15:46:00 -07:00
Adam Williamson
280139db2b Add some more variant 'website opened' needles
These hit low-90% matches when run on the F38 respins for some
reason, just add another variant...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-16 15:45:10 -07:00
Adam Williamson
0e6553f4d1 Tweak LVM partition scheme needles a bit
In https://openqa.fedoraproject.org/tests/1938847 , we wound up
doing an LVM thinp install when we meant to do a regular LVM
install, because LVM was already highlighted (for some reason)
in the scheme list, and the "LVM" needle is narrow enough that
it matched on the start of "LVM Thin Provisioning".

To avoid this, we make the match area in the existing needle
wider so it can't match on "LVM Thin Provisioning", and add an
alternate needle for LVM when it's highlighted.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-16 14:42:23 -07:00
Adam Williamson
c9deb243cd Restore anaconda_blivet_part_inactive_boot tag
It's needed for install_blivet_resize_lvm to work properly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-16 11:13:29 -07:00
Adam Williamson
e297cf89d8 Add another Maps needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-12 17:22:29 -07:00
Lukas Ruzicka
e211a87fc7 Create a test suite for Disks. 2023-05-12 17:05:44 -07:00
Adam Williamson
3781b2796d Update several needles for changes in GTK 4.11.2
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-11 16:56:19 -07:00
Adam Williamson
12fa854527 Add a variant archiver file needle
I don't know exactly why this sometimes shows up highlighted and
sometimes unhighlighted, but hey, it's not wrong either way, so
we just handle it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-11 16:54:41 -07:00
Adam Williamson
108e234d66 Add a variant nautilus needle that showed up in respin testing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-11 16:52:50 -07:00
Adam Williamson
d4136392d4 Old needle cleanup 2023-04-28
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
1effed1069 Drop unused branch and needle in desktop_login
We never hit this path without a system menu button any more,
due to changes in KDE over time. It hasn't been hit for two years.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
3e6e80ca87 Drop a no-longer-reached branch and associated needle
Now both GNOME and KDE do offline updates on all supported
releases, we never see an 'update done' screen any more. This
branch is left over from when the KDE offline update branch was
still conditional on release number.

If we ever implement this test on a desktop that doesn't do
offline updates, we can put this back easily enough.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
c7e0af6e8c Simplify blivet_btrfs_preserve_home, drop unneeded needles
There's no need to do all this 'check whether it's selected and
click it if not' stuff (for three different mount points). Just
always click it. If it's already selected, clicking it again
doesn't hurt (one of these stanzas even clicks it *even if it's
selected*!)

If we need to cover both cases, we just need two needles with
the same tag, we don't need separate code paths. In each case,
though, we actually haven't matched one of the needles for ages
(the most recent was part_boot_selected, but now we're using
GPT by default, we won't hit that any more as it'll be the BIOS
boot partition that's selected by default), so delete the needles
we aren't matching any more. If we *do* hit any case where we
need to handle the 'other' state, we can just add the alternative
needle with the same tag.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
73e9c5c27e Drop a check for ext4 filesystem already selected
This has not been hit for a year (on stg; three years on prod).
I *think* it would only be hit if we ran the test on an Everything
image, but as the test is now specifically associated with the
Server install DVD, that doesn't seem likely to happen.

If we somehow *do* hit ext4 pre-selected again, this can still
be handled simply by adding an alternate
anaconda_blivet_part_fs_ext4 needle which matches on ext4 already
being selected; that avoids the need to keep an alternate code
path around.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
b62d832c3a cockpit updates: drop the security branch, update 'ignore' needle
This branch is very fragile, because the test won't fail if we
miss the match on the security needle. So in practice, we are
never going to notice when the needle goes stale, and we'll just
wind up never triggering this branch and always going down the
other path. That's the current situation: the security_install
needle last matched more than a year ago at least. Let's just
admit the truth here and drop the branch entirely.

Also update the cockpit_updates_restart_ignore needle. This is
in a similar case - we don't really notice when it goes stale,
as the test completes, it just takes a bit longer - but since
this one is quite easy to find, let's just update it instead of
dropping it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
9199f8a0f0 Drop gnome-contacts softfail for "Unnamed Person" problem
This was resolved upstream and we're no longer hitting this bug
in tests on F38, Rawhide or even F37 respins, so we should no
longer need this workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
7dece68ae6 Drop old branch of gnome-text-editor 'skins' test
This is never hit any more, everywhere we run this test is on
the newer code now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
1de9d7fa34 Drop click_unwanted_notifications (and associated needle)
It looks like neither of these has been a problem for some time.
The notification needle has not matched for a year. The akonadi
needle doesn't exist any more - it was cleaned up in the 2021
needle cleanup, meaning it hadn't matched for weeks in 2021. I
checked the last several months of KDE app start/stop tests and
don't see any case where there was a stray notification that we
missed. So I think we can just ditch this whole mechanism for
now; if we have problems with these notifications again in future
we can put it back.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:15 -07:00
Adam Williamson
2909451887 Add missing Kontakt 'enable_unified_mailboxes' needle
The last one of these was deleted during the last needle cleanup,
but we do actually still occasionally hit the dialog, e.g. in
https://openqa.fedoraproject.org/tests/1837435/modules/kontakt/steps/3
so let's add an updated version of the needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-04 09:57:14 -07:00
Adam Williamson
651590f3df Drop match levels on some older layout needles too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-26 23:00:13 -07:00
Adam Williamson
c0787d8f8d Drop match level on the new Russian needles a bit
This makes them match in Shell as well and saves us more needles,
I hope.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-26 18:19:58 -07:00
Adam Williamson
e3b0211689 Update multiple needles for GNOME 44.1 changes
That grey background that's used in a lot of places changed
shade slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-26 17:46:56 -07:00
Adam Williamson
8744042e32 Update Nautilus needles for changes in GNOME/GTK file selection
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-25 11:30:26 -07:00
Adam Williamson
de7f018632 Update Archiver needles for changes in GNOME/GTK file selection
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-25 11:29:36 -07:00
Adam Williamson
a2a3ba8790 Add another variant Evince file select needle for Flatpak
For some reason the file can be highlighted/selected in blue as
well as grey. Well, whatever.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-25 10:26:31 -07:00
Adam Williamson
5ab7fc505c Update several Maps needles for OSM changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-25 10:20:56 -07:00
Adam Williamson
9935c42afb Update a couple of GDM needles for change in GNOME Shell 44.1
I think the shade of grey on the background changed. We'll
probably need more needle updates for the compose tests (the
desktop_login test and different languages), but this covers the
update tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-25 10:08:00 -07:00
Adam Williamson
1264ce4aca Add variant 'another file' needle for nautilus test
In today's Rawhide, for some reason, after we delete the first
file, the second file we want to delete is highlighted.
Previously the other file in the directory was highlighted. No
biggie, just handle both cases.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-11 11:16:59 -07:00
Adam Williamson
44147a67da Add some variant Fonts needles for Silverblue
There's a difference in the Info page and we get every font
twice on Silverblue because they're present in two locations.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-11 11:16:12 -07:00
Adam Williamson
a07cc52a6e Add variant gnome-panel lockscreen needle for F37
For when this test runs on respins.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-07 09:45:11 -07:00
Adam Williamson
d29e5a92bd Update f38 background dark needle for final image
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-07 09:44:50 -07:00
Lukas Ruzicka
7291e3526e Create a test for Gnome Panel. 2023-04-06 15:50:43 -07:00
Adam Williamson
d3e3dc1a31 Update a Maps bike route needle, again
Man, this app loves changing its mind about how to ride a bike
across the UK...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-06 12:38:56 -07:00
Adam Williamson
af4e1e6592 Update KDE anaconda 'help' screen exit needle
The X changed a bit, not sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-06 12:38:29 -07:00
Adam Williamson
b411ca3c99 Update some KDE notification needles for brighter background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-06 12:37:52 -07:00
Adam Williamson
3b88d9249d Update F38 background needle again
Matt decided to make it brighter.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-06 12:37:18 -07:00
Adam Williamson
57a3e68c56 Update Firefox new tab needle
This actually hasn't matched for years, we've been falling back
to ctrl-t the entire time. Happened to notice it today while
debugging https://bugzilla.redhat.com/show_bug.cgi?id=2184549

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 18:25:15 -07:00
Adam Williamson
70b442827c Update KDE 'no notifications' needle for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 18:24:44 -07:00
Adam Williamson
7aa21b308f Update some Maps needles for OSM data changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 18:24:13 -07:00
Adam Williamson
fc442a6c4d Update F38 background needle for final version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-02 09:05:22 -07:00
Adam Williamson
116e48fad1 Update KDE update security variant needles for latest KDE
These variants only show up when a security update is in play,
so not very often; this happened today, so now we get to update
them for current KDE.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 15:18:48 -07:00
Adam Williamson
1ce16da1c2 Add another weather icon variant needle
Half sun half cloud?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 15:17:25 -07:00
Adam Williamson
b2d039d1d8 Add a variant needle for nautilus "new window" menu entry
This is when it's highlighted in grey, for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 15:00:23 -07:00
Adam Williamson
f6147d2597 Add yet another Zezere claim button variant needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 14:59:30 -07:00
Adam Williamson
2c8067698f Update a bunch of Japanese needles for a CJK font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:33:13 -07:00
Adam Williamson
d29bb41c86 Update KDE spectacle runs needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:32:14 -07:00
Adam Williamson
c7f8e4bb8e Rename the last KDE printing needle, add another new one
Today's rendering is different from yesterday's for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:30:17 -07:00
Lukas Ruzicka
4f8c4411a4 Update Map needles. 2023-03-29 09:50:46 +02:00
Lukáš Růžička
0075780ac5 Create test suite for Fonts. 2023-03-28 15:58:16 -07:00
Adam Williamson
5f1636844a Update KDE printing sentence needle for KDE Gear update
KDE Gear 23.03.80 changes rendering in the PDF viewer again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-28 10:01:27 -07:00
Adam Williamson
1de4a19bfe Update akonadi migration notification needle for current KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-27 17:39:28 -07:00
Adam Williamson
a9fcc1071e Drop match level on a Maps 'issue opened' needle
The font rendering on this URL bar seems to be slightly unstable
for some reason. We got a 95% match on this needle in
https://openqa.fedoraproject.org/tests/1846906#step/about/10
so let's just bump the level down a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-24 11:40:08 -07:00
Adam Williamson
47f239e03d Update a Maps needle
Just looks like the content on OSM changed a little.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-23 15:14:00 -07:00
Adam Williamson
16ba2a3cb9 Update GNOME Contacts "right menu" needle
They made it a kebab menu instead of a second burger menu, which
makes things easier.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-23 15:12:56 -07:00
Adam Williamson
f213b8767e Add F39 IoT version ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-21 18:40:27 -07:00
Adam Williamson
a2c8937e7a Update GNOME live welcome screen needle
It got redesigned. No icon any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-21 18:39:43 -07:00
Adam Williamson
c9a0cab6ec Update a GNOME Clocks needle
The button label changed slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-16 13:41:47 -07:00
Adam Williamson
301daa6c9e Update a GNOME system monitor needle for ARM
This is a 44 change that I didn't catch for a while as I forgot
to check the ARM tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-16 13:35:44 -07:00
Lukas Ruzicka
0d4f3f4542 Fix a failing needle for Maps. 2023-03-13 13:39:22 +01:00
Adam Williamson
1133d7fbdc Update several GNOME Contacts needles
They tweaked how the contact name field is named/placed, so these
all need updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-07 12:23:24 -08:00
Adam Williamson
c3dd5165cc Update anaconda root password spoke pre-selected needle
...for the GNOME icon theme change. This needle isn't hit very
often so it didn't get updated with the others.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-07 12:22:26 -08:00
Adam Williamson
bda24173b1 Delete one match from a GNOME Help needle
They've dropped the IRC section from this page. We don't really
need three match areas, just the two is sufficient to identify
it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-07 11:45:30 -08:00
Lukáš Růžička
bf55e4cc5f Add a failed needle for KDE prerelase note. 2023-03-07 16:25:00 +01:00
Adam Williamson
ed72359aae Update zezere needles for F37 and recent zezere
This test hasn't run for a long time due to
https://bugzilla.redhat.com/show_bug.cgi?id=2151607 , now we got
it working again, almost all the needles need updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-02 16:20:59 -08:00
Adam Williamson
b399e8b883 Add f37 variant of KDE abrt run needle
This is for the respin tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-02 16:19:48 -08:00
Adam Williamson
a828ff5d91 Tweak KDE getting started needle
If the cursor is visible in the middle of the screen, this would
not match. So move the match area a bit

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-01 15:25:16 -08:00
Adam Williamson
9c736f9ffc Update a bunch more Japanese needles for GNOME 44
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-24 14:54:08 -08:00
Adam Williamson
0b7ac7ea59 Update KDE notification needles for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-02-23 13:13:10 -08:00
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
Adam Williamson
f1fc1a13ba Update F37 background needle to final version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-27 23:20:34 -07:00
Lukáš Růžička
c4443b0298 Add a needle to cope with a changed design. 2022-09-27 10:47:08 +02:00
Adam Williamson
5abfc00e4a Update several KDE and KDE app needles for theme changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-26 18:04:06 -07:00
Lukas Ruzicka
ba0062e5be Create a test case for Archiver. 2022-09-22 08:59:07 +02:00