Skip to content

Commit ed84b5c

Browse files
committed
getByRole first
1 parent 8a1232e commit ed84b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/community-events.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test("map loads and Zurich meetup link works", async ({ page }) => {
2828
// Find the scrollview container with past events and meetups
2929

3030
// Find the Zurich meetup card in the scrollable list (not the map popup)
31-
const link = page.getByText(/Zurich/i).first()
31+
const link = page.getByRole("link", { name: /Zurich/i }).first()
3232
await link.scrollIntoViewIfNeeded()
3333
await link.click()
3434

0 commit comments

Comments
 (0)