Add test for guest to logged in user migration (#1544)

This commit is contained in:
Luke Vella 2025-02-03 19:18:02 +07:00 committed by GitHub
parent 5abea1e072
commit d4b6879a41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 64 additions and 11 deletions

View file

@ -15,7 +15,7 @@ test.describe.serial(() => {
test("create a new poll", async () => {
const newPollPage = new NewPollPage(page);
await newPollPage.createPollAndCloseDialog();
await newPollPage.createPollAndCloseDialog({ name: "Monthly Meetup" });
await expect(page.getByTestId("poll-title")).toHaveText("Monthly Meetup");
});