fix(i18n): render consent banner inside NextIntl provider

Move ConsentBanner rendering into the locale layout so next-intl context is always available (prevents missing provider errors).

fix(activity-feed): use dark styling for disabled state

Avoid white disabled cards so the feed never appears as a white/transparent block after reload.

test(e2e): assert nav text changes on locale switch

Strengthen i18n test to verify translated labels.

Co-authored-by: dennis <dennis@konkol.net>
This commit is contained in:
Cursor Agent
2026-01-14 16:09:22 +00:00
parent 9082bd256a
commit 9364b44196
5 changed files with 20 additions and 13 deletions

View File

@@ -7,8 +7,14 @@ test.describe("i18n routing", () => {
// Buttons are "EN"/"DE" in the header
const deButton = page.getByRole("button", { name: "DE" });
if (await deButton.count()) {
// Verify an EN label is present before switching (nav.home)
await expect(page.getByRole("link", { name: "Home" })).toBeVisible();
await deButton.click();
await expect(page).toHaveURL(/\/de(\/|$)/);
// Verify the nav label updates after switching
await expect(page.getByRole("link", { name: "Start" })).toBeVisible();
} else {
test.skip();
}