summaryrefslogtreecommitdiffstats
path: root/gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2021-07-26 17:33:24 +0100
committersaul.gill <saul.gill@est.tech>2021-07-29 09:45:44 +0100
commit83c09e788eb75b287c946acbcba0d43cd3cd4681 (patch)
tree7a090a2227bb3a4143b14aa80ed40680801ff844 /gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js
parent29871bc266df6b4418f30311ce9d0ef9ddd9965c (diff)
Added Common Parameter Form
Added save button for user edits Added commission button to push up edits Added service to retrieve common parameters Issue-ID: POLICY-3439 Change-Id: Ia355f36bf263bb1385db363a267c53af86504905 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js')
-rw-r--r--gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js
index f189c58..054450c 100644
--- a/gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js
+++ b/gui-clamp/ui-react/src/components/dialogs/ControlLoop/CommissioningModal.test.js
@@ -37,9 +37,9 @@ describe('Verify ReadAndConvertYaml', () => {
expect(toJson(tree)).toMatchSnapshot();
});
- it('should have two Button elements', () => {
+ it('should have three Button elements', () => {
const container = shallow(<CommissioningModal/>)
- expect(container.find('Button').length).toEqual(2);
+ expect(container.find('Button').length).toEqual(3);
});
it('handleClose called when bottom button clicked', () => {