diff --git a/src/webapp/app/(dashboard)/url/page.tsx b/src/webapp/app/(dashboard)/url/page.tsx index d801ed56..4bfd054f 100644 --- a/src/webapp/app/(dashboard)/url/page.tsx +++ b/src/webapp/app/(dashboard)/url/page.tsx @@ -7,13 +7,21 @@ import { Suspense } from 'react'; import SembleContainerSkeleton from '@/features/semble/containers/sembleContainer/Skeleton.SembleContainer'; interface Props { - searchParams: Promise<{ id: string | undefined; viaCardId?: string; sembleTab?: string }>; + searchParams: Promise<{ + id: string | undefined; + viaCardId?: string; + sembleTab?: string; + }>; } export async function generateMetadata({ searchParams, }: { - searchParams: Promise<{ id: string | undefined; viaCardId?: string; sembleTab?: string }>; + searchParams: Promise<{ + id: string | undefined; + viaCardId?: string; + sembleTab?: string; + }>; }): Promise { const { id: url } = await searchParams; diff --git a/src/webapp/e2e/auth-redirect.spec.ts b/src/webapp/e2e/auth-redirect.spec.ts index 93086d94..2b54df8d 100644 --- a/src/webapp/e2e/auth-redirect.spec.ts +++ b/src/webapp/e2e/auth-redirect.spec.ts @@ -7,12 +7,7 @@ import { test, expect } from '@playwright/test'; * /settings/* and /profile (bare) redirect via the client-side useAuth fallback. */ -const protectedRoutes = [ - '/home', - '/notifications', - '/settings', - '/profile', -]; +const protectedRoutes = ['/home', '/notifications', '/settings', '/profile']; for (const route of protectedRoutes) { test(`unauthenticated ${route} redirects to /login`, async ({ page }) => { diff --git a/src/webapp/e2e/landing-page.spec.ts b/src/webapp/e2e/landing-page.spec.ts index 36238886..bc4efb49 100644 --- a/src/webapp/e2e/landing-page.spec.ts +++ b/src/webapp/e2e/landing-page.spec.ts @@ -25,22 +25,15 @@ test.describe('Landing page', () => { }); test('renders community highlights section', async ({ page }) => { - await expect( - page.getByText('Highlights from our community'), - ).toBeVisible(); + await expect(page.getByText('Highlights from our community')).toBeVisible(); - await expect( - page.getByRole('link', { name: 'Explore' }), - ).toBeVisible(); + await expect(page.getByRole('link', { name: 'Explore' })).toBeVisible(); }); - test('renders footer with social and doc links', async ({ page }) => { await expect( page.getByRole('link', { name: 'Follow our blog' }), ).toBeVisible(); - await expect( - page.getByRole('link', { name: 'Semble Docs' }), - ).toBeVisible(); + await expect(page.getByRole('link', { name: 'Semble Docs' })).toBeVisible(); }); });