trips) refresh dashboard header and map
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m9s
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m9s
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user