This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

semble / src / webapp / e2e / profile-public-access.spec.ts
476 B 13 lines
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});