Expand tests with E2E coverage

This commit is contained in:
Jack Kingsman
2026-02-28 00:13:51 -08:00
parent ce99d63701
commit 60c0262490
16 changed files with 861 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
import { test, expect } from '@playwright/test';
test.describe('Node Map page', () => {
test('node map page loads', async ({ page }) => {
await page.goto('/#map');
// Verify heading (also appears in sidebar, so scope to main)
await expect(page.getByRole('main').getByText('Node Map')).toBeVisible({ timeout: 10_000 });
// Verify legend elements
await expect(page.getByText('<1h')).toBeVisible();
await expect(page.getByText('<1d')).toBeVisible();
});
});