diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-09 19:14:30 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-09 19:14:30 +0100 |
| commit | ffd2799fafa1a34c3b75b9cb8f7f18ef58b309d4 (patch) | |
| tree | 21ab542297160755f9280236e26875fb3680d780 /tests | |
| parent | 15e384bc1d97c84df0545555bf4c298702c9eacb (diff) | |
| download | deck-it-ffd2799fafa1a34c3b75b9cb8f7f18ef58b309d4.tar.gz deck-it-ffd2799fafa1a34c3b75b9cb8f7f18ef58b309d4.zip | |
feat: tabbed layout with OBS as an icon-forward stream-deck
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_frontend.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_frontend.py b/tests/test_frontend.py index cb85f9a..0005d6c 100644 --- a/tests/test_frontend.py +++ b/tests/test_frontend.py @@ -78,6 +78,14 @@ class Frontend(unittest.TestCase): for name in names: self.assert_panel(name) + def test_tabbed_shell(self): + self.assertIn(b'id="tabs"', self.get("/")[1]) + self.assertIn(b'id="tab-body"', self.get("/")[1]) + app = self.get("/app.js")[1] + for part in (b"deckit.tab", b"ensureTab", b"showTab"): + self.assertIn(part, app) + self.assertIn(b'tab: "OBS"', self.get("/modules/obs.js")[1]) + def test_layout_is_browser_local(self): status, body = self.get("/app.js") self.assertEqual(status, 200) |
