[gnome-boxes/wip/automated-tests: 7/10] tests: File chooser no longer a dialog



commit 013e061e4402148eb5405806010383aac9f7cf74
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Feb 2 10:08:16 2015 +0000

    tests: File chooser no longer a dialog
    
    Update test scenario to not look for a separate file chooser dialog.

 tests/steps/creation.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/tests/steps/creation.py b/tests/steps/creation.py
index 0150c2f..05cda19 100644
--- a/tests/steps/creation.py
+++ b/tests/steps/creation.py
@@ -36,10 +36,9 @@ def create_new_vm_via_file(context, location):
     context.app.child('Continue').click()
     context.app.child('Select a file').click()
 
-    selector = context.app.child('Select a device or ISO file')
     for item in path:
-        selector.child(item).click()
-    selector.child('Open').click()
+        context.app.child(item).click()
+    context.app.child('Open').click()
 
 @step('Create new box from url "{url}"')
 def create_new_vm_via_url(context, url):


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