ToolJet/cypress-tests/cypress/constants/texts/profile.js
Ajith KV 9ea2b68e20
Modified platform cypress test cases for dashboard revamp (#8621)
* Modify platform cypress test cases for dashboard revamp

* Modify cypress test cases

* Modify failed test cases

* Update failed test cases
2024-01-23 18:04:59 +05:30

31 lines
1.2 KiB
JavaScript

export const profileText = {
profileLink: "Profile",
profileElements: {
pageTitle: "Profile settings",
profileCard: "Profile",
firstNameLabel: "Name",
emailLabel: "Email address",
avatarLabel: "Avatar",
passwordCard: "Change password",
currentPasswordLabel: "Current password",
newPasswordLabel: "New password",
confirmPasswordLabel: "Confirm new password",
},
userName: "The Developer",
updateButton: "Update",
email: "[email protected]",
firstNameErrorToast: "First name can't be empty!",
lastNameNameErrorToast: "Last name can't be empty!",
nameSuccessToast: "Details updated!",
nameErrorToast: "First name and last name can't be empty!",
newPassword: "newpassword",
changePasswordButton: "Change password",
currentPasswordFieldEmptyToast: "Current password can't be empty!",
newPasswordFieldEmptyToast: "New password can't be empty!",
confirmPasswordFieldEmptyToast: "Confirm new password can't be empty!",
samePasswordErrorToast: "New password can't be the same as the current one!",
passwordSuccessToast: "Password updated successfully",
loginErrorToast: "Invalid credentials",
password: "password",
newPassword: "Password",
};