## Description - Make edit launch buttons as links for better user experience - Add upgrade ramps for session timeout setting Fixes [#29829](https://github.com/appsmithorg/appsmith/issues/29829) [#31724](https://github.com/appsmithorg/appsmith/issues/31724) ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!IMPORTANT] > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/8370510386> > Commit: `b45ae17a5f28fe4706a69cc0dd141e5bb5e8b225` > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8370510386&attempt=2" target="_blank">Click here!</a> > All cypress tests have passed 🎉🎉🎉 <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a session timeout setting for user sessions, enhancing security and compliance. - Improved admin settings interface with additional configuration options for session management. - **Enhancements** - Streamlined navigation within the application by removing reliance on default page IDs. - Enhanced input fields in admin settings with support for default values and custom formats. - **Style Updates** - Updated styling for labels, icons, and text inputs in the admin settings for better user experience. - **Tests** - Expanded Cypress test coverage for admin settings, including checks for business and enterprise settings, authentication, branding, and navigation. - **Refactor** - Simplified code by renaming constants and updating component properties for clarity and maintainability. - **Chores** - Updated Cypress configuration and support files for improved test automation practices. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
50 lines
2.7 KiB
JavaScript
50 lines
2.7 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",
|
|
developerSettingsTab: ".t--settings-category-developer-settings",
|
|
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-instanceName input",
|
|
adminEmails: ".t--admin-settings-APPSMITH_ADMIN_EMAILS input",
|
|
fromAddress: ".t--admin-settings-APPSMITH_MAIL_FROM input",
|
|
restartNotice: ".t--admin-settings-restart-notice",
|
|
appsmithStarting: "p:contains('Appsmith is starting')",
|
|
appsmithLogo: ".t--appsmith-logo",
|
|
appsmithHeader: "[data-testid='t--appsmith-page-header']",
|
|
loginWithGoogle: "[data-testid='login-with-Google']",
|
|
loginWithGithub: "[data-testid='login-with-Github']",
|
|
disconnectBtn: "[data-testid='disconnect-service-button']",
|
|
formSignupDisabled: "[data-testid='APPSMITH_SIGNUP_DISABLED']",
|
|
formLoginDisabled: "[data-testid='APPSMITH_FORM_LOGIN_DISABLED']",
|
|
embedSettings: ".t--admin-settings-APPSMITH_ALLOWED_FRAME_ANCESTORS",
|
|
upgrade: "//button//span[text()='Upgrade']",
|
|
accessControl: ".t--settings-category-access-control",
|
|
auditLogs: ".t--settings-category-audit-logs",
|
|
provisioning: ".t--settings-category-provisioning",
|
|
upgrageLeftPane: "[data-testid='t--enterprise-settings-category-item-be']",
|
|
branding: ".t--settings-category-branding",
|
|
brandingSubmitButton: ".t--settings-branding-submit-button",
|
|
businessTag: "[data-testid='t--business-tag']",
|
|
enterpriseTag: "[data-testid='t--enterprise-tag']",
|
|
enableEmailVerificationInput: "[data-testid='emailVerificationEnabled']",
|
|
adminSettingsCallout: "[data-testid='admin-settings-group-link']",
|
|
hideWatermarkWrapper: ".t--admin-settings-hideWatermark",
|
|
hideWatermarkInput: "[data-testid='hideWatermark']",
|
|
showRolesAndGroupsWrapper: ".t--admin-settings-showRolesAndGroups",
|
|
showRolesAndGroupsInput: "[data-testid='showRolesAndGroups']",
|
|
singleSessionPerUserWrapper: ".t--admin-settings-singleSessionPerUserEnabled",
|
|
singleSessionPerUserInput: "[data-testid='singleSessionPerUserEnabled']",
|
|
sessionTimeoutWrapper: ".t--admin-settings-userSessionTimeoutInMinutes",
|
|
sessionTimeoutInput: "[name='userSessionTimeoutInMinutes']",
|
|
};
|