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

2958 Commits

Author SHA1 Message Date
Adam Williamson
2458ff7580 Adjust tests to handle webUI reversion
We're reverting webUI for Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2023-73c4f1a802
is the update that implements this; adapt the tests to handle it
(by expecting the old flow when testing that update, and editing
the kickstart to drop anaconda-webui when building the live
image).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-12 11:09:52 -07:00
Adam Williamson
20a3deb11c Drop English tag on new apps_menu_button needles
They're not English-specific any more, since they're not text.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-08 23:59:55 -07:00
Adam Williamson
82ae0a3b81 gnome-initial-setup: handle keyboard being skipped
We now have a fix for the bug on the new webUI flow where the
language and keyboard screens weren't skipped on the first boot
after install, as intended. language is never *really* skipped -
it just turns into welcome - but keyboard is now being skipped,
which messes up the logic here.

For a short time we need to handle both paths, to get the new
anaconda builds through and new composes built. In a couple of
days we can simplify this to just always assume keyboard will
be skipped on the first boot on Workstation live installs on
F39+.

Also drop handling of auth_required in g-i-s - I'm pretty sure
that bug got fixed years ago - and wait_still_screen for three
seconds on each page, to let animated transitions settle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-07 13:11:45 -07:00
Adam Williamson
ccfef0d168 Retry setting root password on live
This seems to have started failing periodically at the start of
this month, I've no idea why. For now, let's retry it a few
times and see if that helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-07 08:34:16 -07:00
Adam Williamson
d8efb7df1d installer_build: fix image upload on non-x86_64
Let's not hardcode the arch in the upload_asset call!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 17:24:35 -07:00
Adam Williamson
deb25acdf9 installer_build: install hfsplus-tools on ppc64le
We need this on ppc64le. Never tried running this test on it
before.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 16:43:36 -07:00
Adam Williamson
45c1dd465f Add a variant console_in_toolbox needle
Seems like sometimes the purple blob looks a bit different,
somehow? Dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 14:53:35 -07:00
Adam Williamson
fc130c5202 Update Characters 'website opened' needle
Seems the displayed URL changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 14:52:45 -07:00
Adam Williamson
7362323cef Update GNOME overview button needles for 45-rc
The button to open the overview no longer says Activities.
Instead it's a...flat...oval...thingy. Okay! New needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 14:51:20 -07:00
Adam Williamson
636d16e122 More needle updates for F39 backgrounds
Add the dark background variant, and update KDE systray needles
(thanks, translucency!)

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 14:50:32 -07:00
Adam Williamson
bca01de5e7 Give toolbox install a bit longer to run
It seems psst-selinux scripts can take a *long* time and this
test is sometimes timing out here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-06 12:33:01 -07:00
Adam Williamson
e283bf6718 Add F39 Beta day background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-01 23:23:36 -07:00
Adam Williamson
4976c83f5e Update a couple of GNOME needles for appearance changes today
I guess this is related to the cluster of GNOME bits that was
updated recently. Just a slightly different background color for
the control-center sidebar, and slightly different rendering of
the misspelling red dot underline in gte.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-31 18:35:59 -07:00
Adam Williamson
d05a215ad5 Run toolbox test on KDE as well
There's no obvious reason it'd ever give a different result on
KDE vs. Workstation, but since we added a matrix box for it on
both, we'd better run it on both.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-29 15:08:09 -07:00
sumantrom
b9afdc8ae7 add toolbox test case with basic func to create, list, start and stop 2023-08-29 07:59:24 +05:30
Adam Williamson
c28ef7a3af Revert "Update apps_run_terminal needle"
This reverts commit a2c6f88fab.
Turns out this change was a bug in adobe-source-code-pro-fonts -
if we see this again, it's bad news and we shouldn't accept it.
2023-08-28 17:09:25 -07:00
Adam Williamson
a2c6f88fab Update apps_run_terminal needle
I think this is either a font change or an update to the color
prompt Change, not sure which.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-28 16:02:03 -07:00
Adam Williamson
8f888317b5 anaconda_help: create test plans before the first assert_screen
So we can bail early enough on webUI.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-25 14:55:20 -07:00
Adam Williamson
d9ebb56ebf Sigh, it's record_soft_failure, not register_soft_failure
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-25 14:51:35 -07:00
Adam Williamson
539f8a54fc Effectively skip anaconda_help on F39+ Workstation live for now
There isn't any Help in the webUI installer, really. In future
it's meant to have more 'contextual' help - little question
mark icons next to elements of the UI that explain them when
clicked on - which we could implement tests for, but this isn't
done yet.

Let's not skip scheduling the test entirely, because we can
still run it on F38 respins, and we may be able to implement
testing of the contextual help in future. So let's just soft
fail and return immediately. If we get to F39 stable without
the contextual help being implemented (or it turns out not to
be testable within the confines of this design), we can skip
scheduling the test on webUI images entirely.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-25 14:48:42 -07:00
Adam Williamson
df1c9037d6 Add a missing ; in utils.pm
I've no idea how this isn't making things crash?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-25 14:38:40 -07:00
Adam Williamson
e854035816 Update several Maps needles for routing
Seems the button color changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-24 23:51:54 -07:00
Adam Williamson
5eeeacc77e Revert "Add new ImageViewer needle."
This reverts commit de83ea13ba. I
already added a needle for this yesterday, this seems to be a
dupe.
2023-08-24 23:50:19 -07:00
Lukas Ruzicka
de83ea13ba Add new ImageViewer needle. 2023-08-24 14:07:24 +02:00
Adam Williamson
f22af41f0f ostree: avoid rebasing from F39+ to <F39
Now F39 has branched from Rawhide, we can tweak the rebase logic
to never rebase from F39+ to <F39, and avoid
https://github.com/fedora-silverblue/issue-tracker/issues/470 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 16:12:57 -07:00
Adam Williamson
f1a6c91784 Drop a couple of webUI conditionals to 39, not 40
We just landed the webUI stuff for F39, so now we need these
conditionals to kick in for F39+, not F40+.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 15:48:53 -07:00
Adam Williamson
7ee387f242 Update needles for bash color prompt change
An F39 Change has changed the default prompt in color terminals.
Several needles need updating for this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 12:28:18 -07:00
Adam Williamson
836310eb65 Add IoT version 40 identification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 12:27:53 -07:00
Adam Williamson
e1ecde7b65 Update various needles for EOG -> Loupe transition
Loupe replaced EOG as the image viewer in F39 and Rawhide. We
need to update several needles for this: its icon is different,
the change affected the appearance of the Utilities submenu
icon, its main UI looks different, and it uses a light colored
file chooser which requires some variant needles for the Maps
export image test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 12:26:20 -07:00
Adam Williamson
efe4a3da2e Maps: sigh, okay, need another test logic change for Loupe
Loupe's Open dialog defaults to Recent, not Pictures, so when
we're using Loupe we need to click into Pictures to find the
exported image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 11:17:06 -07:00
Adam Williamson
af8a6635a6 Maps: go back to always typing 'image viewer'
Loupe has replaced EOG on F39 and Rawhide, and it can be found
with "image viewer", so let's just go with that. The rest of the
logic should be OK but we will likely need some new needles,
will do that next.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 11:03:36 -07:00
Adam Williamson
0d8df76b1b apps_startstop: new GNOME image viewer is not in Utilities
It's on the top level.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 10:34:03 -07:00
Adam Williamson
d0ac2a5ba8 notifications: also handle the welcome tour on live flow
Seems with the g-i-s / anaconda webUI changes we also get the
welcome tour here now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 10:19:56 -07:00
Adam Williamson
9528d37582 launch desktop, not installer, at end of g-i-s on notifications
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 10:15:07 -07:00
Adam Williamson
a8d17e057f Whoops, get the release number correctly
Wow, I am not awake yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 09:47:03 -07:00
Adam Williamson
602636ef24 Handle new live g-i-s flow in desktop_notifications
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 09:42:54 -07:00
Adam Williamson
35ae0b358f Also drop the eog test from templates
Whoops!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 09:13:28 -07:00
Adam Williamson
026f70e063 webui: only select disk if we have more than 1
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 09:12:30 -07:00
Adam Williamson
d000a96fc6 Remove the EOG app test
EOG has been replaced by Loupe in F39+. We will need to add a
test for Loupe, but first let's remove the EOG test so it does
not fail on every compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-23 09:07:06 -07:00
Adam Williamson
217deee061 Add version 40 identification needle for web UI
Did all my testing on 39, so forgot to do this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-22 20:33:41 -07:00
Adam Williamson
ec5bab0176 Initial anaconda webUI support
This is tailored to the initial deployment of webUI in
Workstation live images only; we may need to tweak flows and
approaches as webUI goes further.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-22 18:05:51 -07:00
Lukas Ruzicka
8a03a9b546 Add apps_menu_calendar needle because it has changed. 2023-08-22 13:37:36 +02:00
Adam Williamson
14bd0b177e FreeIPA replica test: decommission the replica
A new FreeIPA update adds a check which causes a failure when
we try to decommission the original server with the replica
still alive. Let's see if decommissioning the replica helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-22 01:18:08 -07:00
Adam Williamson
329d878343 Revert "workaround odd dnf issues with samba-4.19.0-0.3.rc2 updates"
This reverts commit 511b5382ec.
The updates have gone stable and we don't need the workaround.
2023-08-22 01:18:08 -07:00
Lukas Ruzicka
0e2eabe336 Add set of Map needles to make them work except Route. 2023-08-21 15:33:27 +02:00
Lukas Ruzicka
aa0d077630 Add new set of results needles for Calculator 2023-08-21 15:09:44 +02:00
Adam Williamson
2e330f78ab podman: also run the upstream integration test suite
Per https://github.com/containers/podman/pull/19302 and
https://github.com/containers/podman/issues/19299 , upstream
have kindly set things up so we can easily run relevant parts of
the upstream test suite as an integration test in openQA. This
should help us catch if changes in other components break key
features of podman.

This only runs any tests with podman 4.6.1 or higher, but with
earlier versions it just does nothing and exits 0, so that's
fine. 4.6.1 is in F39 and Rawhide already, will land for F37
and F38 shortly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-16 22:56:20 -07:00
Adam Williamson
511b5382ec workaround odd dnf issues with samba-4.19.0-0.3.rc2 updates
dnf seems to have some odd trouble with these updates. It
 really wants to use the older 2.rc2 builds, even though there
doesn't seem to be any actual *problem* with the 3.rc2 builds.

For the samba server test, passing `--best` to dnf seems to be
enough to make it use the .3.rc2 builds. For the FreeIPA tests,
we have to do a second pass with `--best` after the initial
install.

It's weird that we have to do this, but to get these updates
through - because there doesn't really seem to be a problem
here - let's do it. They will replace the 2.rc2 builds in the
main F39 and Rawhide trees once they land in 'stable' so the
problem shouldn't persist.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-16 12:18:42 -07:00
Adam Williamson
b4b98235ac Update Contacts needles for some recent change in Rawhide
Not sure what changed, some minor chrome thing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-14 17:16:20 -07:00
Adam Williamson
71eb381880 Update akonadi_migration_notification needle
Not sure what changed, match dropped to 95%.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-14 17:15:22 -07:00