Update phone number placeholders in registration and subscription forms

This commit is contained in:
Simon Larsen 2024-06-26 12:36:27 +01:00
parent e2074b010e
commit af6f5af11d
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ test.describe("Account Registration", () => {
if (IS_BILLING_ENABLED) {
await page.getByTestId("companyName").fill("sample");
await page.getByTestId("companyName").press("Tab");
await page.getByTestId("companyPhoneNumber").fill("+15853641376");
await page.getByTestId("companyPhoneNumber").fill("+1234567890");
await page.getByTestId("companyPhoneNumber").press("Tab");
}

View File

@ -129,7 +129,7 @@ const SubscribePage: FunctionComponent<SubscribePageProps> = (
required: (model: FormValues<StatusPageSubscriber>) => {
return model && Boolean(model.subscriberPhone);
},
placeholder: "+15853641376",
placeholder: "+11234567890",
disabled: true,
showIf: (model: FormValues<StatusPageSubscriber>) => {
return model && Boolean(model.subscriberPhone);