=== modified file tests/autopilot/music_app/__init__.py
--- tests/autopilot/music_app/__init__.py 2015-05-03 16:00:47 +0000
+++ tests/autopilot/music_app/__init__.py 2015-05-04 13:51:29 +0000
@@ -48,8 +48,7 @@
def __init__(self, app_proxy):
self.app = app_proxy
- self.main_view = self.app.wait_select_single(MainView12,
- objectName="music")
+ self.main_view = self.app.wait_select_single(objectName="music")
self.player = self.app.select_single(Player, objectName='player')
def get_add_to_playlist_page(self):
@@ -138,7 +137,7 @@
super(Page, self).__init__(*args)
# XXX we need a better way to keep reference to the main view.
# --elopio - 2014-01-31
- self.main_view = self.get_root_instance().select_single(MainView12)
+ self.main_view = self.get_root_instance().select_single(objectName="music")
class MusicPage(Page):
@@ -433,19 +432,15 @@
"Button", objectName="removePlaylistDialogRemoveButton")
-class MainView12(MainView):
+class MainView(MainView):
"""Autopilot custom proxy object for the MainView."""
retry_delay = 0.2
def __init__(self, *args):
- super(MainView12, self).__init__(*args)
+ super(MainView, self).__init__(*args)
self.visible.wait_for(True)
# wait for activity indicator to stop spinning
spinner = self.wait_select_single("ActivityIndicator",
objectName="LoadingSpinner")
spinner.running.wait_for(False)
-
- @classmethod
- def validate_dbus_object(cls, path, state):
- return False