This repository has no description
1import { test, expect } from '@playwright/test';
2
3test('unauthenticated user can access a profile page', async ({ page }) => {
4 const response = await page.goto('/profile/alice.bsky.social');
5
6 expect(response?.status()).toBe(200);
7
8 // Should stay on the profile page and NOT redirect to /login
9 await expect(page).toHaveURL(/\/profile\/alice\.bsky\.social/);
10
11 // Profile header should be visible
12 await expect(page.getByText('@alice.bsky.social')).toBeVisible();
13});