-
+exports[`can be rendered (in home menu, no app) 1`] = `
+"
+
+
+
"
+`;
+
+exports[`can be rendered (in home menu, one active app) 1`] = `
+"
"
`;
diff --git a/web/static/tests/widgets/__snapshots__/root.test.ts.snap b/web/static/tests/widgets/__snapshots__/root.test.ts.snap
index 4fcb1719..70a40fe9 100644
--- a/web/static/tests/widgets/__snapshots__/root.test.ts.snap
+++ b/web/static/tests/widgets/__snapshots__/root.test.ts.snap
@@ -3,7 +3,7 @@
exports[`can be rendered (in home menu) 1`] = `
"
diff --git a/web/static/tests/widgets/navbar.test.ts b/web/static/tests/widgets/navbar.test.ts
index 8f499aa2..a76fcbea 100644
--- a/web/static/tests/widgets/navbar.test.ts
+++ b/web/static/tests/widgets/navbar.test.ts
@@ -34,7 +34,15 @@ afterEach(() => {
// Tests
//------------------------------------------------------------------------------
-test("can be rendered", async () => {
+test("can be rendered (in home menu, no app)", async () => {
+ props.inHome = true;
+ const navbar = new Navbar(env, props);
+ await navbar.mount(fixture);
+ expect(fixture.innerHTML).toMatchSnapshot();
+});
+
+test("can be rendered (in home menu, one active app)", async () => {
+ props = { inHome: true, app: menuInfo.menus[96]! };
const navbar = new Navbar(env, props);
await navbar.mount(fixture);
expect(fixture.innerHTML).toMatchSnapshot();