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

3472 Commits

Author SHA1 Message Date
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
Adam Williamson
09e4f526a8 Revert "Give ostree_build another half hour"
This reverts commit 56c9e80f60.
Things seem to have settled down with the mass rebuild and this
test seems to be back to consistently taking about 90 minutes.
2024-01-30 09:47:44 -08:00
Adam Williamson
56c9e80f60 Give ostree_build another half hour
It seems to be timing out a lot on Rawhide lately. Not sure if
it's just mass rebuild stuff, but anyhow...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-29 17:03:30 -08:00
Adam Williamson
ce6beac5a6 Revert "base_services_start: temporarily allow colord to fail (#2260663)"
This reverts commit ab5b1a4367. A
new colord build has been pushed which should resolve the issue,
so I'm disabling the workaround to ensure that's the case.
2024-01-29 08:30:08 -08:00
Adam Williamson
fdb008ad65 Update a bunch of GNOME app needles for GNOME 46
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:58:24 -08:00
Adam Williamson
96256be7a3 Add a workaround needle for Japanese input source selection
There's an untranslated string here, so this has to be a
workaround needle. I didn't get to reporting the missing
translation yet.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:55:13 -08:00
Adam Williamson
6e872d4126 Update the Turkish 'accept your fate' anaconda needle
Translation changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:54:40 -08:00
Adam Williamson
ab5b1a4367 base_services_start: temporarily allow colord to fail (#2260663)
Somehow, colord is sometimes failing to start in stable Rawhide
ATM - I don't know how this problem got through testing. It's
now blocking other updates.

Doing this only on x86_64 is lazy and wrong, but the logic gets
way more complicated if we need to allow potentially *two* things
to fail on aarch64 and ppc64le, and it's the weekend and we
don't gate updates on those arches so I'm not doing it. Hopefully
this will be resolved quite quickly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-27 13:50:58 -08:00
Adam Williamson
1fbe886229 Add one more color logged_in needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-01-25 23:10:48 -08:00