1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 02:13:08 +00:00

nautilus: check app started *before* trying to fullscreen it

Seems to make a lot more sense this way around.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-11-29 09:41:47 -08:00
parent 1429e5b1c8
commit 137f2a2176

View File

@ -25,14 +25,13 @@ sub run {
# Start the application
menu_launch_type("nautilus");
# Check that is started
assert_screen 'apps_run_files';
wait_still_screen("2");
# Fullsize the Nautilus window.
wait_screen_change { send_key("super-up"); };
# Check that is started
assert_screen 'apps_run_files';
# Click to change the Directory view to listings.
assert_and_click("nautilus_toggle_view", timeout => '30', button => 'left', mousehide => '1');