aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_frontend.py
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-09 19:15:32 +0100
committerDanilo M. <danix@danix.xyz>2026-11-09 19:15:32 +0100
commit796407233383e7bf4825f671d84fbe71279488a6 (patch)
treee1ef60cf3094bc36ab8e8494a46ed4dcfad0c2c6 /tests/test_frontend.py
parentffd2799fafa1a34c3b75b9cb8f7f18ef58b309d4 (diff)
downloaddeck-it-796407233383e7bf4825f671d84fbe71279488a6.tar.gz
deck-it-796407233383e7bf4825f671d84fbe71279488a6.zip
fix: scope music and build panels so their layouts apply
Diffstat (limited to 'tests/test_frontend.py')
-rw-r--r--tests/test_frontend.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_frontend.py b/tests/test_frontend.py
index 0005d6c..517c674 100644
--- a/tests/test_frontend.py
+++ b/tests/test_frontend.py
@@ -78,6 +78,10 @@ class Frontend(unittest.TestCase):
for name in names:
self.assert_panel(name)
+ def test_panels_have_their_scoped_wrapper(self):
+ self.assertIn(b'class="music"', self.get("/modules/music.js")[1])
+ self.assertIn(b'class="sbb"', self.get("/modules/sbbuilder.js")[1])
+
def test_tabbed_shell(self):
self.assertIn(b'id="tabs"', self.get("/")[1])
self.assertIn(b'id="tab-body"', self.get("/")[1])