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

3243 Commits

Author SHA1 Message Date
Adam Williamson
bace4170f4 Wait longer before exiting _podman_client
At the end of _podman_client we create a mutex that we want the
server to pick up. If we exit too soon, the mutex goes away and
the server test fails. 5 seconds turns out to be not enough of a
wait because, although the server retries the lock call every
5 seconds, it can hit `api_call_2 failed` and wait 10 seconds
before retrying. Let's wait 30 seconds just to be safe.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-08 14:25:40 -08:00
Adam Williamson
9be26becc5 desktop_login: disable automatic updating
Otherwise, if there's an update to fXX-backgrounds pending, we'll
get it on reboot in the middle of the test, and the real
backgrounds will comes back and replace our black fake ones and
break the test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 16:38:30 -08:00
Adam Williamson
50db12402c Add needles for old flatpak gnome-text-editor
Silverblue has an older version of gnome-text-editor, using a
Flatpak base environment built off an older GNOME. Because of
this most of the needles for the current RPM-packaged version
don't match. For some reason the old needles we delete don't
match either - some difference in font rendering configuration
or something. So I had to create a bunch of new needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 16:00:45 -08:00
Adam Williamson
4e09c5696b Add yet another help_quit_kde needle
I do not know what's going on with this quit button and why it
seems to keep showing up looking different. Today it looks
different in the same image (KDE live) from the same compose
(today's Rawhide) on prod and stg openQA. I've no idea how that
is possible, but oh well, let's keep adding needles till the
pain stops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 15:55:35 -08:00
Adam Williamson
f4bc90e681 Tweak the gte_preferences_off needle click point
I did this by hand and I think 20 pixels is a bit too much.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 15:03:05 -08:00
Adam Williamson
0a80004f3e Make gte_preferences_off needle more specific
It matches on the "close the app" button on older Flatpak GTE.
So widen the needle to include the "Preferences" text, and add
a click point.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 14:47:22 -08:00
Adam Williamson
5065202fcc gnome-text-editor: add old skins logic for Silverblue
Silverblue still has an old version of g-t-e where this theming
stuff worked differently, so put that stuff back for Silverblue
but keep the new stuff for RPMs.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 14:24:31 -08:00
Adam Williamson
45514ae985 Don't look for System tab on gnome-text-editor on Silverblue
Silverblue has an older version of g-t-e which does not have this
tab.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-07 13:40:30 -08:00
Adam Williamson
af69bf1990 Update a few more miscellaneous needles for GNOME 42
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-05 08:48:46 -08:00
Adam Williamson
d57cef71de Update Japanese needles for latest GNOME
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-05 08:47:44 -08:00
Adam Williamson
88f4c55647 Update GNOME menu button needles for French
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-05 08:46:43 -08:00
Adam Williamson
d28a507078 Reduce match area of gte_credits_shown needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 19:29:40 -08:00
Adam Williamson
f4fbbe65e3 Typing 'gnome-text-editor' on Silverblue doesn't find the app
So just type 'text-editor'. If you have both gedit and gte
installed this will find both, but that should never be the case
so it should be OK.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 18:39:08 -08:00
Adam Williamson
6544850829 Update a needle and fix launching keyboard settings on Japanese
To get to the keyboard/input method settings and add an input
method when doing a Japanese install test, we type 'keyboard',
but in current GNOME 42.beta that doesn't find the right pane.
Typing 'input' does work, though, so let's use that instead.
Also the GDM login needle needed updating.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 17:20:18 -08:00
Adam Williamson
2da5b6abf4 Complete gnome-text-editor needle update
Just needed a few more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 15:12:02 -08:00
Adam Williamson
b81bdceba5 Update UEFI console passphrase needle for IoT 37
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 14:59:03 -08:00
Adam Williamson
ca60a51896 Update several needles for F36/Rawhide KDE changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-04 14:55:24 -08:00
Lukáš Růžička
bd1e7b0295 Big needle recreation for Gnome-Text-Editor 2022-03-04 15:12:57 +01:00
Lukáš Růžička
f1af1bca6e Add newer needle for gnome-text-editor test. 2022-03-04 13:00:34 +01:00
Lukáš Růžička
a67398acf5 Change module version as the old one does not exist any more. 2022-03-04 12:48:52 +01:00
Adam Williamson
44914d13ab Drop match level on older KDE no notifications needle
Now KDE is back to being black, this needle almost matches. Let's
just drop the level instead of making a new one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-03 10:06:09 -08:00
Adam Williamson
c6ffea301c Add some more F36 background needles
Sigh, this one sure likes to animate.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-03 08:46:02 -08:00
Adam Williamson
1084aa0828 Update KDE vault needles and test
The backend is now cryfs in F36/Rawhide. I don't think we need
to be policing which backend Vault decides to use, so let's just
accept either.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-03 08:42:45 -08:00
Adam Williamson
482712f953 Update more KDE login needles for Rawhide/F36 changes
Now we have an SDDM that actually works, we can update these.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 20:27:41 -08:00
Adam Williamson
7ecba92fb5 Drop similarity_level on some desktop_login wait_still_screens
Again, there's a blinking cursor in play here. 47 is too high.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 20:23:53 -08:00
Adam Williamson
28a2d16417 Add missing tags to new KDE logout confirm needle and rename it
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 20:03:50 -08:00
Adam Williamson
ad1d656124 Drop F36 kwin workaround, should not be needed any more
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 18:31:37 -08:00
Adam Williamson
e794c24de7 Update Arabic needles for GNOME and keyboard icon changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 16:37:05 -08:00
Adam Williamson
61c988f401 Update some KDE needles for changes in Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 16:05:04 -08:00
Adam Williamson
a60f19b5e7 Switch IoT tests to all run on UEFI
It doesn't support BIOS any more...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 16:02:21 -08:00
Adam Williamson
1493cb9aa9 Update app start/stop needles for GNOME 42.beta
These are taken with the latest gnome-shell build, with CSS
fixes for the overview applied. They don't work for current
F36/Rawhide but will work once that gnome-shell build lands.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 15:59:57 -08:00
Adam Williamson
1aee5d1ec0 Avoid duplication between desktop_update and 'software' app test
The 'software' test module in GNOME apps_startstop does a subset
of what the desktop_update_graphical test does already, but
using its own needles. Let's just have it use the same needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 15:58:45 -08:00
Adam Williamson
c0e83e3e3d Update KDE menu button needle for Rawhide
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 14:03:18 -08:00
Adam Williamson
8fab101745 Use lower similarity_level for some terminal wait_still_screens
We can't use the default similarity_level for wait_still_screen
when there's a flashing cursor - flashing cursor will always
cause the similarity level to be too low and the wait will just
time out at 30 seconds. Cut it to 42.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 10:31:06 -08:00
Adam Williamson
abd1d1a698 check_desktop: handle GNOME showing inactive button briefly
check_desktop tries to catch when the overview is open and close
it. But with GNOME 42, it seems the inactive "Activities" button
is shown briefly on login before GNOME opens the overview. If
check_desktop catches that, it will think the overview isn't
open and it doesn't need to do anything. So if we match on first
cycle through the loop, let's wait_still_screen then match again.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-03-01 10:24:48 -08:00
Adam Williamson
f75cd0e732 Add another F36 background needle (at 17:25)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-27 23:06:38 -08:00
Adam Williamson
416de35376 More needle updates for GNOME 42 / icon theme changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-26 16:38:25 -08:00
Adam Williamson
fb214eef03 Update Arabic pre-release needle for font change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 14:47:34 -08:00
Adam Williamson
8a7d5dd1ff Update various KDE/Plasma needles for Rawhide/F36 changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 14:47:04 -08:00
Adam Williamson
c5e6d80684 Fix escaping in the caret workaround
So these kind of things go through perl *and* bash string
interpretation and the escaping can get pretty wacky. Turns out
we need *eight* slashes here to get four through to bash (which
we need to deal with *sed*'s escaping rules), and it only works
in single quotes for some reason, not double quotes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 14:05:10 -08:00
Adam Williamson
371cb1c6eb Work around RPM caret bug when checking advisory packages
There's a bug in rpm where doing `rpm -q [NVRA]` doesn't work
if the NVRA contains a caret. To make it work you have to add
a literal slash character before the caret character, so we add
a sed command to do that, when we're checking whether packages
from the update actually got installed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 13:07:46 -08:00
Adam Williamson
71b7572d15 Update check-needles for anaconda user creation help needle rename
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 12:41:26 -08:00
Adam Williamson
752a9476be Drop KDE app 'netcon' test
This was originally a test of nm-connection-editor. However,
at some point that app stopped shipping a .desktop file by
default (it's in a subpackage that is not included in a default
KDE install) and the needle got updated to match on what the
same string now launched, which is a random part of the KDE
system settings. But there's no real sense in this - we don't
test launching every other pane of the system settings app from
the launcher, so it doesn't make sense to just test one random
one like this. Let's just throw the test out.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 12:37:53 -08:00
Adam Williamson
fcac2af4f8 Update and rationalize KDE app "cancel" needles
We have three different needles which all match on a stock KDE
"cancel" button. Let's just have one. Also, update it for latest
Rawhide/F36 KDE.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 12:22:47 -08:00
Adam Williamson
e305202c84 Make an anaconda help needle smaller to match on KDE
The last line of text is slightly cut off on KDE lives, so shrink
this needle area so it still matches.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-25 09:16:23 -08:00
Adam Williamson
0281cfd7f1 Add another anaconda main hub needle for KDE
One of the icons showed up bigger in a UEFI test. I dunno why.
Just keep adding needles till the pain stops.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-24 08:31:00 -08:00
Adam Williamson
172e5a3fdc Add another 36 background needle (05:34)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-24 08:27:47 -08:00
Adam Williamson
2d67e0b140 desktop_printing: do the file find from a VT
script_output has no arg to make it type slowly, and I'm seeing
that the test often fails trying to do full-speed script_output
at a desktop terminal. Let's do this part from a VT.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-24 08:24:36 -08:00
Adam Williamson
dd6ebb2171 Add a second F36 background needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 16:11:53 -08:00
Adam Williamson
671a19cda8 Update a KDE needle for F36
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-23 16:08:54 -08:00