trips) add low-priority e2e smoke coverage
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m16s

This commit is contained in:
2026-02-23 00:27:39 +00:00
parent f75465e7f1
commit 9dd4025a81
2 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
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();
});