Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
💄 Use "Create poll" for the submit button on the new poll page (#2975)
Luke Vellab6830257979a
diff --git a/apps/web/src/features/poll/components/create-poll.tsx b/apps/web/src/features/poll/components/create-poll.tsxindex 6474e5727..af684cb80 100644--- a/apps/web/src/features/poll/components/create-poll.tsx+++ b/apps/web/src/features/poll/components/create-poll.tsx@@ -116,7 +116,7 @@ const CreatePollActions = ({{form.formState.isSubmitting ? (<Trans i18nKey="createPollFooterCreating" defaults="Creating…" />) : (- <Trans i18nKey="create" defaults="Create" />+ <Trans i18nKey="createPoll" defaults="Create poll" />)}</Button>);diff --git a/apps/web/tests/new-poll-page.ts b/apps/web/tests/new-poll-page.tsindex 5a34e50ed..b3b63b0a9 100644--- a/apps/web/tests/new-poll-page.ts+++ b/apps/web/tests/new-poll-page.ts@@ -64,7 +64,7 @@ export class NewPollPage {await page.getByRole("switch", { name: /comments/i }).click();}- await page.getByRole("button", { name: /^create$/i }).click();+ await page.getByRole("button", { name: /^create poll$/i }).click();const successDialog = new CreatePollSuccessDialog(page);await successDialog.dialog.waitFor({ state: "visible" });