diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-09 18:47:57 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-09 18:47:57 +0100 |
| commit | c00a4775106bc5927c821f5359ec265c318d73ec (patch) | |
| tree | 81f3ca5025b1db812bf469bf8db4c51434cd80f9 /tests/test_frontend.py | |
| parent | 47421647d7d08919d28660a2b2201e0d1d704c18 (diff) | |
| download | deck-it-c00a4775106bc5927c821f5359ec265c318d73ec.tar.gz deck-it-c00a4775106bc5927c821f5359ec265c318d73ec.zip | |
feat: browser-local panel move and resize
Diffstat (limited to 'tests/test_frontend.py')
| -rw-r--r-- | tests/test_frontend.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_frontend.py b/tests/test_frontend.py index cdd31fc..4f8392b 100644 --- a/tests/test_frontend.py +++ b/tests/test_frontend.py @@ -74,6 +74,13 @@ class Frontend(unittest.TestCase): for name in names: self.assert_panel(name) + def test_layout_is_browser_local(self): + status, body = self.get("/app.js") + self.assertEqual(status, 200) + text = body.decode() + for part in ("localStorage", "deckit.layout", "drag-handle", "resize-handle", "wide"): + self.assertIn(part, text) + if __name__ == "__main__": unittest.main() |
