From 7f031ac1ce6c57d3c84a6de82f9c91cf800da214 Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Thu, 20 Aug 2026 18:15:30 +0200 Subject: [PATCH] test(web): update app.spec.ts for the now-enabled Inventar nav button --- apps/web/src/app/app.spec.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/web/src/app/app.spec.ts b/apps/web/src/app/app.spec.ts index 4dd3f38..2ac7b75 100644 --- a/apps/web/src/app/app.spec.ts +++ b/apps/web/src/app/app.spec.ts @@ -56,7 +56,14 @@ describe('App', () => { expect(huntButton?.getAttribute('aria-current')).toBeNull(); expect(huntButton?.getAttribute('aria-label')).toBe('Jagd'); - for (const destination of ['quests', 'inventory', 'character']) { + const inventoryButton = element.querySelector( + '[data-navigation="inventory"]', + ); + expect(inventoryButton).not.toBeNull(); + expect(inventoryButton?.disabled).toBe(false); + expect(inventoryButton?.getAttribute('aria-label')).toBe('Inventar'); + + for (const destination of ['quests', 'character']) { expect( element.querySelector(`[data-navigation="${destination}"]`)?.disabled, ).toBe(true);