Commit Graph

898 Commits

Author SHA1 Message Date
Adam Williamson 69dc252da9 tidy lukas' change to the arabic fonts test
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-24 14:56:30 -07:00
Lukas Ruzicka 3105e88626 Softfail the check_default_fonts to prevent breaking the Install Arabic test. 2022-10-24 12:56:15 +02:00
Adam Williamson 734c75fb23 _advisory_update: add a wait_still_screen too...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 09:04:32 -07:00
Adam Williamson 9c8fb47484 _advisory_update: ensure we're back on tty3
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-21 08:55:27 -07:00
Adam Williamson 3208d15725 _advisory_update: stop the graphical desktop at the start
We have a big problem with Rawhide KDE update tests getting OOM
killed during this phase. Stopping the desktop before we install
updates should save some RAM and help avoid this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-20 18:10:23 -07:00
Lukáš Růžička 5ea921b17b Create tests for Gnome Contacts. 2022-10-18 14:22:52 -07:00
Adam Williamson dd6b502b04 server_cockpit_basic: more defensive waiting
Boy this seems slow in Rawhide currently. This has the effect
of being more defensive around the services page load.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-14 10:20:15 +02:00
Adam Williamson 25ed1e236d weather: settle before snapshotting in aaa_setup
We've seen some failures of the weather test at the start of
weather_report, where the test expects to be at the hourly view,
and instead it seems to be at a sort of broken state:
https://openqa.fedoraproject.org/tests/1505080#step/weather_report/3
I'm guessing this may be because currently aaa_setup clicks the
city name then is immediately complete, so it will immediately
snapshot. I guess this can result in things being stuck in a kind
of intermediate state on snapshot restore. So, to try and avoid
this, let's assert that we reach the hourly view after clicking
the city name, then wait_still_screen for a few seconds to make
sure things are settled down, before we complete and snapshot.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-13 10:35:38 +02:00
Adam Williamson 20ef09d4f4 Protect against long load times in Cockpit
We seem to be hitting very long loads on the Services and Logs
pages of Cockpit in recent Rawhide testing especially. As I don't
have time to deeply debug this at the moment, let's just give it
longer (but make it a soft failure when it takes longer than
expected).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-12 10:21:34 +02:00
Lukas Ruzicka 5d3fc244eb Create the test for system monitor. 2022-10-10 15:14:21 +02:00
Adam Williamson baedbd22aa Run tidy to fix some syntax errors that creeped in recently
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-10 15:04:06 +02:00
Lukas Ruzicka 5038dcaab0 Fix the logic in Kmail startstop test
Sometimes the windows are displayed in the reversed order, which
prevents the checks to find the needles and the test fail
even if it should pass. This change should address this case.
2022-10-06 09:51:16 +02:00
Adam Williamson 3a96ef8501 kmouth: also give the first run wizard longer to appear
It seems to consistently take a bit more than 30 seconds.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-29 13:17:29 -07:00
Adam Williamson 5592e2ac93 desktop_login: handle backgrounds in WebP format
...which we just started doing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-28 08:41:45 -07:00
Adam Williamson 7675e99fcc Make internal state marker variables upper-case
We use variables to track test state across modules, sometimes.
As this is all internal to the test logic I didn't bother always
making these variables upper-case, but os-autoinst now treats
lower-case variables as a fatal error, so we have to change.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-27 23:18:42 -07:00
Lukas Ruzicka ba0062e5be Create a test case for Archiver. 2022-09-22 08:59:07 +02:00
Adam Williamson 093da03139 Try and workaround IoT rebase problems with F37 read-only change
The change to read-only sysroot for IoT in F37 causes problems
with this rebase test. It's not supported to rebase from an RO
release (37 or 38) to a non-RO release (36). So we need to make
sure we don't try and do that. This uses some quick hack logic,
but it should be OK and sufficiently specific not to break
anything even if we forget to remove it in future.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 15:48:22 -07:00
Adam Williamson 2be9d203f3 Disable dnssec again for FreeIPA upgrade tests
It seems we still have trouble with this turned on :( About 60%
of tests fail with the client unable to resolve names.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-20 13:58:48 -07:00
Lukas Ruzicka 4c03c0d814 Fix the Silverblue failure on new_file test. 2022-09-20 17:25:54 +02:00
Adam Williamson 49dac8d872 Re-enable dnssec for all FreeIPA tests
The cluster of bugs for F37/Rawhide should all be resolved now,
and I'm hoping the old upgrade bug is no longer relevant.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-19 12:28:17 -07:00
Adam Williamson 2b79d59379 Disable updates-testing during upgrade_preinstall
This issue appeared when we started testing Rawhide updates, but
I only noticed it today. When testing Rawhide updates after
Branch point, the upgrade tests upgrade from Branched to Rawhide.
On Branched, updates-testing is enabled by default. We only
disable it when we reach `upgrade_run`, but by that point we've
already done a `dnf -y update` in `upgrade_preinstall` and
potentially installed other packages in steps between
`upgrade_preinstall` and `upgrade_run`. That can cause problems,
like today all FreeIPA upgrade tests on Rawhide are failing
because there's a newer freeipa in updates-testing for F37 than
is in the current Rawhide compose.

Solve this by disabling updates-testing before we do the update
in `upgrade_preinstall`. To avoid excessive code duplication,
factor out the repo disabling code.

We'll do this twice on upgrade tests now, but it shouldn't be a
problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-15 10:18:26 -07:00
Adam Williamson 9fd78aa99b g-t-e: only use the 'old' path for Silverblue < 37 now
Because Silverblue 37 has a newer g-t-e.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-08 15:07:49 -07:00
Adam Williamson 1d395ad262 Update some nautilus needles and a test for 43-rc changes
We need to do Restore from the context menu now, because the
special button bar thing went away:
https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/943

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-09-08 15:05:04 -07:00
Adam Williamson 5f6232a5a5 Workaround RHBZ#2120433 - try login again if it fails
Also stop re-doing get_var("DESKTOP") because that's dumb. This
should only, at worst, make things slower if unexpected things
happen - it shouldn't cause failures that wouldn't happen anyway.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-22 17:24:39 -07:00
Adam Williamson ba6a2c508a Use type_very_safely through gnome-text-editor tests
This will make them slower, but lately type_safely is just not
reliable, particularly in the new_file test, it's constantly
typoing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-22 14:27:50 -07:00
Adam Williamson ed91ef94ff Drop systemd-oomd-defaults from Rawhide Workstation live (#2119518)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-20 00:08:12 -04:00
Adam Williamson aadcc428d6 Give live image build even longer and bump max job time
Rawhide live image builds are still taking an awful long time
and often failing. I will look more into why later, but for now,
let's bump the timeouts even more just to try and get through
the job backlog.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-19 15:35:24 -04:00
Adam Williamson 1971164c7e Bump some more timeouts in _live_build
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-19 15:23:36 -04:00
Adam Williamson d4cd737c9f Disable dnssec validation for FreeIPA replica server too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-19 00:18:00 -04:00
Adam Williamson 6717cf7a4a Give live image build a bit longer to run
It's timing out a lot on Rawhide.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 17:19:42 -04:00
Adam Williamson dc318983f1 Disable dnssec on FreeIPA on Rawhide to avoid #2117859
I'd prefer not to have to do this, but having the tests fail on
every compose and Rawhide update test is just too distracting
to live with.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 14:29:44 -04:00
Adam Williamson 72c37efe46 Check correct destinations in nautilus/move_file_into
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-18 01:34:56 -04:00
Lukas Ruzicka 378d50eabd Fix the modularity tests by selecting existing modules. 2022-08-17 14:18:39 +02:00
Adam Williamson f7a8550258 Create biosboot partitions in blivet tests
From anaconda-37.12.1, anaconda defaults to GPT for all BIOS
installs. So we need to create a BIOS boot partition when doing
a BIOS install. I think all other potential configs (x86_64
UEFI, aarch64 (UEFI), ppc64le (OFW)) are covered under the other
two paths, so just making this `else` should be OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 15:39:38 -04:00
Adam Williamson 58fbcf31f2 Tweak Clocks world clock test removal loop to be more robust
We need to move the mouse out of the way so we don't need two
needles for "X not highlighted" and "X highlighted", and give
the check_screen a few seconds to update for the cursor move.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 10:05:26 -04:00
Adam Williamson 8479cb979f Remove nautilus side panel test and associated needles
The show/hide side panel functionality was intentionally removed
in version 43-beta:

https://gitlab.gnome.org/GNOME/nautilus/-/issues/2427

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-16 08:53:42 -04:00
Lukas Ruzicka e69ba53f51 Fix the Clocks test to work on Fedora 37. 2022-08-15 16:47:46 +02:00
Adam Williamson 228fdcf42b Update nautilus needles and star_file test for 43-beta
"Star" was removed from the file context menu, so we have to
star the file from the main view now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-11 09:40:15 -07:00
Adam Williamson e2e8fcadd4 Rationalize GNOME credit button handling
We had a ton of needles all covering something very similar
(press a "Credits" button in a GNOME app). There are about four
real variations: old-style regular face white-on-black (eog),
old-style regular face (nautilus and evince before recent
libadwaita ports), old-style bold face (GTE and Clocks before
new libadwaita), and new-style (everything that's been ported
to use libadwaita for its About page). Let's just rationalize
it down to those, using the same needle tag for all of them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 18:24:57 -07:00
Lukáš Růžička 9e0ec721a6 Create a new test for Gnome Weather 2022-08-08 18:24:51 -07:00
Lukáš Růžička c40a35ea62 Add a new test for Calculator. 2022-08-05 11:34:22 -07:00
Adam Williamson fcbcaaf59a anaconda_help: don't include 'root' in the root password
anaconda now warns about this and it breaks things.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-05 11:28:24 -07:00
Adam Williamson 1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00
Adam Williamson 8ce8a7fe65 clocks/world: search for "Reykjav" not "Reykjavik"
The city is called Reykjavík (note the í). Previously our search
worked because the search function also looked in the name of the
timezone, and the *timezone* name is "Atlantic/Reykjavik" - i.e.
it's really Latin-ized in the name of the timezone. However,
upstream intentionally stopped including the timezone name in
search matches:
https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/199
so that doesn't work any more. Just searching for "Reykjav"
should solve the problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-25 16:50:17 -07:00
Adam Williamson b7dea9f80c gnome-text-editor: don't check 'System' tab in About
In 43-alpha it's gone, the replacement is Troubleshooting ->
Debugging Information. But it would be a pain to write two
forks in the code for handling both cases, and there's a ton
more stuff in the new-style About dialog that we're not
checking either. I don't think we really need to click on all
of it, and this bit of it isn't super important. So on the
whole I'd rather just keep things simple and drop this check.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-25 16:41:46 -07:00
Adam Williamson 9495cfb1ff Update nautilus tests and needles for 43~alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-22 17:24:43 -07:00
Adam Williamson 84c6e18f14 Reduce duplication of nautilus Documents directory needles
We had three. We only need one, matching on the sidebar entry,
which should be always visible.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-22 17:17:59 -07:00
Adam Williamson dcda535db0 gnome-text-editor: make sure to overwrite prefilled filename
the new_file test failed today because it seems g-t-e now pre-
fills a suggested filename, with extension, and pre-selects the
name part but not the extension part. So when we type 'list.md'
we wound up saving the file as 'list.md.md'. I think hitting
ctrl-a should fix this, and not break when run on older versions
of g-t-e if we ever do that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-22 12:24:09 -07:00
Lukáš Růžička 621f6c13b5 Add wait time to let the application start properly. 2022-07-19 14:49:26 +02:00
Adam Williamson 2ee0377ece nautilus/move_file_into: fix whitespace errors
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:28:58 -07:00