[openqa-tests/sam/apps-2] tests/app_gnome_connections.pm: Close the 'Welcome' popup



commit 0e892910c0f52d653bcfb07eba27e52087643e28
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Mon Oct 10 17:59:42 2022 +0200

    tests/app_gnome_connections.pm: Close the 'Welcome' popup
    
    Otherwise, the alt-f4 sent by close_app() only seems to close the popup
    and the app stays open during the following tests.

 tests/app_gnome_connections.pm | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/tests/app_gnome_connections.pm b/tests/app_gnome_connections.pm
index 9af72f8..bc49557 100644
--- a/tests/app_gnome_connections.pm
+++ b/tests/app_gnome_connections.pm
@@ -7,6 +7,10 @@ use gnomeutils;
 sub run {
     start_app('gnome-connections');
     assert_screen('app_gnome_connections_home', 10);
+
+    # Close the "Welcome to Connections" popup
+    send_key("esc")
+
     close_app;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]