Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/sugar/shell.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sugar/shell.py b/tests/sugar/shell.py
index 94059bc..7be2abe 100644
--- a/tests/sugar/shell.py
+++ b/tests/sugar/shell.py
@@ -10,7 +10,7 @@ ACTIVITIES_WITH_OBJECT_CHOOSER = ["Read", "Jukebox"]
def build_activities_list():
root = tree.get_root()
- shell = root.find_child(name="sugar-session", role_name="application")
+ shell = root.find_child(name="main.py", role_name="application")
activities = []
@@ -30,7 +30,7 @@ def launch_and_stop_activity(activity_name):
logging.info("Launching %s" % activity_name)
root = tree.get_root()
- shell = root.find_child(name="sugar-session", role_name="application")
+ shell = root.find_child(name="main.py", role_name="application")
table = shell.find_child(role_name="table")
cells = table.find_children(role_name="table cell")
@@ -65,7 +65,7 @@ def launch_and_stop_activity(activity_name):
def go_to_list_view():
root = tree.get_root()
- shell = root.find_child(name="sugar-session", role_name="application")
+ shell = root.find_child(name="main.py", role_name="application")
done_button = shell.find_child(name="Done", role_name="push button")
done_button.do_action("click")