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

3203 Commits

Author SHA1 Message Date
Adam Williamson
560c770e5d Update a few more KDE needles for recent icon theme update
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-24 13:57:06 -07:00
Adam Williamson
efcd546fe5 Update the Maps walking route needle
They took out Manchester and put in Liverpool! I would like to
complain IN THE STRONGEST POSSIBLE TERMS

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-24 08:28:42 -07:00
Adam Williamson
4e3a284220 krfb: handle two cancel buttons
In today's Rawhide, two dialogs have to be cancelled on krfb
launch before we see the UI: a remote control permission screen
and a kwallet creation flow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-24 08:21:51 -07:00
Adam Williamson
65ee1c2220 Update a couple of needles for KDE icon theme changes
We may need more when this hits Rawhide, but this was all the
updates tests caught.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-19 16:26:24 -07:00
Adam Williamson
475ee6b89c loupe: add a wait at start of browse test
We often get a failure where it's stuck at a spinner here, let's
see if waiting to settle the snapshot resume helps.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-17 15:33:53 -07:00
Adam Williamson
69dad7a975 sysmon: click, don't use shortcuts, to switch views
It looks like
https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/issues/262
won't be fixed for a while - the fixes are tied up with the GTK
4 port - so let's just work around it for now by clicking instead
of using keyboard shortcuts.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-17 15:30:31 -07:00
Adam Williamson
f36d04e650 KDE start/stop krfb: dismiss Wallet window if it shows up
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-17 09:15:21 -07:00
Adam Williamson
c697ca171d Adjust to replacement of cheese with snapshot (Camera)
A new app called snapshot (Camera, on the menus) has replaced
cheese in F40 (but not F39). Adjust to that. We can simplify
this when F39 is out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-15 10:21:17 -07:00
Adam Williamson
1db0e7465a Drop kmag test on F40+
kmag was removed in
https://pagure.io/fedora-comps/c/bb332b310b22a1103347afece6f845087694d85e?branch=main
we can't drop the test entirely yet as it's still in F39. Will
drop this after F39 is released.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-15 09:10:51 -07:00
Adam Williamson
28ca4f5289 Add yet another Loupe rotation needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-14 10:55:20 -07:00
Adam Williamson
3747f88fe5 Update a Contacts needle
Again, seems associated with the new flatpaks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-14 10:54:32 -07:00
Adam Williamson
f32454a93a Update a Clocks button needle
Not quite sure what changed, seems to be associated with the
new F39 flatpaks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-14 10:53:54 -07:00
Adam Williamson
3871afd5aa Update install_lang needle
The crossbar in the A in FEDORA moved a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-14 10:52:44 -07:00
Adam Williamson
22e174069e gnome-panel: set update notification timestamp early
If we do it after forcing the clock to 18:30, doing it takes so
long we wind up at 18:32, and that kinda sets the rest of the
test out of whack (we have several needles that assume we start
at 18:30 or 18:31 after the snapshot). So let's set the update
timestamp *before* we force the clock. This will mean it's waay
in the future after we force the clock, but that should still
do the job of avoiding notifications showing up, I hope.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-14 10:34:01 -07:00
Adam Williamson
b043e99430 Drop EOG alternate path in Maps export image test
Silverblue now has Loupe, like Workstation, so the paths are the
same.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-14 10:24:24 -07:00
Lukas Ruzicka
b1799eb084 Use the new subroutine on desktop tests. 2023-10-10 17:43:21 -07:00
Lukas Ruzicka
2d726d4ccb Add subroutine to set update notification timestamp. 2023-10-10 17:43:06 -07:00
Adam Williamson
542a08dd10 ostree: bump the bundled flatpak base release to 39
This has been done for Rawhide and Branched, so let's do it in
the script too.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-10-10 08:07:16 -07:00
Lukas Ruzicka
85f4e46e6f Add a new route needle for Maps. 2023-10-02 12:36:40 +02:00
Adam Williamson
93a58c5496 tox: set ignore_errors
This doesn't actually *ignore* errors, it just means we continue
running commands after one errors out instead of immediately
bailing. This avoids problems like "the tests don't run if
check-needles fails, so then the coverage reports fail because
there's no coverage.xml".

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-26 16:16:56 -07:00
Adam Williamson
8cb8836d3f Update check-needles for changes to konversation test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-26 16:14:03 -07:00
Adam Williamson
eb6a47f462 Adjust konversation test to run neochat on Rawhide
KDE replaced Konversation (IRC client) with Neochat (Matrix
client) in Rawhide. As the replacement isn't done in F39 we can't
just switch the test out, we have to handle both, so for now,
let's have the "konversation" test run neochat on Rawhide.

We can't really proceed through neochat's first run wizard as
it needs a Matrix account name and password and we don't want
the hassle of handling a secret just for this, so we'll just
quit out once we see it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-26 15:53:54 -07:00
Lukas Ruzicka
296b43381a Allow language selection on WebUI installations.
Currently, the installation via WebUI is mostly pushing the Next button
which seems to be ok for the production which is based in the US.

This PR makes openQA to select languages when the  G-I-S runs
before Anaconda. The particular language is selected based on
the LANGUAGE variable.
2023-09-26 00:16:22 +00:00
Lukas Ruzicka
d45f2add79 Add a Vilnius needle to support Maps test. 2023-09-25 17:24:12 +02:00
Adam Williamson
8be45cd89e Update Loupe needles
One is for the change from Activities to a UFO in GNOME 45, the
others are recreations of ones we dropped from the PR, because
it really seems like Loupe is a bit unreliable about the zoom
level when rotating the image. Maybe we should file a bug on
that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:39:33 -07:00
Adam Williamson
c267d5f857 Update Maps zoomed out needle
Just a slight change in upstream OSM, I think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:38:44 -07:00
Adam Williamson
6c5f86cbf8 Update a gnome-text-editor needle for an icon change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:38:00 -07:00
Adam Williamson
63aae8f162 Update a Help viewer needle
The icon for this section changed a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:37:26 -07:00
Adam Williamson
8f0b5c77e6 Update root_logged_in-noprofile-sh52 needle
I think this actually just reduces the match area slightly
because the existing needle doesn't match if there's a green
bar directly below the prompt. But I didn't make it a change to
the existing needle cos I'm lazy.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:36:12 -07:00
Adam Williamson
eef7f5b00f Update krdc_runs needle
The title bar text changed slightly, but let's make the needle
match on some active part of the app instead; this is a better
check, as it's possible for an app to hang with its title bar
showing but not really working.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:35:08 -07:00
Adam Williamson
ea7112814f Update Clocks needles for some change in Rawhide
Don't know what changed, some minor styling thing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 17:34:34 -07:00
Adam Williamson
db7d47d0dd Don't run loupe test on Silverblue yet
Silverblue still has eog. It seems a bit excessive to bring back
the eog test just for Silverblue, so let's just disable loupe
until Silverblue has it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-22 13:44:22 -07:00
Adam Williamson
e92ddbbece Use shift-tab, not tab, to get to Try button in g-i-s live flow
The latest version of g-i-s grew a "Previous" button on the
final page, and hitting tab once now activates that, not the
Try button. shift-tab *should* get us to Try on both old and
new versions.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-09-21 17:59:34 -07:00
Lukas Ruzicka
863ee33073 Only choose one rotated_left needle. 2023-09-21 13:56:30 +02:00
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