ToolJet/cypress-tests/cypress/constants/texts/profile.js
Ajith KV 142d54bc50
Fixed failing profile cypress spec (#6245)
* Fix failed profile spec

* Modify data-cy of the dashboard section header

* Fix manage users spec

* Fix user permission spec

* Remove single workspace cypress test cases

* Add indentation changes

* Update self host signup spec

* Update cypress config file

* adding changes to capture downloads

* fix cypress tests for actions

* fecth invitation url from the database

* database test commit

* test commit

* test commit

* test commit

* test commit for pg host

* test commit

* commit for screenshot

* revert test commits

* Update sql task name

* Add changes for actions

* Fix manage groups spec

* Update folder structure

* Fix user permission spec

---------

Co-authored-by: Adish M <[email protected]>
2023-05-09 19:33:37 +05:30

33 lines
1.2 KiB
JavaScript

export const profileText = {
profileLink: "Profile",
profileElements: {
pageTitle: "Profile settings",
profileCard: "Profile",
firstNameLabel: "First name",
lastNameLabel: "Last name",
emailLabel: "Email",
avatarLabel: "Avatar",
passwordCard: "Change password",
currentPasswordLabel: "Current password",
newPasswordLabel: "New password",
confirmPasswordLabel: "Confirm new password",
},
firstName: "The",
lastName: "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",
};