summaryrefslogtreecommitdiff
diff options
authorFrancis Ginther <francis.ginther@canonical.com>2012-11-19 17:20:03 -0600
committerFrancis Ginther <francis.ginther@canonical.com>2012-11-19 17:20:03 -0600
commit620a759bc753119a715794746c7c1e205a0f1d03 (patch)
treeb233fcf605c0c0cb55608dc2212fc58e6f00a5bf
parent04fe91e77aa297f800fe37e86a3f6544aaa5080f (diff)
Fixed an autopilot dash tests
unity.tests.test_dash.CategoryHeaderTests.test_click_inside_highlight - "Folders" category of files lens does not have enough entries on a freshly installed system to enable expansion. Switch to "Installed" category on application lens. (bzr r2912.1.1)
-rw-r--r--tests/autopilot/unity/tests/test_dash.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/autopilot/unity/tests/test_dash.py b/tests/autopilot/unity/tests/test_dash.py
index e061a6e91..9f2c55f13 100644
--- a/tests/autopilot/unity/tests/test_dash.py
+++ b/tests/autopilot/unity/tests/test_dash.py
@@ -664,10 +664,10 @@ class CategoryHeaderTests(DashTestCase):
"""Clicking into a category highlight must expand/collapse
the view.
"""
- lens = self.dash.reveal_file_lens()
+ lens = self.dash.reveal_application_lens()
self.addCleanup(self.dash.ensure_hidden)
- category = lens.get_category_by_name(_("Folders"))
+ category = lens.get_category_by_name(_("Installed"))
is_expanded = category.is_expanded
self.mouse.move(self.dash.view.x + self.dash.view.width / 2,