/** * Epic 1: Authentication & User Management * Acceptance Test: Password Reset * * User Story: As a user who forgot my password, I want to reset it so that I can regain access * * Acceptance Criteria: * - "Forgot password" link on login page * - Email input for reset request * - Unique token generation (expires in 1 hour) * - Email with reset link * - Password update form with validation * * NOTE: Password reset is not yet implemented in the application. * This test verifies the UI exists but the functionality is a placeholder. */ import { test, expect } from '@playwright/test'; test.describe.skip('Epic 1: Password Reset (Not Implemented)', () => { test('Forgot password link exists on login page', async ({ page }) => { await page.goto('http://localhost:3000/auth/login'); // Check for forgot password link await expect(page.locator('a[href*="password-reset"]')).toBeVisible(); await expect(page.locator('a[href*="password-reset"]')).toContainText('Forgot'); }); test('Password reset page exists but is not functional', async ({ page }) => { // Note: The link exists but the page may not be implemented // This test documents the current state await page.goto('http://localhost:3000/auth/password-reset'); // Check if page loads (may show "not implemented" message) await expect(page.locator('body')).toBeVisible(); }); });