[gnome-boxes] tests: Selection menu



commit 03a5fad432636beda21b7321bf74cefa155582a8
Author: Vladimir Benes <benesv email cz>
Date:   Wed May 27 13:43:22 2015 +0200

    tests: Selection menu
    
    Add test scenario for box selection using select all/none/running
    menu items.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747777

 tests/general.feature |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/tests/general.feature b/tests/general.feature
index 6c4faec..5f6bc19 100644
--- a/tests/general.feature
+++ b/tests/general.feature
@@ -123,6 +123,36 @@ Feature: General
     Then Box "Core-5 2" "does" exist
     Then Box "Core-5" "does" exist
 
+  @selections
+  Scenario: Selection menu
+    * Initiate new box "Core-5" installation
+    * Initiate new box "Core-5 2" installation from "Core-5" menuitem
+    * Initiate new box "Core-5 3" installation from "Core-5" menuitem
+    * Select "Core-5 2" box
+    * Select "Core-5 3" box
+    * Press "Pause"
+    * Wait for "sleep 2" end
+    * Press "Select Items"
+    * Press "(Click on items to select them)"
+    * Press "Select All"
+    * Press "3 selected"
+    * Press "Select None"
+    * Press "(Click on items to select them)"
+    * Press "Select Running"
+    * Press "Delete"
+    * Close warning
+    Then Box "Core-5" "does not" exist
+    Then Box "Core-5 2" "does" exist
+    Then Box "Core-5 3" "does" exist
+    * Press "Select Items"
+    * Press "(Click on items to select them)"
+    * Press "Select All"
+    * Press "Delete"
+    * Close warning
+    Then Box "Core-5" "does not" exist
+    Then Box "Core-5 2" "does not " exist
+    Then Box "Core-5 3" "does not" exist
+
 ### TBD ###
   # local_machine_paused_after_quit
   # detach_from_system_broker


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