1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-22 05:53:09 +00:00
os-autoinst-distri-fedora/tests/applications
Adam Williamson 0f781bdaf2 Robustify the scrolling in the Help app test
This keeps failing on the accessibility section, and looking at
the screenshots I realized why. When you press 'down', GNOME
doesn't just 'snap' to the new view, it does a smooth downward
scroll. We're often matching *while it's scrolling*, so the
needle match is right at the bottom of the screen. But then the
animation continues, so when we get to the click action (even
though we use click_lastmatch it's not *instant* in openQA),
the thing we're trying to click (the "Accessibility" section
title) is a bit further up the screen, and the click 'misses'.

So, we need to wait out the scroll then re-assert and click.
This unfortunately will make the test take about 30 seconds
longer, but I don't see another way to do it. We could maybe
shave the wait_still_screen to one second...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-05-02 09:37:02 -07:00
..
archiver Create a test case for Archiver. 2022-09-22 08:59:07 +02:00
calculator Calculator: drop the switch to basic mode 2023-04-04 09:14:14 -07:00
characters tidy a recent change to characters test 2023-04-06 12:58:48 -07:00
clocks Tweak Clocks world clock test removal loop to be more robust 2022-08-16 10:05:26 -04:00
contacts Contacts test: wait before maximizing 2023-03-30 09:28:40 -07:00
eog Rationalize GNOME credit button handling 2022-08-08 18:24:57 -07:00
evince Make evince test handle #2183356 (wrong save target on flatpak) 2023-03-30 16:25:08 -07:00
fonts Create test suite for Fonts. 2023-03-28 15:58:16 -07:00
gnome-panel Handle app appearing before access request in gnome-panel test 2023-04-22 11:03:00 -07:00
gnome-text-editor Revert GTK focus bug workarounds 2022-11-02 11:03:02 -07:00
help Robustify the scrolling in the Help app test 2023-05-02 09:37:02 -07:00
maps Maps: handle app UI showing briefly before the access prompt 2023-03-17 09:19:35 -07:00
nautilus nautilus delete_file: correct name of second file 2023-04-11 11:15:05 -07:00
sysmon Create the test for system monitor. 2022-10-10 15:14:21 +02:00
weather Weather: handle app UI showing briefly before the access prompt 2023-03-24 11:42:19 -07:00