diff --git a/tests/admin_inlines/tests.py b/tests/admin_inlines/tests.py index 8286f10906..07f39c0e85 100644 --- a/tests/admin_inlines/tests.py +++ b/tests/admin_inlines/tests.py @@ -1363,6 +1363,10 @@ class SeleniumTests(AdminSeleniumTestCase): verbose_name in the inline form. """ self.admin_login(username='super', password='secret') + # Hide sidebar. + self.selenium.get(self.live_server_url + reverse('admin:admin_inlines_course_add')) + toggle_button = self.selenium.find_element_by_css_selector('#toggle-nav-sidebar') + toggle_button.click() # Each combination of horizontal/vertical fiter with stacked/tabular # inlines. tests = [