mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-23 11:17:26 +02:00
💬 Update submit button text (#522)
This commit is contained in:
parent
584fc85297
commit
d66663a1f1
4 changed files with 4 additions and 3 deletions
|
@ -62,6 +62,7 @@
|
|||
"logout": "Logout",
|
||||
"manage": "Manage",
|
||||
"menu": "Menu",
|
||||
"submit": "Submit",
|
||||
"mixedOptionsDescription": "You can't have both time and date options in the same poll. Which would you like to keep?",
|
||||
"mixedOptionsKeepDates": "Keep date options",
|
||||
"mixedOptionsKeepTimes": "Keep time options",
|
||||
|
|
|
@ -143,7 +143,7 @@ export const NewParticipantModal = (props: NewParticipantModalProps) => {
|
|||
type="primary"
|
||||
loading={formState.isSubmitting}
|
||||
>
|
||||
{t("save")}
|
||||
{t("submit")}
|
||||
</Button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -14,7 +14,7 @@ test("should be able to vote and comment on a poll", async ({ page }) => {
|
|||
await page.getByText("Continue").click();
|
||||
|
||||
await page.getByPlaceholder("Jessie Smith").type("Test user");
|
||||
await page.getByText("Save").click();
|
||||
await page.getByText(/^Submit$/).click();
|
||||
|
||||
await expect(page.locator("data-testid=user")).toBeVisible();
|
||||
await expect(
|
||||
|
|
|
@ -18,7 +18,7 @@ test("should be able to vote and comment on a poll", async ({ page }) => {
|
|||
await page.click("button >> text='Continue'");
|
||||
|
||||
await page.type('[placeholder="Jessie Smith"]', "Test user");
|
||||
await page.click("text='Save'");
|
||||
await page.click("text='Submit'");
|
||||
|
||||
await expect(page.locator("text='Test user'")).toBeVisible();
|
||||
await expect(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue