Fix integration test

This commit is contained in:
Luke Vella 2025-04-24 11:42:03 +01:00
parent b442c80786
commit 0e0053bb6f
No known key found for this signature in database
GPG key ID: 469CAD687F0D784C

View file

@ -41,10 +41,6 @@ test.describe.serial(() => {
email: TEST_USER_EMAIL,
});
// Step 4: Navigate back to the poll
await page.getByRole("main").getByRole("link", { name: "Polls" }).click();
await expect(page).toHaveURL(/polls/);
await page.click("text=Monthly Meetup");
await expect(page.getByTestId("poll-title")).toHaveText("Monthly Meetup");
});