## Description - This PR upgrades cypress from 11.2 to 12.13.0 which fixes the random browser crash issue in CI runs - ValidateNetworkStatus() updates to validate the n/w responses - cy.route() to cy.intercept() - Converting dataSources.json to HostPort.ts - Api responses read - updating to right Cy12 supported format - js inconsistent testJsontext to TS `EnterJSContext` in few failing specs - CI - higher resolution trials - Improves _.agHelper.RefreshPage() - fixing Error: Socket closed before finished writing response - AssertDocumentReady() created - within(()) & .children() - handled for Cy12 - Improved DeployApp(), NavigateBacktoEditor(), RefreshPage(), AddDsl() methods - js inconsistent goToEditFromPublish to TS `NavigateBacktoEditor` in all specs - js inconsistent PublishtheApp to TS `_.agHelper.DeployApp` in all specs - Convert /DynamicHeight/Text_Widget_spec.js to TS with all supporting TS helpers - ToggleJSMode() - COMMIT_INFO_MESSAGE improved - Remove tooltip on the Application Name after rename - js inconsistent cy.addDsl(dsl); to TS helper `_.agHelper.AddDsl(val);` - ++++ Much more improvements.... #### Type of change - Script fixes ## Testing #### How Has This Been Tested? - [X] Cypress ## Checklist: #### QA activity: - [X] Added `Test Plan Approved` label after Cypress tests were reviewed --------- Co-authored-by: Vijetha-Kaja <vijetha@appsmith.com>
36 lines
2.0 KiB
JSON
36 lines
2.0 KiB
JSON
{
|
|
"addNewQueryBtn": ".dbqueries .t--entity-add-btn",
|
|
"queryEditorIcon": ".t--nav-link-query-editor",
|
|
"templateMenu": ".t--template-menu",
|
|
"runQuery": "//span[text()='Run']/ancestor::button",
|
|
"saveQuery": ".t--save-query",
|
|
"deleteQuery": ".t--delete-query",
|
|
"queryMoreAction": "[data-testid=more-action-trigger]",
|
|
"deleteUsingContext": ".t--apiFormDeleteBtn",
|
|
"createQuery": ".t--create-query",
|
|
"addQueryEntity": ".//div[contains(@class,'t--entity group queries')]//div[contains(@class,'t--entity-add-btn')]",
|
|
"addDatasource": ".t--add-datasource",
|
|
"editDatasourceButton": ".t--edit-datasource",
|
|
"queryNameField": ".t--action-name-edit-field input",
|
|
"settings": "span:contains('Settings')",
|
|
"query": "//span[text()='Query']/parent::button[@role='tab']",
|
|
"switch": ".t--form-control-SWITCH input",
|
|
"suggestedTableWidget": ".t--suggested-widget-TABLE_WIDGET_V2",
|
|
"queryResponse": "(//div[@class='table']//div[@class='tr'])[3]//div[@class='td']",
|
|
"querySelect": "//div[contains(@class, 't--template-menu')]//div[text()='Select']",
|
|
"queryCreate": "//div[contains(@class, 't--template-menu')]//div[text()='Create']",
|
|
"queryUpdate": "//div[contains(@class, 't--template-menu')]//div[text()='Update']",
|
|
"queryDelete": "//div[contains(@class, 't--template-menu')]//div[text()='Delete']",
|
|
"queryFromEmail": ".CodeMirror-lines",
|
|
"codeTextArea": "//div[@class='CodeMirror-code']//span/span",
|
|
"searchFilefield": "//input[@placeholder='Search File Prefix']",
|
|
"copyURLicon": "//button/span[@icon='link']",
|
|
"snipeableTable": "//input[@type='search']",
|
|
"suggestedWidgetDropdown": "//div[contains(@class, 't--suggested-widget-SELECT_WIDGET')]",
|
|
"suggestedWidgetText": "//div[contains(@class, 't--suggested-widget-TEXT_WIDGET')]",
|
|
"suggestedWidgetChart": ".t--suggested-widget-CHART_WIDGET",
|
|
"queryTimeout": "//input[@name='actionConfiguration.timeoutInMillisecond']",
|
|
"navigateToAction": ".t--entity-name",
|
|
"querySettingsTab": "//span[contains(text(), 'Settings')]/parent::button"
|
|
}
|