Files
resolutionflow/frontend/e2e/navigation.spec.ts
chihlasm 9061c91c89 fix: align CI tests with current UI text and database naming
Backend conftest.py was hardcoded to patherly_test but CI creates
resolutionflow_test — now reads DATABASE_URL env var first. E2E tests
had stale placeholder text, heading, and landing page assertions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 17:02:19 +00:00

37 lines
980 B
TypeScript

import { expect, test } from '@playwright/test'
test.describe('authenticated navigation smoke tests', () => {
test('dashboard loads for an authenticated user', async ({ page }) => {
await page.goto('/')
await expect(page.getByTestId('app-shell')).toBeVisible()
await expect(
page.getByRole('heading', { name: /Good (morning|afternoon|evening)/ }),
).toBeVisible()
})
test('session history page loads', async ({ page }) => {
await page.goto('/sessions')
await expect(
page.getByRole('heading', { name: 'Sessions' }),
).toBeVisible()
})
test('feedback page loads', async ({ page }) => {
await page.goto('/feedback')
await expect(
page.getByRole('heading', { name: 'Send Feedback' }),
).toBeVisible()
})
test('account settings page loads', async ({ page }) => {
await page.goto('/account')
await expect(
page.getByRole('heading', { name: 'Account Settings' }),
).toBeVisible()
})
})