From cb148190469656df306e3b0522512367668fbc5b Mon Sep 17 00:00:00 2001 From: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com> Date: Thu, 7 Apr 2022 15:38:26 +0530 Subject: [PATCH 1/2] JSOnPageLoad pop-up text msg fix (#12671) --- app/client/cypress/support/Pages/JSEditor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/cypress/support/Pages/JSEditor.ts b/app/client/cypress/support/Pages/JSEditor.ts index 5f18ce9c4f..09d6f9570d 100644 --- a/app/client/cypress/support/Pages/JSEditor.ts +++ b/app/client/cypress/support/Pages/JSEditor.ts @@ -12,7 +12,7 @@ export class JSEditor { private _bindingsClose = ".t--entity-property-close" private _propertyList = ".t--entity-property" private _responseTabAction = (funName: string) => "//div[@class='function-name'][text()='" + funName + "']/following-sibling::div//*[local-name()='svg']" - private _functionSetting = (settingTxt: string) => "//span[text()='" + settingTxt + "']/parent::div/following-sibling::input[@type='checkbox']" + private _functionSetting = (settingTxt: string) => "//span[contains(text(),'" + settingTxt + "')]/parent::div/following-sibling::input[@type='checkbox']" _dialog = (dialogHeader: string) => "//div[contains(@class, 'bp3-dialog')]//h4[contains(text(), '" + dialogHeader + "')]" private _closeSettings = "span[icon='small-cross']" From 7045416dd8f90ae2907af36043364d557ab3d285 Mon Sep 17 00:00:00 2001 From: Paul Li <82799722+wmdev0808@users.noreply.github.com> Date: Thu, 7 Apr 2022 18:09:35 +0800 Subject: [PATCH 2/2] fix: Progress widget with circular type is showing wrong value (#12667) -- Output progress value as it is --- app/client/src/widgets/ProgressWidget/component/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/client/src/widgets/ProgressWidget/component/index.tsx b/app/client/src/widgets/ProgressWidget/component/index.tsx index f710d3980b..9fa56deb76 100644 --- a/app/client/src/widgets/ProgressWidget/component/index.tsx +++ b/app/client/src/widgets/ProgressWidget/component/index.tsx @@ -418,7 +418,7 @@ function CircularProgress(props: ProgressComponentProps) { x={VIEWBOX_CENTER_X} y={VIEWBOX_CENTER_Y} > - {`${(value / MAX_VALUE) * 100}%`} + {`${value}%`} )}