diff --git a/src/functional_tests/test_dashboard.py b/src/functional_tests/test_dashboard.py index c6564aa..94827be 100644 --- a/src/functional_tests/test_dashboard.py +++ b/src/functional_tests/test_dashboard.py @@ -119,6 +119,9 @@ class DashboardMaintenanceTest(FunctionalTest): class AppletMenuDismissTest(FunctionalTest): def setUp(self): super().setUp() + # Portrait viewport: sidebars don't activate, h2 sits safely above + # #id_dash_content and can't be obscured by it regardless of font metrics. + self.browser.set_window_size(800, 1200) Applet.objects.get_or_create(slug="username", defaults={"name": "Username"}) Applet.objects.get_or_create(slug="palette", defaults={"name": "Palette"}) self.create_pre_authenticated_session("discoman@example.com")