This repository has no description
0

Configure Feed

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

test: check if profiles are visible to unathenticate users

+13
+13
src/webapp/e2e/profile-public-access.spec.ts
··· 1 + import { test, expect } from '@playwright/test'; 2 + 3 + test('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 + });