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

2808 Commits

Author SHA1 Message Date
Lukas Ruzicka
3e7936fd01 Replace the dropped pactl with amixer to manipulate audio levels. 2023-07-17 14:30:05 +02:00
Lukas Ruzicka
c322924826 Add stormy needle for the Weather test. 2023-07-17 13:57:53 +02:00
Lukas Ruzicka
e807286805 Add a new walking route needle to make Maps pass. 2023-07-17 13:22:59 +02:00
Lukas Ruzicka
04c4417a13 Add the needle to cover for zoom-in button in Maps
The zoom-in button were not correctly recognized. This adds a needle
to recognize it again.
2023-07-07 14:06:37 +02:00
Adam Williamson
8039934123 Update several gnome-text-editor needles for 45 alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 12:21:44 -07:00
Adam Williamson
f49c8bc66b gnome-text-editor: only handle spellcheck language if needed
The Flatpak build doesn't have the spellcheck issue at the
moment, and it may be fixed soon in the RPM build. Trying to
'fix' the issue on the flatpak build actually makes the test
fail. So, let's only do the fix if we actually have a misspelled
word.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 12:19:41 -07:00
Adam Williamson
ba9a36d10e g-t-e: mark 'new_file' test as fatal
The tests after it assume new_file ran - they rely on the file
it creates - so it should be considered fatal.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 11:39:18 -07:00
Adam Williamson
7dc1299d9f Update a bunch of needles for GNOME 45 Alpha builds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-05 10:57:52 -07:00
Adam Williamson
1f24f84bb1 Support testing a side tag instead of an update or task
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-04 19:10:03 -07:00
Adam Williamson
d8c374044a Add more safety to the fullscreen for Archiver
We can't really just hit super-up and then immediately go on our
merry way clicking on stuff...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-04 17:25:52 -07:00
Adam Williamson
2f709ed28e Update a lot more needles for new libadwaita
Aside from g-t-e which requires some more logic change I'll do
in the morning, this should be everything.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-03 23:10:20 -07:00
Adam Williamson
20a2d161ca Add some safety to g-t-e language setup
Seems in Rawhide the menu is loading without dividers briefly,
we match there, then the dividers load in and make the menu
longer, so when we click, we hit a different entry in the menu.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-03 11:31:48 -07:00
Adam Williamson
557b6f2fc1 Update some GNOME needles for a change in libadwaita
Looks like a shade of grey changed a bit. There will be more
changes for the compose tests, but this fixes the update tests
at least.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-07-02 15:03:13 -07:00
Adam Williamson
f31e3d192f Add F38 variant of the new gnome-text-editor needle
This is needed for the respin tests to pass.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-30 16:50:38 -07:00
Adam Williamson
bb7c7d42d0 Drop now-unused needles for Photos
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-30 10:13:48 -07:00
Lukas Ruzicka
d749317f29 Update the Gnome-Text-Editot test.
The editor started to show spell-checking that would require a lot
of new needles to be created. Theredore, we set the language to
English to stop showing the spelling mistakes in aaa_setup.pm

Also, the application started to have problems with getting correct
focus, so we want to click into the text before the status gets
recorded.
2023-06-30 14:26:00 +02:00
Adam Williamson
5e6ed8fd08 Update a Cockpit needle for v295
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 10:01:27 +02:00
Adam Williamson
a01c5bc45d Update Maps needles for some recent changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 10:00:32 +02:00
Adam Williamson
92b732385f Update a KDE notification needle for some change in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 09:59:37 +02:00
Adam Williamson
91e77c1eec Update Calculator needles for Rawhide
Seems the font used in Calculator changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-29 09:58:18 +02:00
Adam Williamson
fbb9bd7386 Revert "_live_build: workaround util-linux-user problem for KDE live"
This reverts commit efc2f8ae36.
As the comment said, it's no longer needed.
2023-06-28 16:52:48 +02:00
Adam Williamson
5c6ae24e99 _live_build: FIXME for using three disks
Change the comment on why we put /var/lib/mock on the third hard
disk: we probably can cut it down to two, now, but I don't want
to do it right now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-28 16:48:55 +02:00
Lukas Ruzicka
4c426051ce Remove the Photos start-stop test.
Based on the information that the application has been removed
from the standard Workstation installation, see
https://pagure.io/fedora-comps/c/462b65876fb4258fdb2ce19f4193900ef2bdc2d9?branch=main,
we remove that application from this suite.
2023-06-28 13:44:31 +02:00
Adam Williamson
500fea03ad Fix workaround repo in live images
D'oh. This is the first time we actually tried to use the new
workarounds ISO thing for real, I forgot to update some paths.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-26 01:50:49 +02:00
Adam Williamson
0a87a76ff9 Run base tests on ELN
This requires a change in the package we use for base_update_cli
because pandoc-common is not in ELN.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-23 11:53:11 +02:00
Lukas Ruzicka
bc8601a1d4 Create test for the Tour application. 2023-06-23 10:53:58 +02:00
Adam Williamson
3bce9f1007 Type more safely in the gnome-panel volume bar test
The shifted characters here frequently get mistyped. Let's use
type_safely. If this isn't enough we can try very_safely.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-23 10:52:33 +02:00
Adam Williamson
6fefd092e9 Try and fix Cockpit tests breaking with update ISO change
We drop the line for the update ISO from /etc/fstab before
uploading the image after the cockpit_default test, but we don't
make sure it's set up again before Cockpit tries to use it, in
the subsequent Cockpit tests. I don't know why this didn't fail
on stg before, but it sure as hell is failing in prod...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-20 15:18:01 +02:00
Adam Williamson
74730f904a Workaround config-manager plugin missing from dnf5 using sed
This is ugly, but ought to work, I hope.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-20 12:42:34 +02:00
Adam Williamson
7be16956d7 Use "dnf group install" not "dnf groupinstall" (dnf5 support)
dnf4 and dnf5 both support the former, dnf5 does not support the
latter.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-20 12:27:30 +02:00
Adam Williamson
97618193c6 Adjust tests for update and workaround repos provided as ISO
I'm attempting a new approach to the update and workaround repos.
Instead of having each update test recreate them for itself -
which is slow and wastes bandwidth - the dispatcher will create
an ISO at test schedule time and pass it as ISO_2. Then the test
just mounts the ISO. This makes the necessary adjustments on the
test side.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 20:21:07 +02:00
Adam Williamson
7adb698b21 Set TEST_TARGET to COMPOSE for upgrade flavors
The ISO or HDD image won't be attached to the post-upgrade
tests, and these are not tests of the image anyway, they're
tests of the compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 20:18:44 +02:00
Adam Williamson
b0fb6911f3 Add initial template stuff and test tweaks for ELN testing
Just a couple of flavors and tests for now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 17:28:42 +02:00
Adam Williamson
326ea5c913 Brown paper bag fix for modularity_setup
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 17:08:05 +02:00
Adam Williamson
8b997279a4 vnc: give a dnf install command a bit longer to run
These can take a while if repos haven't been refreshed lately.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 12:42:03 +02:00
Adam Williamson
317deff82c disk_custom_with_swap: drop root part size to 6G
With the new 2G max EFI system partition size, we were trying to
stuff 12G of Fedora into a 10G disk. That wasn't going to work.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 12:30:52 +02:00
Adam Williamson
2427d8c0dc ostree: get ostree-parse-pungi.py from main again
whoops, forgot to reset this on merging the change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-19 11:21:29 +02:00
Adam Williamson
43ed1c4ed6 Update KDE notification needles for a slight font config change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 14:37:22 +02:00
Adam Williamson
d1228e5813 Add another variant for maps_found_brno
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 14:33:22 +02:00
Adam Williamson
475613dd07 Update a partitioning needle for a space difference
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 14:32:49 +02:00
Adam Williamson
30563c6aed Simplify the blivet resize LVM testcase
I don't think we need an alternative needle for ppc - the
current 'boot_inactive' needle should work fine on ppc. Let's
just always use that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 13:00:07 +02:00
Adam Williamson
426747c368 Adjust modularity_tests to enable the modular repos at the start
As of yesterday's Rawhide, the modular repos are not installed by
default, so of course all the modular tests fail. So, install
the repos before running the tests.

This isn't conditionalized on release version as I don't think
we ever run this test on anything other than Rawhide and
Branched.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-18 11:15:56 +02:00
Adam Williamson
5d1a055d33 Add yet another Zezere claim button variation
Sigh, variable width fonts and subpixels are a regrettable
combination.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 10:24:19 -07:00
Adam Williamson
eda7964c0f Update some Maps needles
Seems like it's not showing as much stuff on the address
selection box as before...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 10:23:21 -07:00
Adam Williamson
f6d92f92eb Drop e2fsprogs scratch build workaround
Drop the e2fsprogs scratch build workaround we were using for
https://github.com/fedora-silverblue/issue-tracker/issues/470 -
with the new 'use a custom ref and rebase to the official ref'
thing I implemented for update ostree tests, it shouldn't be
necessary any longer.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 08:57:27 -07:00
Adam Williamson
d964129736 ostree rebase: drop an old unneeded workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 08:56:26 -07:00
Adam Williamson
e8df07813b ostree rebase: for update tests, check we deployed custom ref
This checks we actually deployed the 'fedora-openqa' ref as we
intended to (if not, the rebase test probably won't work
properly or won't test what we want it to).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-12 08:55:32 -07:00
Adam Williamson
d07b5a4178 Tweak ostree build and rebase for update tests to be more robust
We have had several problems where rebasing from one release to
another just doesn't work, and we have to work around it somehow.
Sometimes it's difficult or impossible to do. All we want to do
here is check the rebase mechanism itself; we don't actually want
to assert that you can rebase to any specific other release.

For update tests, we should be able to use a non-standard ref
name for the ostree we build, embed into the installer image,
and install. That should mean we can then rebase to the standard
ref name for the same release, which should be much safer than
trying to rebase to a different release. We can't do this for
the compose tests, but at least for update tests I'm hoping this
makes things more robust.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-11 21:06:57 -07:00
Adam Williamson
c5766af308 Bump memory_check disk size again
Needs more due to new EFI system partition size.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-06-10 09:10:16 -07:00
Adam Williamson
818c2d5d8f Handle rpm -q commands failing if we didn't download anything
I think this is new behaviour in rpm 4.19, or else we would have
run into this before when testing an s390utils update. But it's
easy enough to handle.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-31 10:26:45 -07:00