From ab56e1fe5cc1fc40d7fc3db3ef5ebad083b0cff9 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Mon, 12 Nov 2012 13:12:15 +0000 Subject: Close the gcr prompter --- (limited to 'tests') 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") -- cgit v0.9.1