PromucFlow_constructor/app/client/cypress/locators/AdminsSettings.js
Ankita Kinger 253b90e595
chore: Add some cypress tests for Admin settings page (#12542)
* added few cypress tests for admin settings page

* uncommented some cypress tests

* updated PR based on suggestions in comments
2022-04-05 18:00:57 +05:30

24 lines
1.1 KiB
JavaScript

export default {
Tabs: ".t--settings-category-list",
generalTab: ".t--settings-category-general",
advancedTab: ".t--settings-category-advanced",
authenticationTab: ".t--settings-category-authentication",
emailTab: ".t--settings-category-email",
googleMapsTab: ".t--settings-category-google-maps",
googleButton: ".t--settings-sub-category-google-auth",
githubButton: ".t--settings-sub-category-github-auth",
formloginButton: ".t--settings-sub-category-form-login",
readMoreLink: ".t--read-more-link",
versionTab: ".t--settings-category-version",
backButton: ".t--admin-settings-back-button",
saveButton: ".t--admin-settings-save-button",
resetButton: ".t--admin-settings-reset-button",
textInput: ".t--admin-settings-text-input input",
instanceName: ".t--admin-settings-APPSMITH_INSTANCE_NAME input",
adminEmails: ".t--admin-settings-APPSMITH_ADMIN_EMAILS input",
fromAddress: ".t--admin-settings-APPSMITH_MAIL_FROM input",
restartNotice: ".t--admin-settings-restart-notice",
appsmithLogo: ".t--appsmith-logo",
appsmithHeader: "[data-testid='t--appsmith-page-header']",
};