fix: duplicate event types (#14007)

* fix: duplicate event types

* test: add test for duplicate event type

* fix: type error

* chore: pass error message

---------

Co-authored-by: Erik <[email protected]>
This commit is contained in:
Udit TakkarandErik authored and GitHub committed 2024-03-07 16:34:42 +00:00
1 parent 5c8e0483b1
commit 7d497a621f
5 files changed
+31 -7

No files matched your search

+4
View File
@@ -107,6 +107,10 @@ testBothFutureAndLegacyRoutes.describe("Event Types tests", () => {
expect(formTitle).toBe(firstTitle);
expect(formSlug).toContain(firstSlug);
const test = await page.getByTestId("continue").click();
const toast = await page.waitForSelector('[data-testid="toast-success"]');
expect(toast).toBeTruthy();
});
test("edit first event", async ({ page }) => {