trips) add low-priority e2e smoke coverage (#46)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 2m28s

Reviewed-on: #46
Co-authored-by: AI Agent <ai-agent@campbellwireless.net>
Co-committed-by: AI Agent <ai-agent@campbellwireless.net>
This commit was merged in pull request #46.
This commit is contained in:
2026-02-23 00:48:21 +00:00
committed by shaun
parent f75465e7f1
commit d43889c7b0
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();
});