Commit Graph

296 Commits

Author SHA1 Message Date
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 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 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 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
Lukáš Růžička bf55e4cc5f Add a failed needle for KDE prerelase note. 2023-03-07 16:25:00 +01: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 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 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 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 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 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 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
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 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 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 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 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
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 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 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
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 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 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 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
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 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 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 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 3a27510656 Update boxes/vinagre "allow inhibit" needle
The font went bolder.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:24:17 -07:00
Adam Williamson da0d1969f6 Add a workaround needle for broken vinagre fullscreen icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-17 16:22:37 -07:00
Adam Williamson ea880659fc Update root password screen needles for other languages
Same difference as for English - 4 pixels of padding was added.
Also move a stray Russian needle to the right directory.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-11 16:21:14 -07:00
Adam Williamson 763ef5d48f Update leftbar_server for current Rawhide
The "FEDORA" part of the logo has changed a bit for some reason
(smaller, no TM).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:46:15 -07:00
Adam Williamson 4d2c997d47 Update root password screen needle for anaconda 37.7
A margin got bumped by four pixels.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-09 16:44:53 -07:00
Adam Williamson 618944b0a9 Update French admin selected needle now it's translated
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:05:03 -07:00
Adam Williamson c784011fc2 Add 'version 37' needles needed for Rawhide update tests
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-04 17:04:15 -07:00
Adam Williamson 954b6f90bc Update variant anaconda layout needles for F36 RCs
We get these variant needles with the keyboard icon and layout
name at slightly different relative vertical positions every
time we do a Final RC. I think the layout is affected by the
pre-release warning text no longer being present. Usually each
cycle something changes with the icon or with font rendering,
so the needles have to be updated, as in this case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-05-03 13:10:09 -07:00
Adam Williamson 6ec9d9a3f1 Update Japanese needles for latest Rawhide
"Make user admin" is translated now, and Japanese text rendering
seems to have changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-04-21 08:27:40 -07:00
Adam Williamson 904fd7e406 Drop match level on user_created_qwerty needle
It's coming up a 96% match, I dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-18 16:45:47 -07:00
Adam Williamson f24c09fad2 Update the topbar_generic needle
We very rarely see this needle - only when we run the 'generic'
tests on an Everything image instead of a Server one, which
will usually only happen if we trigger it manually. I did this
recently to test an anaconda update, and found it needs an
update.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-18 13:55:49 -07:00
Adam Williamson 4e09c5696b Add yet another help_quit_kde needle
I do not know what's going on with this quit button and why it
seems to keep showing up looking different. Today it looks
different in the same image (KDE live) from the same compose
(today's Rawhide) on prod and stg openQA. I've no idea how that
is possible, but oh well, let's keep adding needles till the
pain stops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 15:55:35 -08:00