diff --git a/Composer/cypress/integration/Breadcrumb.spec.ts b/Composer/cypress/integration/Breadcrumb.spec.ts index 21ab54ba48..fa885d582d 100644 --- a/Composer/cypress/integration/Breadcrumb.spec.ts +++ b/Composer/cypress/integration/Breadcrumb.spec.ts @@ -58,7 +58,7 @@ context('breadcrumb', () => { // Click on an action cy.withinEditor('VisualEditor', () => { cy.findByTestId('RuleEditor').within(() => { - cy.findByText('Send a response').click({ force: true }); + cy.findByText('Send a response').click(); }); }); diff --git a/Composer/packages/extensions/visual-designer/src/widgets/ForeachWidget.tsx b/Composer/packages/extensions/visual-designer/src/widgets/ForeachWidget.tsx index c671a40845..fc371769d7 100644 --- a/Composer/packages/extensions/visual-designer/src/widgets/ForeachWidget.tsx +++ b/Composer/packages/extensions/visual-designer/src/widgets/ForeachWidget.tsx @@ -67,6 +67,9 @@ export const ForeachWidget: FunctionComponent = ({ id, data, const { foreachNode, loopActionsNode, loopBeginNode, loopEndNode } = nodeMap; return (
+ + + = ({ id, data, onEvent(NodeEventTypes.Focus, { id })} /> ))} - - -
); }; diff --git a/Composer/packages/extensions/visual-designer/src/widgets/IfConditionWidget.tsx b/Composer/packages/extensions/visual-designer/src/widgets/IfConditionWidget.tsx index 7dfbdd9825..ad4775e1ca 100644 --- a/Composer/packages/extensions/visual-designer/src/widgets/IfConditionWidget.tsx +++ b/Composer/packages/extensions/visual-designer/src/widgets/IfConditionWidget.tsx @@ -70,6 +70,9 @@ export const IfConditionWidget: FunctionComponent = ({ return (
+ + + = ({ ); })} - - -
); }; diff --git a/Composer/packages/extensions/visual-designer/src/widgets/PromptWidget.tsx b/Composer/packages/extensions/visual-designer/src/widgets/PromptWidget.tsx index 02c9406adc..d0fa194bd0 100644 --- a/Composer/packages/extensions/visual-designer/src/widgets/PromptWidget.tsx +++ b/Composer/packages/extensions/visual-designer/src/widgets/PromptWidget.tsx @@ -62,6 +62,9 @@ export const PromptWidget: FC = ({ return (
+ + + = ({ onEvent(NodeEventTypes.Focus, { id, tab: PromptTab.OTHER })} /> - - -
); }; diff --git a/Composer/packages/extensions/visual-designer/src/widgets/SwitchConditionWidget.tsx b/Composer/packages/extensions/visual-designer/src/widgets/SwitchConditionWidget.tsx index 7435719918..cfd08b7e48 100644 --- a/Composer/packages/extensions/visual-designer/src/widgets/SwitchConditionWidget.tsx +++ b/Composer/packages/extensions/visual-designer/src/widgets/SwitchConditionWidget.tsx @@ -81,6 +81,9 @@ export const SwitchConditionWidget: FunctionComponent + + + ))} - - - ); };