trips) add low-priority e2e smoke coverage
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m16s
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m16s
This commit is contained in:
9
e2e/evidence-workflow.test.ts
Normal file
9
e2e/evidence-workflow.test.ts
Normal 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();
|
||||
});
|
||||
Reference in New Issue
Block a user