test(e2e): align web specs with current app routes
This commit is contained in:
@@ -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',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user