import { expect, test } from '@playwright/test'; test.describe('Subscription route guard', () => { test('redirects anonymous users to login', async ({ page }) => { await page.goto('/subscription'); await expect(page).toHaveURL(/\/login/); }); });