Compare commits

..

2 Commits

Author SHA1 Message Date
Disco DeDisco
99a826f6c9 FT: pin AppletMenuDismissTest to portrait viewport (800×1200)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Landscape layout activates sidebar CSS which causes #id_dash_content to
overlap the base-template h2 in CI headless Firefox, triggering
ElementClickInterceptedException. Portrait viewport sidesteps all
landscape breakpoints so the h2 sits safely above #id_dash_content.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 01:26:35 -04:00
Disco DeDisco
51fe2614fa overruling other scss specificity in .btn-disabled 2026-04-07 00:43:26 -04:00
2 changed files with 4 additions and 0 deletions

View File

@@ -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")

View File

@@ -288,6 +288,7 @@
&.btn-disabled {
cursor: default !important;
pointer-events: none;
font-size: 1.2rem;
padding-bottom: 0.1rem;
color: rgba(var(--secUser), 0.25) !important;