aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_frontend.py8
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)