diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-12 13:12:15 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-11-12 13:12:15 (GMT) |
commit | ab56e1fe5cc1fc40d7fc3db3ef5ebad083b0cff9 (patch) | |
tree | fa489a54c6439d282a6dd4a7619f6d572d9cc45f /tests | |
parent | 225625bcf34c80b3c6b7c80ca8f1360451a417b9 (diff) |
Close the gcr prompter
Diffstat (limited to 'tests')
-rw-r--r-- | tests/shell.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/shell.py b/tests/shell.py index 8beef1c..c02b5f5 100644 --- a/tests/shell.py +++ b/tests/shell.py @@ -60,6 +60,12 @@ def go_to_list_view(): done_button = shell.find_child(name="Done", role_name="push button") done_button.do_action("click") + gcr_prompter = root.find_child(name="gcr-prompter", role_name="application") + if gcr_prompter: + cancel_button = gcr_prompter.find_child(name="Cancel", + role_name="push button") + cancel_button.do_action("click") + radio_button = shell.find_child(name="List view", role_name="radio button") radio_button.do_action("click") |