test(e2e): align web specs with current app routes

This commit is contained in:
Ho Ngoc Hai
2026-05-04 20:11:09 +07:00
parent f112045826
commit 39156fc107
21 changed files with 334 additions and 458 deletions

View File

@@ -125,10 +125,9 @@ test.describe('Search Page', () => {
await page.goto('/search');
await page.getByRole('button', { name: /Bản đồ/i }).click();
// Map view should be active — list results should not be visible
await expect(page.getByRole('button', { name: /Bản đồ/i })).toHaveAttribute(
'data-state',
/.*/,
'aria-pressed',
'true',
);
});