···11+import { test, expect } from '@playwright/test';
22+33+test('unauthenticated user can access a profile page', async ({ page }) => {
44+ const response = await page.goto('/profile/alice.bsky.social');
55+66+ expect(response?.status()).toBe(200);
77+88+ // Should stay on the profile page and NOT redirect to /login
99+ await expect(page).toHaveURL(/\/profile\/alice\.bsky\.social/);
1010+1111+ // Profile header should be visible
1212+ await expect(page.getByText('@alice.bsky.social')).toBeVisible();
1313+});