Files
resolutionflow/frontend/e2e/navigation.spec.ts
Michael Chihlas b544a7a462
All checks were successful
Mirror to GitHub / mirror (push) Successful in 7s
CI / frontend (pull_request) Successful in 5m14s
CI / backend (pull_request) Successful in 9m57s
CI / e2e (pull_request) Successful in 10m21s
test(e2e): update account page heading assertion to match redesign
8612042 dropped the static "Account Management" heading in favor of the
account name (rendered as a dynamic h1). Switch the smoke test to the
"Settings" SectionLabel — a stable h2 that survives the redesign.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-06 18:54:53 -04:00

37 lines
992 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: 'Session History', exact: true }),
).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: 'Settings' }),
).toBeVisible()
})
})