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

2969 Commits

Author SHA1 Message Date
Lukas Ruzicka
6c3f2c6a3e Replace an incorrect needle with a correct one. 2023-09-21 12:38:37 +02:00
Lukáš Růžička
9e0d74453c Create a test suite for Loupe (Image Viewer)
This PR adds a test for a new Image Viewer called Loupe.
It is based on the old Image Viewer test, newly reneedled
with some of the tests shortened, deleted or edited
as the new Image Viewer has a little bit less functions
compared to the previous one.

Add needles.
2023-09-20 10:29:39 +02:00
Adam Williamson
413dba4c95 Give live image tool install longer to run
It's timing out on stg quite a lot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-19 12:47:35 -07:00
Adam Williamson
bc20de5f14 Update imageviewer needle for Loupe in utilities menu
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-18 12:29:05 -07:00
Adam Williamson
e37322d631 Update Maps website opened needle
Same URL change we saw in another app, I think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-18 12:28:16 -07:00
Adam Williamson
27604ea521 Update a KDE notifications needle
I think this is still for the new backgrounds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-18 12:27:16 -07:00
Adam Williamson
16a35b5b6c Update GNOME panel needles
For some change from last week. I forget what it was.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-18 12:26:28 -07:00
Adam Williamson
836f8e2da6 Revert "apps_startstop: new GNOME image viewer is not in Utilities"
This reverts commit 0d8df76b1b.
Loupe now seems to have been moved down into Utilities like eog
was, so revert this.
2023-09-18 08:48:38 -07:00
Lukas Ruzicka
380a8d5dd6 Revert "Add print."
This reverts commit e977a70cb0.

By mistake, I pushed into the main branch.
2023-09-14 12:56:26 +02:00
Lukas Ruzicka
e977a70cb0 Add print. 2023-09-14 12:45:24 +02:00
Adam Williamson
ea8500cf07 Various changes for webUI deferral to F40
webUI has been deferred to F40, so we need to expect the old UI
flow on F39 now. This should cover everything, I hope.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-12 16:13:49 -07:00
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