Commit Graph

2482 Commits

Author SHA1 Message Date
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
Adam Williamson 3cb6b5899a Remove a script file I used for the calculator needle thing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 17:43:39 -07:00
Adam Williamson 87ad2fb63e Add (back) old calculator button needles for Silverblue/flatpak
Silverblue has Calculator as an older-versioned flatpak, so it
still looks like it did in GNOME 42 (blue equals button, lighter
colored number buttons).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 17:34:32 -07:00
Adam Williamson 8ede32a76c Give workaround download longer
the webkitgtk workaround is large. 3 minutes isn't long enough
apparently.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 15:34:30 -07:00
Adam Williamson 8fc2f71df9 Add new webkitgtk build as workaround for file conflict issue
The file conflict between older webkit2gtk4.1-jsc and new
javascriptcoregtk4.1 is causing all Workstation update tests to
fail on all Rawhide updates. This new version of webkitgtk adds
obsoletes to javascriptcoregtk4.1 which we hope should fix it.
Adding the x86_64 build directly as other arches aren't done
yet, and we only run the Workstation update tests on x86_64
anyway.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 12:05:09 -07:00
Adam Williamson 45c25b2e6c Drop workaround that's now stable
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 12:04:37 -07:00
Adam Williamson 1154a2b739 Update a bunch of GNOME needles for libadwaita font color change
Text on some dialogs is now dark grey instead of black.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-08 11:07:42 -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 b867f9cd28 Tighten match area on new cockpit software updates needle
It needs to match even if the 'link target hint' is showing at
bottom left and kinda obscuring it a little.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-05 10:05:15 -07:00
Adam Williamson f63f87228a Set perl CI back to latest-container
Now latest-container is Fedora 36, this should be good.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-05 09:28:02 -07:00
Adam Williamson 49c3e72cd4 Update a cockpit needle for 274
They changed from "Software Updates" to "Software updates".
Apparently this was intentional and in line with Patternfly
guidance, so not marking as a workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-03 16:05:24 -07:00
Adam Williamson 66e5276544 Drop NUMDISKS=2 for update server flavor
It causes a bit of an awkward problem for tests which use disk
images from another test, specifically the cockpit tests. We
put the update repo on this second disk and update /etc/fstab
but we aren't actually uploading the second disk image and using
it as the second disk on the child tests, so they get messed
up.

I'm having trouble coming up with an elegant solution so for now
let's kick the affected flavor (server) back to one disk. I'll
try and figure a more permanent fix tomorrow.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-02 16:28:15 -07:00
Adam Williamson a3270c10a9 Update printing_check_sentence needles for new ghostscript
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-02 12:54:34 -07:00
Adam Williamson f5946e678c Make update testing more robust for very large updates
openQA choked badly on
https://bodhi.fedoraproject.org/updates/FEDORA-2022-6256981a71
because it's, well, huge - 87 builds including texlive, which
has hundreds (thousands?) of subpackages. This exposed several
frailties against such updates.

First of all, we set NUMDISKS to at least 2 for *all* update
tests, which should mean they all stash the RPMs from the update
on a non-system disk and avoid problems with space exhaustion.
After that, just extend a few timeouts in particularly fragile
places, including one which is specific to texlive (as I don't
know of any other source package with so many subpackages).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-08-02 11:29:21 -07:00
Adam Williamson 223ed39697 Update a couple of KDE app run needles for today's Rawhide
Again, probably down to noto font changes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 16:23:19 -07:00
Adam Williamson ff5bad705b Update anaconda help needles for KDE in today's Rawhide
I think the change here is the new version of noto fonts. GNOME
uses adwaita so it's not affected.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 16:20:48 -07:00
Adam Williamson e195f9d79a Add dogtag-pki that works with new python-ldap as workaround
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 09:47:05 -07:00
Adam Williamson dbe7f567d8 Drop FreeIPA workaround for Rawhide (it went stable)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 09:46:38 -07:00
Adam Williamson 6f6ca81e95 Update a bunch of GNOME needles for GNOME 43 alpha
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 16:33:34 -07:00
Adam Williamson 406b99eaed Add some variant needles for F36 respin testing
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 16:29:58 -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 ad5eb54715 Add FreeIPA update as workaround for F37
We need this FreeIPA rebuild for Rawhide update tests to pass.
Can drop once it's in a compose.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 14:39:33 -07:00
Adam Williamson 73a07f38aa Drop now-stable FreeIPA workaround for F36
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 14:38:27 -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 8bec03edd7 Drop needles for check removed in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-25 16:45: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
Adam Williamson a33a5f3bf1 Add another passphrase entry needle variant
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 17:04:08 -07:00
Adam Williamson d9d8620cae Add F36 GNOME logout entry needle
Needed for the semi-official live respin tests.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson 3274d29137 Update gnome-text-editor new document needle
Not sure exactly what changed, some kinda UI label tweak.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson 098c849b2f Update a cockpit needle for cockpit 273
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -07:00
Adam Williamson 7db52ea34e Update a couple of KDE needles for return to dark grey theme
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-20 09:34:55 -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 e8543a1764 Add freeipa-4.9.10-2.fc36 as a workaround for F36
F35 to F36 FreeIPA server upgrade test is failing because the
latest F36 package is lower-versioned than the latest F35
package, and FreeIPA's upgrade scripts are written to fail if
this is the case. The update bumps the F36 NVR to be higher
than the F35 one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-18 11:12:57 -07:00
Adam Williamson f80e42fd32 Drop mesa workaround for F36, it's stable now
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-18 11:12:40 -07: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
Adam Williamson f84792f819 nautilus/move_file_into: be more defensive
This is to try and fix some issues on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:28:15 -07:00
Adam Williamson ef76c76024 help.pm: wait longer for main screen to appear
Looks like it can take longer than 45s on aarch64.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:20:36 -07:00
Adam Williamson f407ceaf0e help.pm: fix whitespace errors
Lots of use of tabs instead of spaces, spaces at ends of lines,
spaces on blank lines...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:20:09 -07:00
Adam Williamson f67bcef9f7 g-t-e: extend sleep in one test, add in another
aarch64 looks like it often needs more time to settle after
restoring from snapshot before trying a key combo.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:15:52 -07:00
Adam Williamson 66f4ad296a Lower match level on clocks_timer_finished needle
We got a 95% match in the F36 respin test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-15 11:07:46 -07:00
Adam Williamson cf352a4e3e setup_workaround_repo: explicitly install koji
bodhi-client should depend on it, but technically since we have
code that calls `koji` directly here, we should probably also
include it in our install anyway, so not marking this as a
workaround.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-14 11:46:12 -07:00
Adam Williamson 4d9831efcc Add mesa update that fixes kwin crashes as workaround for F36
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-14 11:14:43 -07:00
Adam Williamson 7f9db92d74 Update KDE notification needle for return to dark theme
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-13 14:27:24 -07:00
Adam Williamson 74a27bcee7 Update comparison branch for tox
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-12 16:15:32 -07:00
Lukáš Růžička 48ec73e814 Create a test suite for Nautilus. 2022-07-12 16:01:36 -07:00