Skip to content

Commit 5147d4d

Browse files
committed
Remove redundant line from test
1 parent 49afd64 commit 5147d4d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/e2e/community-events.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ test("Zurich meetup link works", async ({ page }) => {
1515
})
1616
.toBe(true)
1717

18-
const mapContainer = page.locator("#meetups-map")
19-
await mapContainer.focus()
20-
21-
const pastEventsSection = page.locator("text=Past events & meetups")
18+
const pastEventsSection = page.getByText("Past events & meetups")
2219
await pastEventsSection.scrollIntoViewIfNeeded()
2320

2421
const link = page.getByRole("link", { name: /Zurich/i }).first()

0 commit comments

Comments
 (0)