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

3080 Commits

Author SHA1 Message Date
Adam Williamson
21887eae3d Add tests for the Workstation live osbuild image
We should test this image to make sure it works as well as the
official image.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:50:28 -08:00
Adam Williamson
3f6a052666 Update a bunch of needles for GNOME 46-beta
This also rolls in a few Arabic translations, I think, cos I
can't be bothered going through and picking them out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:49:40 -08:00
Adam Williamson
33b49655cf Update "rescue mode" needle for an anaconda change
They capitalized a word, I think.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-20 16:49:07 -08:00
Lukáš Růžička
3b4c94bb55 Add some more fixes for Nautilus. 2024-02-20 15:58:25 +01:00
Lukáš Růžička
d656bc45a6 Wait until the dialogue settles 2024-02-20 15:01:14 +01:00
Lukáš Růžička
d775ef53c4 Change needle are and lower threshold a bit to make it pass more easily. 2024-02-20 14:16:52 +01:00
Adam Williamson
47e9f576c0 CoreOS: tweak rpmostree_rebase test to work from OCI remote
The rpmostree_rebase test has been failing on CoreOS 40+ for a
while. Per
https://github.com/coreos/fedora-coreos-tracker/issues/1672
it turns out this is because FCOS actually deploys OCI remotes
by default now. Rebasing from an OCI remote to an ostree
remote (as we are trying to do here) requires specifying the
registry, so let's do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-19 15:00:34 -08:00
Lukáš Růžička
e2e22341d3 Fix nautilus issues. 2024-02-19 14:19:52 +01:00
Lukáš Růžička
99b4d6ec17 Run scripts with assertions.
Creating the .invisible.txt file was done using non-assertion commands.
The tests have been failing for some and it seems like the commands
did not run correctly. Running them with assertions will make sure
that they will run (or fail correctly).
2024-02-19 11:26:39 +01:00
Adam Williamson
6ea99de13b Consolidate Firefox launcher needles
apps_menu_firefox and firefox/launcher are matching on the same
thing. Also, launcher-kde actually happens to match current
GNOME, so rename it to be generic. Give the launcher needles
the apps_menu_firefox tags and wipe the apps_menu_firefox
needle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-17 11:16:07 -08:00
Adam Williamson
98513a0185 archive: be safer about the 'archive' dialog appearing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 17:53:42 -08:00
Adam Williamson
caa4353fe0 maps: add some sleeps to the zoom test
These loops make us click extremely fast. This may cause
unreliable results, I think. At least, the test is failing a
lot lately, with results that look like it's not always getting
the expected four levels of zoom. Let's try a short sleep
between clicks.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 17:52:19 -08:00
Adam Williamson
106a63f101 Maps: try and be a bit safer with the export screen
It seems like the export screen takes a while to appear on 40 and
Rawhide ATM, and we might start typing before it's there. Let's
assert it's actually there before we start doing stuff.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 17:22:22 -08:00
Adam Williamson
e4a8dc4047 Add another variant Loupe zoom needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 14:31:20 -08:00
Adam Williamson
8e85bc5b7b Update some GNOME needles for Shell and Mutter 46-beta
Just ones the update tests hit, for now, there will be more in
the compose tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 14:30:31 -08:00
Adam Williamson
6c47319930 Add FEDORA-2024-11ba4726a4 as workaround for F40
The new gnome-shell from FEDORA-2024-f543e8595c requires this.
We don't use a buildroot repo for Branched even in the short
period where it acts like Rawhide (no karma or time requirements)
so let's just use a workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 13:05:54 -08:00
Adam Williamson
06de92375f Clear workarounds that have reached composes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 13:05:22 -08:00
Adam Williamson
b3e5dd41cb desktop_update_graphical: try to workaround GGO #2442
In current F40 and Rawhide, this test is frequently failing
because gnome-software is behaving weirdly at startup - the
third-party software dialog moves around even more than before,
the app seems to get stuck in the "not responding" state
briefly sometimes, and there's a very weird state it gets into
sometimes where the window is shorter than usual and clicks
don't seem to register in the right place. While I'm trying to
bisect these bugs, these magic voodoo incantations (tested on
the staging instance) seem to mostly work around the weird
behaviour, and setting RETRY=2 should backstop it a bit further.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-16 12:50:05 -08:00
Lukáš Růžička
58544fcbce Wait until Loupe responds correctly. 2024-02-16 17:22:52 +01:00
Lukáš Růžička
8c027c9e10 Unbreak the /etc/release test by fixing a spelling typo in the function. 2024-02-16 13:32:01 +01:00
Adam Williamson
d4c39fb37f setup_repos: print the reason, if download failed
It happened a few times lately and I realized it's dumb that I
can't see why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:40:47 -08:00
Adam Williamson
7aeced3988 Add webui variant of version 41 ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:39:03 -08:00
Adam Williamson
bd25bdac69 g-i-s: we always need two tabs to get to password confirm now
F38 is the oldest thing we test, and it has this flow. So let's
just drop the check here and always hit tab twice.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:24:32 -08:00
Adam Williamson
9ffd181bbd Don't expect g-i-s online accounts page on F40+
It was removed upstream:
https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/221

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 15:19:46 -08:00
Adam Williamson
401e929555 Update various GNOME needles for changes in recent 46 builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:52:44 -08:00
Adam Williamson
80d0f71720 Update another KDE Vault needle for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:50:13 -08:00
Adam Williamson
5eedf2fdb6 Add translated "accept fate" needle for Arabic
It got translated! Yay, thanks, Arabic translator(s).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:49:20 -08:00
Adam Williamson
c891b5c5d5 Add a Fedora 41 version identification needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:47:00 -08:00
Adam Williamson
edcbf6a524 Wipe the openh264 repo a bit harder
We should wipe it both before and after running repo_setup to
really get rid of it. Ideally we should stop doing this at all,
but for right now the repo isn't there for Rawhide post-F40
branching yet, so let's keep this until that's done.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 14:22:44 -08:00
Adam Williamson
d998a56383 Add 41 to the workarounds table
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 13:35:32 -08:00
Adam Williamson
541d637726 Revert local testing change to setup_repos.py
Er, whoops, that was *not* meant to get rolled into an unrelated
commit and break every test on the public instance. Sorry.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 12:48:36 -08:00
Adam Williamson
b371331436 _ostree_build: handle change to repos in workstation-ostree-config
The place where repos are defined changed on the F40+ branches
of workstation-ostree-config, this handles both possibilities.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 12:29:51 -08:00
Adam Williamson
f8f1d0d433 Add mock and mock-core-configs to F40 workarounds
I'm hoping this will fix live image builds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 11:58:43 -08:00
Adam Williamson
6d4a8a9fb7 setup_repos: fix a logic bug
we might be on a non-update waonly path here, we can't bail in
that case.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 11:45:37 -08:00
Adam Williamson
de4735f6f1 Soft fail on missing background for F40
...we know there isn't one yet.
https://bugzilla.redhat.com/show_bug.cgi?id=2230720

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 00:43:46 -08:00
Adam Williamson
e6dabfa0df f40 workarounds: drop old anaconda build, add new lorax
We don't need this anaconda scratch build any more (the official
build has the fix now), but we *do* need the new lorax update I
just built to fix installer image builds with branched F40. See
https://github.com/weldr/lorax/pull/1379

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-14 00:15:09 -08:00
Adam Williamson
375250000f Add a wait_still_screen to update_graphical for an animation
GNOME Software seems to be doing some kind of animation between
the third party dialog and the main UI, and we're clicking on
a banner instead of the update button. Try a wait_still_screen
to deal with this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-12 09:55:31 -08:00
Adam Williamson
2148674ed4 Update a couple more KDE needles for Plasma 6
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-10 00:07:56 -08:00
Adam Williamson
7e33a327f1 Update gnome-software refresh needle for 46~beta
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-10 00:07:04 -08:00
Adam Williamson
b1cb7a04ad Drop match level on gnome-software refreshing needle
Updating this needle is a pain, and we have a 0.95 match. This
is easier!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-09 23:47:11 -08:00
Adam Williamson
6e719d0f93 Fine, just drop the match level on the Updates needle then
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-09 17:28:23 -08:00
Adam Williamson
fb5e5a22a7 Tweak GNOME Software Updates needle match area slightly
It kinda looks like the text has been moved closer to the icon
in the latest gnome-software, such that the little '1' bubble
is now in the needle match area if it's present. Obviously that
may vary, so let's tweak the needle match area a bit to the
right so it's hopefully consistent and still matches on older
versions.
2024-02-09 15:41:40 -08:00
Adam Williamson
965dc99ef5 Give ostree_build another half hour again
Another bunch of these timed out. Not sure why. Maybe it's when
I run a lot of them at the same time? Let's try this, again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-06 23:07:25 -08:00
Adam Williamson
fa5cedc63a Add anaconda workaround build for #2262892
This adds a scratch build with my proposed patch:
https://github.com/rhinstaller/anaconda/pull/5460
to get the tests to start passing again, so we don't have the
flood of red which makes it hard to spot other problems.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-06 16:51:55 -08:00
Adam Williamson
811ff708d2 Update a KDE notification needle
Different shade of grey again or something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:26:59 -08:00
Adam Williamson
61910e7610 Make tidy happy with how we disabled accounts.fp.o check
Sigh, this is less obvious but we need the tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:25:44 -08:00
Adam Williamson
e805837597 Update a system monitoring needle for Silverblue
This got missed in the big GNOME 46 needle update because
Silverblue wasn't composing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:08:23 -08:00
Adam Williamson
2238723977 Add yet another bike route variant for Maps
Seriously, Google, figure out where people in the UK should ride
their bikes already.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:06:39 -08:00
Adam Williamson
73c6e7fc8a Update several Arabic needles
The font has changed a bit, I think, and the Done button is now
translated.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-03 09:05:01 -08:00
Adam Williamson
f8de09df24 desktop_browser: temporarily disable FAS homepage check again
accounts.fp.o seems to be unreliable again today, let's drop this
again so tests don't fail on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-31 13:28:53 -08:00