Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/shell.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-11 21:53:17 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-11 21:53:17 (GMT)
commit79ace186f94b906f72eea97d5c79a1fc3bf0154c (patch)
treea0fd86dc695ebe32bc04399ccc65e0cee27695f2 /tests/shell.py
parentd4e6a1f812a5a73f4e3e495a7d2703b038592895 (diff)
Add a sleep before clicking
Apparently if we click immediately sometimes it doesn't work.
Diffstat (limited to 'tests/shell.py')
-rw-r--r--tests/shell.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/shell.py b/tests/shell.py
index c4b3f40..74303a2 100644
--- a/tests/shell.py
+++ b/tests/shell.py
@@ -1,4 +1,5 @@
import sys
+import time
import tree
@@ -37,6 +38,8 @@ def launch_and_stop_activity(activity_name):
if name == activity_name:
print "Launching %s" % activity_name
+ time.sleep(10)
+
icon.click()
print "Stopping %s" % activity_name