trips) refresh dashboard header and map
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m9s

This commit is contained in:
2026-02-24 22:19:31 +00:00
parent ebc8f80bb5
commit 94fbd017cb
3 changed files with 876 additions and 45 deletions

View File

@@ -32,6 +32,7 @@ test.beforeEach(async ({ context }) => {
});
test('dashboard surfaces map stops, stats, and trip status', async ({ page }) => {
const screenshotPath = test.info().outputPath('dashboard.png');
const suffix = uniqueSuffix();
const pastStart = formatDate(-18);
const pastEnd = formatDate(-15);
@@ -72,4 +73,6 @@ test('dashboard surfaces map stops, stats, and trip status', async ({ page }) =>
await expect(page.getByTestId('stat-past-trips')).toHaveText('1');
await expect(page.getByTestId('stat-countries')).toHaveText('1');
await page.screenshot({ path: screenshotPath, fullPage: true });
});