2022-11-09 08:02:50 +00:00
|
|
|
export const profileSelector = {
|
|
|
|
|
profileDropdown: "[data-cy=dropdown-menu]",
|
2022-06-01 08:12:53 +00:00
|
|
|
profileLink: "[data-cy=profile-link]",
|
|
|
|
|
logoutLink: "[data-cy=logout-link]",
|
2022-11-09 08:02:50 +00:00
|
|
|
profileElements: {
|
2023-05-09 14:03:37 +00:00
|
|
|
pageTitle: '[data-cy="dashboard-section-header"]',
|
2022-06-01 08:12:53 +00:00
|
|
|
profileCard: "[data-cy=card-title-profile]",
|
|
|
|
|
firstNameLabel: "[data-cy=first-name-label]",
|
|
|
|
|
emailLabel: "[data-cy=email-label]",
|
2022-11-09 08:02:50 +00:00
|
|
|
avatarLabel: '[data-cy="avatar-label"]',
|
2022-06-01 08:12:53 +00:00
|
|
|
passwordCard: "[data-cy=card-title-change-password]",
|
|
|
|
|
currentPasswordLabel: "[data-cy=current-password-label]",
|
|
|
|
|
newPasswordLabel: "[data-cy=new-password-label]",
|
2022-11-09 08:02:50 +00:00
|
|
|
confirmPasswordLabel: '[data-cy="confirm-password-label"]',
|
2022-06-01 08:12:53 +00:00
|
|
|
},
|
2024-01-23 12:34:59 +00:00
|
|
|
userNameInput: '[data-cy="name-input-field"]',
|
2022-06-01 08:12:53 +00:00
|
|
|
emailInput: "[data-cy=email-input]",
|
2022-11-09 08:02:50 +00:00
|
|
|
avatarUploadField: '[data-cy="avatar-upload-field"]',
|
2022-06-01 08:12:53 +00:00
|
|
|
updateButton: "[data-cy=update-button]",
|
|
|
|
|
changePasswordButton: "[data-cy=change-password-button]",
|
|
|
|
|
currentPasswordField: "[data-cy=current-password-input]",
|
|
|
|
|
newPasswordField: "[data-cy=new-password-input]",
|
2022-11-09 08:02:50 +00:00
|
|
|
confirmPasswordField: '[data-cy="confirm-password-input"]',
|
|
|
|
|
};
|