test: update M7 selector for journal-post.is-highlighted
This commit is contained in:
@@ -89,6 +89,6 @@ test('M7: clicking map marker briefly highlights the corresponding entry card',
|
||||
// Click the first marker
|
||||
await page.locator('.maplibregl-marker').first().click();
|
||||
|
||||
// Within 500ms of click + delay, one entry-card should have is-highlighted
|
||||
await expect(page.locator('.entry-card.is-highlighted')).toBeVisible({ timeout: 1500 });
|
||||
// Within 500ms of click + delay, one journal-post should have is-highlighted
|
||||
await expect(page.locator('.journal-post.is-highlighted')).toBeVisible({ timeout: 1500 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user