Files
trips/e2e/evidence-workflow.test.ts
AI Agent 9dd4025a81
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m16s
trips) add low-priority e2e smoke coverage
2026-02-23 00:27:39 +00:00

10 lines
458 B
TypeScript

import { test, expect } from '@playwright/test';
import { TEST_USERS } from './setup/test-users.js';
import { loginAsLocalUser } from './helpers/auth.js';
test('evidence workflow @evidence login to dashboard', async ({ page }) => {
await loginAsLocalUser(page, TEST_USERS.regular.username, TEST_USERS.regular.password);
await expect(page).toHaveURL(/\/trips\/dashboard/);
await expect(page.getByRole('heading', { name: 'Dashboard' })).toBeVisible();
});