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

3403 Commits

Author SHA1 Message Date
Adam Williamson
d109fbdb43 Rename i3_tilling to i3_tiling
This is the correct name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 16:56:55 -07:00
Lukas Ruzicka
092cc5dd05 Move the content from i3 library to the files.
Over the time, we have changed the test scripts so that the code
in the i3.pm library was no more needed. The only leftover was the
user config subroutine that could be moved to the only file that was
using it and we could get rid of the library file.
2024-09-26 16:06:43 -07:00
Lukas Ruzicka
c392480f92 Rebase the PR to fit within the current status quo. 2024-09-26 16:04:59 -07:00
Dan Čermák
4315e5ff6f Add openQA tests for i3 2024-09-26 16:04:59 -07:00
Adam Williamson
82abc61432 Factor DM login process out of _graphical_wait_login
There are several other tests doing the same thing (but not as
safely, in some cases). To improve reliability and reduce
duplication, let's factor this out into utils.pm and reuse it
where appropriate.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 22:20:34 +00:00
Adam Williamson
f94f34d0dd Add yet another KDE systray expand needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 15:17:32 -07:00
Adam Williamson
a650a3b33d Add variant clocks_alarm_hour needle for when it's already active
This is still the case on the flatpak build as it runs behind the
RPM build, and would still be the case if we run the test on an
F40 respin for e.g.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-26 15:16:47 -07:00
sumantro93
7657b8bb16 Rename Dockerfile to Containerfile 2024-09-26 14:22:01 +02:00
Adam Williamson
a7dbff27fa Various GNOME 47 needle updates (and one KDE 6.2 one)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 17:57:14 -07:00
Adam Williamson
4200e6a73f alarm: double-click hour field before we start typing
See: https://gitlab.gnome.org/GNOME/gnome-clocks/-/issues/370
before 47.0, the hour field was already active for typing when
this window opened, but it no longer is.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 17:53:00 -07:00
Adam Williamson
47302e9451 Update needles and tweak test logic for new anaconda-webui
New anaconda-webui changes the disk selection flow a bit, this
adapts to it. We can drop the conditional and make it a straight
assert-and-click once the new webui is stable for F41 and F42.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-25 16:50:10 -07:00
Adam Williamson
bb1f6e6ba0 Update KDE systray notifications needle, rename an older one
The older one here does not have Notifications "selected", so
the filename shouldn't say it does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:26:59 -07:00
Adam Williamson
e99bf18c4f Add yet another KDE menu button needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:22:05 -07:00
Adam Williamson
635ff8941e maps: update wellington needle
Upstream fixed an issue with highway signs being upside down.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-19 15:20:44 -07:00
Adam Williamson
75534a30df desktop_browser: give browser longer to start, but soft fail
This is often failing on KDE on Rawhide ATM, apparently because
of a performance regression with software rendering. So let's
wait longer for the browser, but soft fail if it takes longer
than 45 seconds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-17 14:49:27 -07:00
Adam Williamson
381a79f06f Fix KDE update test with KDE 6.2
The behavior after we click 'Restart to Install Updates Now'
button has changed in KDE 6.2. The default choice is no longer
'Install Updates and Restart' (even though that's what the button
says), and there is no timer. So if we don't click anything, the
confirm overlay just stays open forever.

This makes us click on the appropriate confirmation button if we
see it. We can also use this to make the test run a bit faster on
other releases, I guess.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-16 12:16:26 -07:00
Adam Williamson
5309466098 Update a KDE package manager needle for KDE 6.2
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 23:37:03 -07:00
Alessandro Astone
39e26ed029 kde_doublek_workaround: Allow some time for the menu to close 2024-09-15 21:19:18 +02:00
Adam Williamson
358695e417 doublek_workaround: tweak to work for other letters too
In a couple of cases we type something that *doesn't* start with
a 'k', so we should use that other letter for the workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:54:35 -07:00
Adam Williamson
4ca41e5b71 tidy _installer_build
Missing ; . Oops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:47:41 -07:00
Adam Williamson
22387fddfb Update KDE notification icon needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:45:31 -07:00
Adam Williamson
6146b6eba9 Update map_zoomed needle for OSM changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:45:16 -07:00
Adam Williamson
f96f591e46 keyring tests: use check_desktop
These lines were sort of doing the same thing, only much less
safely.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-15 11:43:43 -07:00
Adam Williamson
21222f6a03 Update multiple GNOME needles for a font rendering change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-09 16:39:49 -07:00
Adam Williamson
1c4a93eeaa Update KDE akonadi notification needle for some appearance change
The old needle was still matching but on the wrong X button,
so we dismissed the wrong notification and tests failed. This
seems to solve it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-09 16:37:08 -07:00
Adam Williamson
a9412b14ae Add a needle required for ELN update tests
disk selection with ELN's font.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-06 00:01:52 -07:00
Adam Williamson
e49b5f9645 Initial ELN update test support (installer build)
This should make the installer image build test work for ELN,
so we can try doing some update tests on ELN.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-05 14:57:59 -07:00
Adam Williamson
201fddcb72 Be case-flexible in ELN version checks
There's some ambiguity about the case of the ELN version string.
Currently it's "ELN", it's going to be "eln" soon. Let's just
always use case-insensitive comparisons.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-04 13:17:00 -07:00
Adam Williamson
9130518862 Update French passphrase needle for translation change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-30 16:11:37 -07:00
Adam Williamson
0c32f1634d Update a Cockpit needle for a Firefox change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-30 16:10:15 -07:00
Adam Williamson
00665f23e9 Add no-button variant KDE update notification needle
This may be a bug, but I'm not entirely sure. Seems like the
notification can show up with or without the button to view the
update.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-27 18:40:03 -07:00
Adam Williamson
edc3bd9762 Update French pre-release note needle for translation change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-27 18:39:19 -07:00
Adam Williamson
e0fb862233 Update a GNOME upgrade needle for a font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-27 18:38:47 -07:00
Adam Williamson
3cd5a9cfc2 Revert "desktop_browser: disable kernel.org bits temporarily"
This reverts commit 6fea5cc452.
kernel.org is fixed now.
2024-08-26 15:35:18 -07:00
Adam Williamson
c24e3fa9a1 freeipa replica: allow ipa server-del to fail
If it fails, the replica is probably already gone from the
config so things are fine.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-26 15:34:50 -07:00
Adam Williamson
6fea5cc452 desktop_browser: disable kernel.org bits temporarily
kernel.org is currently unreachable by IPv4 so this keeps failing.
Will re-enable when the site is fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-26 13:06:23 -07:00
Adam Williamson
3c3ed87966 freeipa replica: delete the replica before uninstalling master
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-26 13:04:58 -07:00
Adam Williamson
9a95ece8d3 Clear a now-stable workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 11:50:29 -07:00
Adam Williamson
531df88d37 container build: fix kiwi command to include --kiwi-file
This is now required (config.xml is gone), and Koji has been
doing it for a while. Koji uses a modified file it writes before
calling kiwi-ng, but we just use the stock one here.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 10:39:33 -07:00
Adam Williamson
76bce2bc04 container build: drop an old workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 10:32:13 -07:00
Adam Williamson
958366d15d desktop_notifications: don't expect g-i-s on rawhide
We disabled the g-i-s live mode on Rawhide for now (as it was
getting too hard to maintain the patch downstream), so this test
should not expect it any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-21 10:35:42 -07:00
Adam Williamson
cbb9bb59d4 g-i-s: go back to relnum conditional, update comments
Changing to a conditional based on whether we saw webui broke the
ostree installer install tests, because they of course use the
same g-i-s even though they don't use webui. So, we have to go
back to the relnum-based conditional :/

Yes, this means we have redundant screens in g-i-s for install
paths that use gtkui to deploy GNOME, e.g. SB installer images,
but I can't see a good way to fix that. We need to show those
screens for the live install, which is the 'most important'
one, and we don't have an obvious way to show them for installs
that used webui but hide them for installs that used gtkui.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 23:12:29 -07:00
Adam Williamson
eed86f4feb Update keyring needles for nautilus 47 and ptyxis
There's now a 'Network' entry that does the job of 'Other
Locations', the enter_address needle needed updating, and the
sftp_logged needle needed updating for ptyxis.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 18:29:39 -07:00
Adam Williamson
c17181d8e5 Update akonadi migration needle for F41 background
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 18:29:02 -07:00
Adam Williamson
a7cd9f30db gnome-text-editor: also select right directory for nautilus chooser
The nautilus-provided chooser also does not default to Documents
as the output directory. Sigh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 18:10:04 -07:00
Adam Williamson
9f6113d581 More tweaking to GNOME file save - always click the button
Let's not trust hitting enter in just one place but hit the save
button like we do elsewhere (this avoids an awkward issue where
hitting enter doesn't work on the new nautilus version). Also,
let's consolidate the needles under a sensible tag name.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 16:52:51 -07:00
Adam Williamson
23ebeb2269 Handle hitting the new Nautilus save as dialog in more places
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 16:33:38 -07:00
Adam Williamson
76711fd039 Tweak _boot_to_anaconda and g-i-s flow for new Rawhide g-i-s
We're dropping the live user mode patch from g-i-s downstream
because it's just too hard to maintain, apparently. So on Rawhide
the live image will boot to the welcome screen as normal, but
running the installer will give you newui rather than webui. If
you need a language other than English you have to sort it out
at the desktop before running the installer.

On first boot, g-i-s will show *all* screens, not skipping
language, keyboard layout or timezone, because we did not see
those in the installer.

This adapts the tests to handle the new flow, and should still
work with the other flows.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 16:15:55 -07:00
Adam Williamson
1b2dbf1c3d Fix Maps export for Nautilus 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 15:56:11 -07:00
Adam Williamson
1cbb7ba2af Fix nautilus hidden_files test with Nautilus 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-20 15:17:02 -07:00