Allow users to customize poll behaviour (#785)

This commit is contained in:
Luke Vella 2023-07-25 17:24:45 +01:00 committed by GitHub
parent 14cfa2bd50
commit b1e3f63a2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 1361 additions and 1042 deletions

View file

@ -23,11 +23,11 @@ test.describe.serial(() => {
await expect(page.getByTestId("poll-title")).toHaveText("Monthly Meetup");
const { email } = await mailServer.captureOne("john.doe@example.com", {
wait: 5000,
});
// const { email } = await mailServer.captureOne("john.doe@example.com", {
// wait: 5000,
// });
expect(email.headers.subject).toBe("Let's find a date for Monthly Meetup");
// expect(email.headers.subject).toBe("Let's find a date for Monthly Meetup");
});
// delete the poll we just created
@ -41,6 +41,6 @@ test.describe.serial(() => {
deletePollDialog.getByRole("button", { name: "delete" }).click();
await page.waitForURL("/polls");
await expect(page).toHaveURL("/polls");
});
});