ToolJet/cypress-tests/cypress/constants/texts/dataSource.js
Ajith KV c2891eea71
Modified the datasource cypress test cases (#7234)
* initial: flow setup

* [BugFix] Fix dynamic form breaking in case "react-component-headers" form type outside of the editor

* fixes: initial creation of datasource with default options

* resolve: local ds issues and cleanup

* cleanup

* fix: equality check

* revamp: gds flow

* fix: local ds not updating

* fix: minor bugs

* remove datasource confirmation modal

* bug fixes

* Modify the datasource cypress test cases

* Add data-cy for new datasource components

* rename to data sources

* rename: data sources

* fix: local ds wrapper css

* Add new commands file

* Add new commands file

* fix: datasource route

* Modify data source test cases

* Modify cypress config

* Modify data source icon tooltip text

---------

Co-authored-by: Vijaykant Yadav <[email protected]>
Co-authored-by: Nakul Nagargade <[email protected]>
Co-authored-by: emidhun <[email protected]>
2023-08-28 17:53:11 +05:30

74 lines
No EOL
2.5 KiB
JavaScript

export const dataSourceText = {
labelDataSources: "Datasources",
labelAddDataSource: "+ add data source",
allDataSources: "All data sources (41)",
allDatabase: "Databases (17)",
allApis: "APIs (20)",
allCloudStorage: "Cloud Storage (4)",
pluginsLabelAndCount: "Plugins (0)",
postgreSQL: "PostgreSQL",
labelHost: "Host",
labelPort: "Port",
labelSSL: "SSL",
labelDbName: "Database Name",
labelUserName: "Username",
labelPassword: "Password",
label: "Encrypted",
sslCertificate: "SSL Certificate",
whiteListIpText:
"Please white-list our IP address if the data source is not publicly accessible",
textCopy: "Copy",
readDocumentation: "Read documentation",
couldNotConnect: "could not connect",
buttonTextSave: "Save",
serverNotSuppotSsl: "The server does not support SSL connections",
psqlName: "cypress-postgresql",
labelConnectionVerified: "connection verified",
toastDSAdded: "Datasource Added",
placeholderNameOfDB: "Name of the database",
placeholderEnterHost: "Enter host",
placeholderEnterPort: "Enter port",
placeholderEnterUserName: "Enter username",
headerQueries: "Queries",
headerSelectDatasource: "Select Data Source",
noQueryText: "You haven't created queries yet.",
buttonLabelCreateQuery: "Create query",
tabGeneral: "General",
firstQueryName: "postgresql1",
buttonLabelPreview: "Preview",
buttonLabelCreateAndRun: "Create & Run",
buttonLabelCreate: "Create",
queryModeSql: "SQL mode",
queryModeGui: "GUI mode",
headerTransformations: "Enable Transformations",
json: "JSON",
raw: "Raw",
labelOperation: "Operation",
labelTable: "Table",
labelPrimaryKeyColumn: "Primary key column",
labelRecordsToUpdate: "Records to update",
toggleLabelRunOnPageLoad: "Run this query on application load?",
toggleLabelconfirmation: "Request confirmation before running query?",
toggleLabelShowNotification: "Show notification on success?",
labelSuccessMessage: "Success Message",
labelNotificatioDuration: "Notification duration (s)",
dialogueTextDelete: "Do you really want to delete this query?",
cancel: "Cancel",
yes: "Yes",
guiOptionBulkUpdate: "Bulk update using primary key",
buttonTextTestConnection: "Test Connection",
tabAdvanced: "Advanced",
labelNoEventhandler: "This query doesn't have any event handlers",
toastDSSaved: "Datasource Saved",
unSavedModalTitle: "Unsaved Changes"
};