Skip to content

Commit 470914c

Browse files
committed
cypress: added jsdialog test
test for fix from 296d48f Signed-off-by: Pranam Lashkari <[email protected]> Change-Id: I7033cf78a25235863662da6687107b6a539c2232
1 parent 3d3b189 commit 470914c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cypress_test/integration_tests/desktop/calc/jsdialog_spec.js

+11
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,15 @@ describe(['tagdesktop'], 'JSDialog unit test', function() {
6363
cy.cGet('#watermarkentry-input').should('not.be.disabled');
6464

6565
});
66+
67+
it('JSDialog check data validity options', function() {
68+
cy.cGet('#Data-tab-label').click();
69+
cy.cGet('#data-validation').click();
70+
71+
// On changing options other fields should toggle enable and disable
72+
cy.cGet('#data-input').should('be.disabled');
73+
cy.cGet('#allow-input').select("1");
74+
75+
cy.cGet('#data-input').should('not.be.disabled');
76+
});
6677
});

0 commit comments

Comments
 (0)