diff --git a/test/shed_functional/base/twilltestcase.py b/test/shed_functional/base/twilltestcase.py index 0e333731a5a..dfea88bbb60 100644 --- a/test/shed_functional/base/twilltestcase.py +++ b/test/shed_functional/base/twilltestcase.py @@ -523,10 +523,8 @@ class ShedTwillTestCase(FunctionalTestCase): self.check_for_strings(strings_displayed, strings_not_displayed) def browse_tool_shed(self, url, strings_displayed=None, strings_not_displayed=None): - params = { - 'tool_shed_url': url - } - self.visit_galaxy_url('/admin_toolshed/browse_tool_shed', params=params) + url = '/repository/browse_valid_categories' + self.visit_url(url) self.check_for_strings(strings_displayed, strings_not_displayed) def browse_tool_dependencies(self, strings_displayed=None, strings_not_displayed=None): diff --git a/test/shed_functional/functional/test_1000_install_basic_repository.py b/test/shed_functional/functional/test_1000_install_basic_repository.py index 56c0fe593b3..e44f61a2fcf 100644 --- a/test/shed_functional/functional/test_1000_install_basic_repository.py +++ b/test/shed_functional/functional/test_1000_install_basic_repository.py @@ -68,6 +68,11 @@ class BasicToolShedFeatures(ShedTwillTestCase): strings_displayed=[], strings_not_displayed=[]) + def test_0010_browse_tool_sheds(self): + """Browse the available tool sheds in this Galaxy instance.""" + self.galaxy_login(email=common.admin_email, username=common.admin_username) + self.browse_tool_shed(url=self.url, strings_displayed=['Test 0000 Basic Repository Features 1', 'Test 0000 Basic Repository Features 2']) + def test_0015_browse_test_0000_category(self): '''Browse the category created in test 0000. It should contain the filtering_0000 repository also created in that test.''' category = self.test_db_util.get_category_by_name('Test 0000 Basic Repository Features 1')