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

608 Commits

Author SHA1 Message Date
Lukas Ruzicka
242d687e38 Rewrite tests from VNC to RDP
The VNC installation method has been replaced with a similar method
based on RDP. This PR uses the old mechanism and alters it for the
RDP method.

The test suite consists of two parts, a server and a client part.
The server is the real test on which Fedora Custom installation
is performed from the client via RDP.

The client is spinned off the pre-installed desktop image.

Fixes #345
2024-12-20 12:36:08 -08:00
Lukáš Růžička
dab034c39e Extend the Navigation test for QA:Testcase_window_manager. 2024-12-04 18:27:59 -08:00
Adam Williamson
c255a91f33 Drop skip_button needle
It was only used by a bit of gnome-initial-setup handling that
was removed as we no longer use it since F39 went EOL.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-12-02 07:39:50 -08:00
Adam Williamson
eb4e78f0d8 Update GNOME utilities menu needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-29 17:51:58 -08:00
Adam Williamson
dcad60de30 F39 EOL cleanup: remove Cheese support
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:39:02 -08:00
Adam Williamson
274b401dfd Various updates to GNOME Maps needles for data changes
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 00:22:32 -08:00
Adam Williamson
0a20118727 Update various needles for GTK 4.17
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-12 10:46:36 -08:00
Lukas Ruzicka
d69af30671 Add needle to check running Abrt. 2024-11-06 16:29:08 +01:00
Lukas Ruzicka
a0564f47aa Fix needles for Help-viewer itself. 2024-11-06 16:17:45 +01:00
Lukas Ruzicka
977d491e8b Fix Help needles throughout various applications. 2024-11-05 17:40:36 +01:00
Adam Williamson
11820faa84 Add variant star_selected_file needle for ARM
This looks different on ARM tests, not really sure why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:59:34 +08:00
Adam Williamson
79bad931ce Update getting started needle for F41 final SB
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-30 22:54:50 +08:00
Adam Williamson
9f327ab7a0 Update getting_started needle for GNOME
It rendered slightly differently in a recent test, dunno why.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:08:35 -07:00
Adam Williamson
e2b856c675 Add another variant of the archive-created-with-bad-icon needle
Dunno why this changed again, but now it's grey and with a
slightly different but still wrong icon.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:06:45 -07:00
Adam Williamson
8e974f291a Update a bunch of Maps needles for change in recent Rawhide
It seems Maps now shows an indicator on the map when you search
for a place, which threw off a lot of needles.

Also the place info boxes seem to all be broken, I'll file that
when I get around to it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-21 17:02:37 -07:00
Lukas Ruzicka
eae4ef7a1f Add needles for Silverblue Fonts. 2024-10-17 12:05:53 +02:00
Adam Williamson
11044fe96c Update one gnome_button_delete needle variant
I am honestly not sure exactly when we hit this needle, but we
did at least once, and it's mentioned in the comment in the test.
Huh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-16 17:07:58 -07:00
Lukáš Růžička
04704dc912 Add a needle to match the Pause button on Clocks. 2024-10-16 11:58:15 +02:00
Lukáš Růžička
b1d3fae677 Add a needle for people icons in Chars 2024-10-16 11:18:24 +02:00
Adam Williamson
5ad36cf3c7 Add a needle for a changed PDF file icon in nautilus
It seems to be a bug, see:
https://gitlab.gnome.org/GNOME/evince/-/issues/2051

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-10-10 13:33:44 -07:00
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