[gnome-boxes] tests: File chooser no longer a dialog
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] tests: File chooser no longer a dialog
- Date: Mon, 2 Feb 2015 13:51:01 +0000 (UTC)
commit e534218dde025994174357402d213e181b2320d9
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]