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

588 Commits

Author SHA1 Message Date
Adam Williamson
1f4324b270 abstract desktop terminal launch, refactor user switch, enable for KDE
This started out as just factoring out the repeated pattern for
launching a terminal on the desktop that came in with the i3
tests. But as I worked on desktop_login, which is a major user
of it, I noticed some potential cleanups and improvements in the
user switching stuff, and also realized we can turn that test
back on for KDE now - user switching was re-enabled in KDE a year
ago and is advertised to be reliable.

I don't think the "switch user from a lock screen" test fully
worked before, as we did not verify that we'd really switched
back to an existing session rather than starting a new one. Now
we do. Using the terminal to verify the logged-in user on all
desktops just keeps things simpler than using the kicker menu
on KDE (though if typing proves unreliable on KDE I may switch
this back).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-09 17:16:13 -07:00
Adam Williamson
6d2974f722 keyring: simplify and make more robust
This avoids some magic waits by asserting screens (which is much
more reliable), and combines KDE and GNOME flows in the
passwordless test by adding some needle tags to the nautilus
needles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-06 08:02:03 -07:00
Adam Williamson
3244d17d67 Update gnome-panel screen locked needle for changed icon
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:31:02 -07:00
Adam Williamson
24bbce64a3 Update a gnome-keyring needle for a recent change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:42 -07:00
Adam Williamson
28dfad9743 Update various loupe needles for latest version
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-04 23:30:00 -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
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
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
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
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
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
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
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
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
Adam Williamson
a2ca3fc2b1 Update a couple of needles for anaconda/GNOME changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-19 17:53:34 -07:00
Adam Williamson
b4eebff26e Update a few needles for F41 backgrounds
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-19 17:52:59 -07:00
Adam Williamson
5c15f96fab Fix navigation_navibar_terminal needle, add a missing needle
I forgot this needle has to be with terminal highlighted, not
just present. And now that's fixed, we need another needle for
a later point in the test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 11:18:42 -04:00
Adam Williamson
c123762f7b Update gnome-text-editor found text needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-16 10:51:56 -04:00
Adam Williamson
4be9ce3e88 Use 'terminal' instead of 'gnome-terminal' for ptyxis switch
In several places we run 'gnome-terminal' explicitly, but as of
today's compose, the default terminal app on GNOME in Rawhide is
ptyxis, not gnome-terminal.

Running 'terminal' should launch whichever is correct, so let's
consistently do that.

Also, add an apps_run_terminal needle and navigation navbar
needle for ptyxis.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 10:39:20 -04:00
Adam Williamson
9a7bcf9573 Update a ton of needles for Nautilus 47-beta
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-13 09:43:09 -04:00
Adam Williamson
b8b46753e2 Add new loupe file select needle
This is for the new Nautilus 47-beta file picker. We will need a
lot more new needles for this, we just have this one because I
used the loupe test to verify that I'd fixed making the picker
appear at all.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-08 15:03:40 -04:00
Adam Williamson
b9307b1a2c Update a bunch of GNOME needles for some upstream rendering change
GTK? I dunno. Things got a bit blacker.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-08 10:43:59 -04:00
Adam Williamson
cfb3b793e3 Update check_default_fonts to match the new test case
The test case was completely changed earlier this year. Per
https://bugzilla.redhat.com/show_bug.cgi?id=2093080#c17 , atagoh
wants us to use the new test case for validation and have openQA
automate it, so, this does that. I already updated the matrix
earlier in the year, I will update fedora_openqa when this is
merged.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-05 10:16:29 -07:00
Adam Williamson
8d6328ba8a Update GNOME printing sentence check needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-05 10:16:02 -07:00
Lukáš Růžička
208fe91f9d Fix Maps by adding failed needles. 2024-07-16 13:38:04 +02:00
Lukáš Růžička
d5f244e78a Fix Weather test by adding a failed needle. 2024-07-16 13:01:46 +02:00
Adam Williamson
2915e3e0b3 Update fonts_liberation_font_found for GNOME 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:51:49 -07:00
Adam Williamson
b0674ca2f1 Update maps_switch_scale needle for GNOME 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:50:45 -07:00
Adam Williamson
e531a8f44e Add variant apps_run_tour for F40 font rendering
Looks like F40 has the new text, but old font rendering...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-15 16:49:28 -07:00
Lukáš Růžička
8e6d7ac946 Add one more missing needle for GTE. 2024-07-10 17:12:56 +02:00
Lukáš Růžička
6f9288634a Fix the Maps
- add needles
- update export.pm
2024-07-10 15:09:49 +02:00
Lukáš Růžička
a4218d9003 Add one more for System Monitor. 2024-07-10 10:37:09 +02:00
Lukáš Růžička
4991f3928e Update needles for System Monitor 2024-07-10 10:24:25 +02:00
Adam Williamson
88967ff273 Update calculator and clocks needles for changes today
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-04 17:14:56 -07:00
Adam Williamson
827756b43d Update various needles for new libadwaita/gtk
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-04 10:36:12 -07:00
Adam Williamson
b3ee2a5a7b Update GNOME Software "ignore" button needle for new libadwaita
Probably more stuff will need reneedling when this hits the
compose tests...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-03 20:53:54 -07:00
Adam Williamson
1091980cf2 Update sysmon needle for issue with column titles in new GTK
There's a problem with the column titles in the latest GTK, they
are virtually invisible:
https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/issues/310
match on something else to avoid this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 15:30:36 -07:00
Adam Williamson
3211cf4723 Update various needles for changes to bash-color-prompt
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 15:30:01 -07:00
Adam Williamson
2269398ffc Update some maps needles (for Land's End selection)
Seems this menu changed a bit, not sure why, remote data change
most likely.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 15:25:33 -07:00
Adam Williamson
be0b4ee1ec Add another Maps zoomed needle
This one is different to the later one and does also seem to be
needed, not sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 14:39:03 -07:00
Adam Williamson
68f3f87cf3 De-duplicate GNOME sysmon needles, add a new one
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-02 12:31:03 -07:00
Lukas Ruzicka
527210e2c8 Add more Maps needles because of recent failures. 2024-06-25 09:48:31 +02:00
Lukáš Růžička
6a4ed83384 Enable start/stop tests on Silverblue. 2024-06-19 23:42:42 -07:00
Lukas Ruzicka
992e51f5c5 Create test suite for Desktop Keyring
This adds both the Gnome and the KDE tests to test the
Desktop Keyring. After a discussion with the Brno team,
how this could be tested without the need to rely on
external servers to log into, we set up a local FTP server,
we will log into it and remember the credentials and verify
that the credentials will be stored in the keyring correctly.
2024-06-11 16:04:44 -07:00
Adam Williamson
206ffc2a7e COPR / tag tests: handle GNOME "download unsigned" prompt
When using a side repo for testing a COPR or a side tag, there
may be unsigned packages. We set gpgcheck=0 to make dnf okay
with this, but gnome-software still shows a warning. Let's
click through it so the test can complete.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-11 14:38:18 -07:00
Adam Williamson
9da1b5aa4b Update a GNOME Maps needle for an upstream map data change
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-06-10 15:53:43 -07:00
Adam Williamson
3a4b874b38 Add ARM variants of a couple of Nautilus needles
These look different on ARM for some reason. No idea why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-05-27 13:44:41 -07:00