mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-17 21:45:55 +08:00
chore: placeholder is updated for the signup page (#1035)
* chore: placeholder is updated for the signup page
This commit is contained in:
parent
63693a4185
commit
284eda4072
@ -1,5 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-expressions */
|
||||
const Login = ({ email, name }: LoginProps): void => {
|
||||
const emailInput = cy.findByPlaceholderText('mike@netflix.com');
|
||||
const emailInput = cy.findByPlaceholderText('name@yourcompany.com');
|
||||
|
||||
emailInput.then((emailInput) => {
|
||||
const element = emailInput[0];
|
||||
@ -13,7 +14,7 @@ const Login = ({ email, name }: LoginProps): void => {
|
||||
expect(inputValue).to.be.equals(email);
|
||||
});
|
||||
|
||||
const firstNameInput = cy.findByPlaceholderText('Mike');
|
||||
const firstNameInput = cy.findByPlaceholderText('Your Name');
|
||||
firstNameInput.then((firstNameInput) => {
|
||||
const element = firstNameInput[0];
|
||||
// element is present
|
||||
|
@ -61,7 +61,7 @@ function Login(): JSX.Element {
|
||||
<ParentContainer>
|
||||
<Label htmlFor="signupEmail">Email</Label>
|
||||
<Input
|
||||
placeholder="mike@netflix.com"
|
||||
placeholder="name@yourcompany.com"
|
||||
type="email"
|
||||
autoFocus
|
||||
required
|
||||
|
@ -72,7 +72,7 @@ function UpdateName(): JSX.Element {
|
||||
<Space direction="vertical" size="middle">
|
||||
<Typography>Name</Typography>
|
||||
<NameInput
|
||||
placeholder="Mike Tyson"
|
||||
placeholder="Your Name"
|
||||
onChange={(event): void => {
|
||||
setChangedName(event.target.value);
|
||||
}}
|
||||
|
@ -186,7 +186,7 @@ function SignUp({ version }: SignUpProps): JSX.Element {
|
||||
<div>
|
||||
<Label htmlFor="signupEmail">Email</Label>
|
||||
<Input
|
||||
placeholder="mike@netflix.com"
|
||||
placeholder="name@yourcompany.com"
|
||||
type="email"
|
||||
autoFocus
|
||||
value={email}
|
||||
@ -199,6 +199,7 @@ function SignUp({ version }: SignUpProps): JSX.Element {
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
{isNameVisible && (
|
||||
<div>
|
||||
<Label htmlFor="signupFirstName">First Name</Label>
|
||||
@ -215,10 +216,11 @@ function SignUp({ version }: SignUpProps): JSX.Element {
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
<div>
|
||||
<Label htmlFor="organizationName">Organization Name</Label>
|
||||
<Input
|
||||
placeholder="Netflix"
|
||||
placeholder="Your Company"
|
||||
value={organizationName}
|
||||
onChange={(e): void => {
|
||||
setState(e.target.value, setOrganizationName);
|
||||
|
@ -29,6 +29,7 @@
|
||||
"./.eslintrc.js",
|
||||
"./__mocks__",
|
||||
"./conf/default.conf",
|
||||
"./public"
|
||||
"./public",
|
||||
"./cypress"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user