diff --git a/app/client/cypress/locators/ApiEditor.js b/app/client/cypress/locators/ApiEditor.js index b10eccebd5be..826d3a13b1d1 100644 --- a/app/client/cypress/locators/ApiEditor.js +++ b/app/client/cypress/locators/ApiEditor.js @@ -5,7 +5,7 @@ export default { nameOfApi: ".t--nameOfApi", ApiNameField: ".t--action-name-edit-field", addToPageBtn: ".t--addToPageBtn", - ApiActionMenu: "[data-testid=\"more-action-trigger\"]", + ApiActionMenu: "[data-testid=\"t--more-action-trigger\"]", ApiDeleteBtn: ".t--apiFormDeleteBtn", ApiRunBtn: "[data-testid=\"t--run-action\"]", addToPageBtnsId: ".t--addToPageButtons", diff --git a/app/client/cypress/locators/QueryEditor.json b/app/client/cypress/locators/QueryEditor.json index a168e7d48917..95770688aef8 100644 --- a/app/client/cypress/locators/QueryEditor.json +++ b/app/client/cypress/locators/QueryEditor.json @@ -4,7 +4,7 @@ "runQuery": "//span[text()='Run']/ancestor::button", "saveQuery": ".t--save-query", "deleteQuery": ".t--delete-query", - "queryMoreAction": "[data-testid=more-action-trigger]", + "queryMoreAction": "[data-testid=t--more-action-trigger]", "deleteUsingContext": ".t--apiFormDeleteBtn", "addDatasource": ".t--add-datasource", "editDatasourceButton": ".t--edit-datasource", diff --git a/app/client/cypress/support/Objects/CommonLocators.ts b/app/client/cypress/support/Objects/CommonLocators.ts index 2cf5c7db2b6b..120ad3256c23 100644 --- a/app/client/cypress/support/Objects/CommonLocators.ts +++ b/app/client/cypress/support/Objects/CommonLocators.ts @@ -70,7 +70,7 @@ export class CommonLocators { this._toastMsg + ":contains('" + toastText + "')"; //_specificToast = (toastText: string | RegExp) => this._toastMsg + ":contains("+ (typeof toastText == 'string' ? "'"+ toastText+"'" : toastText)+ ")"//not working! _empty = "span[name='no-response']"; - _contextMenuInPane = "[data-testid='more-action-trigger']"; + _contextMenuInPane = "[data-testid='t--more-action-trigger']"; _contextMenuItem = (item: string) => "//span[text()='" + item + diff --git a/app/client/src/PluginActionEditor/components/PluginActionToolbar.tsx b/app/client/src/PluginActionEditor/components/PluginActionToolbar.tsx index 3f1f1a96b1d4..e200af92a632 100644 --- a/app/client/src/PluginActionEditor/components/PluginActionToolbar.tsx +++ b/app/client/src/PluginActionEditor/components/PluginActionToolbar.tsx @@ -57,6 +57,7 @@ const PluginActionToolbar = (props: PluginActionToolbarProps) => {