mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-25 20:27:44 +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",
|
"logout": "Logout",
|
||||||
"manage": "Manage",
|
"manage": "Manage",
|
||||||
"menu": "Menu",
|
"menu": "Menu",
|
||||||
|
"submit": "Submit",
|
||||||
"mixedOptionsDescription": "You can't have both time and date options in the same poll. Which would you like to keep?",
|
"mixedOptionsDescription": "You can't have both time and date options in the same poll. Which would you like to keep?",
|
||||||
"mixedOptionsKeepDates": "Keep date options",
|
"mixedOptionsKeepDates": "Keep date options",
|
||||||
"mixedOptionsKeepTimes": "Keep time options",
|
"mixedOptionsKeepTimes": "Keep time options",
|
||||||
|
|
|
@ -143,7 +143,7 @@ export const NewParticipantModal = (props: NewParticipantModalProps) => {
|
||||||
type="primary"
|
type="primary"
|
||||||
loading={formState.isSubmitting}
|
loading={formState.isSubmitting}
|
||||||
>
|
>
|
||||||
{t("save")}
|
{t("submit")}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</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.getByText("Continue").click();
|
||||||
|
|
||||||
await page.getByPlaceholder("Jessie Smith").type("Test user");
|
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(page.locator("data-testid=user")).toBeVisible();
|
||||||
await expect(
|
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.click("button >> text='Continue'");
|
||||||
|
|
||||||
await page.type('[placeholder="Jessie Smith"]', "Test user");
|
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(page.locator("text='Test user'")).toBeVisible();
|
||||||
await expect(
|
await expect(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue