From b7fa6425c82095cee30d32a219525467f15eae4e Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Tue, 13 Feb 2024 12:17:15 +0530 Subject: [PATCH] fix: button group spec (#31075) Fixes button group spec that started failing because of #30439 --- app/client/cypress/locators/WidgetLocators.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/cypress/locators/WidgetLocators.ts b/app/client/cypress/locators/WidgetLocators.ts index 8c559a4eec..2636d9dc1a 100644 --- a/app/client/cypress/locators/WidgetLocators.ts +++ b/app/client/cypress/locators/WidgetLocators.ts @@ -169,7 +169,7 @@ export const buttongroupwidgetlocators = { buttongroup: ".t--buttongroup-widget", buttonSettingInPropPane: ".t--property-control-buttons .t--edit-column-btn", menuSettingInPropPane: ".t--edit-column-btn", - newButton: "//*[text()='Add new button']", + newButton: "//*[text()='Add button']", groupButtonValue: "//input[contains(@value,'Group Button')]", buttonText: (value: string) => `//*[@class="bp3-button-text" and text()='${value}']`,