Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell.py')
-rw-r--r--tests/shell.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/shell.py b/tests/shell.py
new file mode 100644
index 0000000..e6091e8
--- /dev/null
+++ b/tests/shell.py
@@ -0,0 +1,11 @@
+from dogtail import tree
+
+shell = tree.root.child(name="sugar-session", roleName="application")
+
+# Complete the intro screen
+done_button = shell.child(name="Done", roleName="push button")
+done_button.click()
+
+# Switch to the home list view
+radio_button = shell.child(name="List view", roleName="radio button")
+radio_button.click()