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

2679 Commits

Author SHA1 Message Date
Adam Williamson
cb2f9ecee9 KDE doesn't show welcome tour on live any more, drop handling
We actually get a softfail because we're expecting it; now it's
been fixed not to show up, drop the code that expects it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-06 10:31:17 -07:00
Adam Williamson
85d28ce4ab characters: workaround text editor starting behind characters
We're constantly seeing this test fail on an odd problem where
text editor starts *behind* characters. To handle this, check
if we see text editor and if not, hit alt-tab.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-06 09:24:29 -07:00
Adam Williamson
57a3e68c56 Update Firefox new tab needle
This actually hasn't matched for years, we've been falling back
to ctrl-t the entire time. Happened to notice it today while
debugging https://bugzilla.redhat.com/show_bug.cgi?id=2184549

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 18:25:15 -07:00
Adam Williamson
70b442827c Update KDE 'no notifications' needle for new background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 18:24:44 -07:00
Adam Williamson
7aa21b308f Update some Maps needles for OSM data changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 18:24:13 -07:00
Adam Williamson
d41ec1eb8a Calculator: drop the switch to basic mode
It always launches in basic mode anyway, and sometimes this key
press doesn't work right and leaves a stray 'b' in the entry
field, which messes things up when we get to the calculation
tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-04 09:14:14 -07:00
Adam Williamson
fc442a6c4d Update F38 background needle for final version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-02 09:05:22 -07:00
Adam Williamson
116e48fad1 Update KDE update security variant needles for latest KDE
These variants only show up when a security update is in play,
so not very often; this happened today, so now we get to update
them for current KDE.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 15:18:48 -07:00
Adam Williamson
1ce16da1c2 Add another weather icon variant needle
Half sun half cloud?

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 15:17:25 -07:00
Adam Williamson
b2d039d1d8 Add a variant needle for nautilus "new window" menu entry
This is when it's highlighted in grey, for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 15:00:23 -07:00
Adam Williamson
f6147d2597 Add yet another Zezere claim button variant needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 14:59:30 -07:00
Adam Williamson
47664b0dd8 desktop_switch_layout: give switching 3 tries to work
There's a fairly longstanding issue in GDM where switching layout
just doesn't work sometimes:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6066#note_1707051
there doesn't seem to be any progress on getting this fixed, and
it's annoying constantly restarting tests that fail on it. So
this just makes us try three times to switch before giving up.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-04-01 14:55:27 -07:00
Adam Williamson
278b1e32b0 Make evince test handle #2183356 (wrong save target on flatpak)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-30 16:25:08 -07:00
Adam Williamson
7b2c9d3e45 live_build: temporarily drop a newly-added group in KDE kickstart
This group was only added to comps today, so it's not in the
comps in the rawhide repo yet (will be after next compose). The
Koji repo doesn't have normal comps so it's not there either.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-30 11:20:51 -07:00
Adam Williamson
594457dff0 Contacts test: wait before maximizing
Try and make sure maximize actually works - wait for still screen
after hitting Done and before trying to maximize.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-30 09:28:40 -07:00
Adam Williamson
637e9e4cfe Characters app copy/paste test: be more defensive
There's a failure mode we hit quite often where, when we run
the text editor after copying the character, it pops up *behind*
the character page. So let's close the page first. When we click
the 'Copy Character' button a notification that the character was
copied is briefly displayed and if we hit esc while it's visible
we dismiss *that* not the character page, so hit esc twice to be
safe. If we miss dismissing the notification, the 'extra' press
is safe, it doesn't quit the app.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-30 09:25:47 -07:00
Adam Williamson
ed58b15432 Update base platform version in ostree-parse-pungi.py
Why did I do this? Not sure. I guess I figured it's too much
trouble to get it updated on every pungi-fedora branch? Anyway.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-30 08:47:13 -07:00
Adam Williamson
6ae2e05484 Be a bit more defensive when setting admin pw in zezere server
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 15:45:17 -07:00
Adam Williamson
9251ac21fa Disable audit messages on ostree rebase tests on aarch64
Otherwise they tend to get into the output of the status command
and mess up the test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 14:29:52 -07:00
Adam Williamson
bbfc9d7c70 Handle anaconda 'protecting' the disk we're installing from
In install_repository_hd_variation , we have two disks attached,
so when we reach the INSTALLATION DESTINATION screen we expect
we have to select the correct target disk. However, as of the
most recent anaconda build in Rawhide, anaconda realizes we're
using a file from the other disk as our install repo, and
'protects' it - i.e. it does not show it on the INSTALLATION
DESTINATION screen, meaning only one disk is shown there, and
when only one disk is shown, it's pre-selected. So when we click,
we actually *un*select it, and the test fails.

Fixing this is a bit awkward; I wanted to add a new variable,
ANACONDA_PROTECTED_DISKS or something, and subtract that from
the NUMDISKS count; but we can't really do that as the enhanced
protection isn't in F38, and we can't easily set variables
differently on different releases (we'd have to set them in the
scheduler code, not just put them in the templates). So we just
code in a doofy condition for this instead. Maybe when F38 is
EOL we can change to the variable approach.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:59:39 -07:00
Adam Williamson
2c8067698f Update a bunch of Japanese needles for a CJK font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:33:13 -07:00
Adam Williamson
d29bb41c86 Update KDE spectacle runs needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:32:14 -07:00
Adam Williamson
c7f8e4bb8e Rename the last KDE printing needle, add another new one
Today's rendering is different from yesterday's for some reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-29 12:30:17 -07:00
Lukas Ruzicka
4f8c4411a4 Update Map needles. 2023-03-29 09:50:46 +02:00
Lukáš Růžička
0075780ac5 Create test suite for Fonts. 2023-03-28 15:58:16 -07:00
Adam Williamson
7603b38dec Update _check_install_source for a change to NFS handling
A change to how anaconda handles NFS repos changed the log
messages we get when we use one. We may need further changes for
using NFS as a base repo when this change hits Rawhide nightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-28 10:26:34 -07:00
Adam Williamson
5f1636844a Update KDE printing sentence needle for KDE Gear update
KDE Gear 23.03.80 changes rendering in the PDF viewer again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-28 10:01:27 -07:00
Adam Williamson
1de4a19bfe Update akonadi migration notification needle for current KDE
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-27 17:39:28 -07:00
Adam Williamson
a6e5700854 Unset 'last time notification shown' setting for KDE (#2178311)
It looks like the desktop_notifications postinstall test on KDE
on F38 is failing currently because the notification is being
shown during the install_default_upload test that precedes it,
so KDE decides not to show it again yet. So, unset the setting
that stores the timestamp of the last time the notification was
shown. This is similar to a thing we already do for GNOME above.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-27 17:35:22 -07:00
Adam Williamson
5c62a909c8 Weather: handle app UI showing briefly before the access prompt
Exactly the same as the change for Maps from a few days back,
for the same reason.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-24 11:42:19 -07:00
Adam Williamson
a9fcc1071e Drop match level on a Maps 'issue opened' needle
The font rendering on this URL bar seems to be slightly unstable
for some reason. We got a 95% match on this needle in
https://openqa.fedoraproject.org/tests/1846906#step/about/10
so let's just bump the level down a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-24 11:40:08 -07:00
Adam Williamson
47f239e03d Update a Maps needle
Just looks like the content on OSM changed a little.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-23 15:14:00 -07:00
Adam Williamson
16ba2a3cb9 Update GNOME Contacts "right menu" needle
They made it a kebab menu instead of a second burger menu, which
makes things easier.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-23 15:12:56 -07:00
Adam Williamson
8b19c9b3df rpmostree_rebase: use --bypass-driver
This is needed to force the rebase on current CoreOS (because it
has zincati registered by default). It should be harmless in all
other cases.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-22 22:59:21 -07:00
Adam Williamson
f213b8767e Add F39 IoT version ident needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-21 18:40:27 -07:00
Adam Williamson
a2c8937e7a Update GNOME live welcome screen needle
It got redesigned. No icon any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-21 18:39:43 -07:00
Adam Williamson
e7f5e5e9b4 Add workarounds for critical bugs in Rawhide
An lvm2 issue which breaks the installer (#2180557) and anaconda
renaming the .desktop file for the Workstation live welcome
screen, which caused it not to appear -
https://pagure.io/livesys-scripts/pull-request/12 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-21 18:04:00 -07:00
Adam Williamson
873720b97b Drop workaround which went stable a few days ago
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-21 18:03:34 -07:00
Adam Williamson
5572a73f61 Use pandoc-common instead of python3-kickstart for package tests
Reasoning:

1. pandoc is not in critpath so will not itself be tested
2. pandoc is widely used and actively maintained
3. package is noarch
4. package has minimal deps

Hopefully this will work for everything. For some reason, the
"use python3-blivet for pykickstart tests" fails mysteriously
sometimes, see e.g.
https://openqa.stg.fedoraproject.org/tests/2672282

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-18 09:44:02 -07:00
Adam Williamson
38c3693684 Revert "Fix desktop_update_graphical tests for pykickstart updates"
This reverts commit 2e5fa93415.
Let's try using one non-critpath package for all these tests
instead.
2023-03-18 09:39:19 -07:00
Adam Williamson
bac28124a0 _ostree_build: use koji-rawhide.repo in lorax command
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-18 08:37:01 -07:00
Adam Williamson
c25db659c0 Add anaconda fix for new pykickstart as a workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-17 21:26:39 -07:00
Adam Williamson
ac6ecb1058 Drop workarounds that have gone stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-17 21:26:16 -07:00
Adam Williamson
96118b4b60 Maps: handle app UI showing briefly before the access prompt
See e.g. https://openqa.fedoraproject.org/tests/1829593
sometimes we see the app UI briefly before the access prompt
appears. Handle that case by waiting a few seconds and doing
the match again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-17 09:19:35 -07:00
Adam Williamson
c9a0cab6ec Update a GNOME Clocks needle
The button label changed slightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-16 13:41:47 -07:00
Adam Williamson
301daa6c9e Update a GNOME system monitor needle for ARM
This is a 44 change that I didn't catch for a while as I forgot
to check the ARM tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-16 13:35:44 -07:00
Adam Williamson
2e5fa93415 Fix desktop_update_graphical tests for pykickstart updates
Somehow, the dummy package being python3-kickstart causes the
graphical update tests (only) to fail for pykickstart updates
(that's the source package of python3-kickstart). The CLI and
Cockpit update tests are fine with this and pass.

To workaround this, use python3-blivet as the dummy package for
the graphical update tests when testing an update that contains
python3-kickstart. I've updated the test repo to contain both
dummy packages.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-14 14:14:25 -07:00
Adam Williamson
cf5532fc3a Add workarounds for ffmpeg/kf5/oneVPL mess
So...there's an ffmpeg update:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-a5e10b188a
which went stable. It includes new sonames of all the ffmpeg
libs. It also pulls in a thing called oneVPL, which has a bug
that breaks ostree composes.

There's a big kf5 update:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-b086a98f78
which contains kf5-kfilemetadata, which is built against ffmpeg.
Neal made sure that update's build of it was built against the
new ffmpeg and submitted both for stable at once - but the tests
on the kf5 update failed because they weren't run against the
new ffmpeg as it wasn't yet stable, and the kf5 update was
ejected from the push because of the failed tests.

So now we have the ffmpeg update stable but not the
kf5-kfilemetadata rebuild for it, which will break KDE stuff,
and the oneVPL issue means ostree composes will all fail.

This adds the ffmpeg update as a workaround so we can re-run the
tests for the kf5 update and get them to pass so we can push it
stable. It also adds the oneVPL update as a workaround so ostree
compose tests don't start failing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-13 18:20:14 -07:00
Lukas Ruzicka
0d4f3f4542 Fix a failing needle for Maps. 2023-03-13 13:39:22 +01:00
Adam Williamson
1133d7fbdc Update several GNOME Contacts needles
They tweaked how the contact name field is named/placed, so these
all need updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-03-07 12:23:24 -08:00