diff --git a/cypress_test/integration_tests/desktop/calc/jsdialog_spec.js b/cypress_test/integration_tests/desktop/calc/jsdialog_spec.js index 3e0b73cfc0f68..bdeec12f3fa03 100644 --- a/cypress_test/integration_tests/desktop/calc/jsdialog_spec.js +++ b/cypress_test/integration_tests/desktop/calc/jsdialog_spec.js @@ -63,4 +63,15 @@ describe(['tagdesktop'], 'JSDialog unit test', function() { cy.cGet('#watermarkentry-input').should('not.be.disabled'); }); + + it('JSDialog check data validity options', function() { + cy.cGet('#Data-tab-label').click(); + cy.cGet('#data-validation').click(); + + // On changing options other fields should toggle enable and disable + cy.cGet('#data-input').should('be.disabled'); + cy.cGet('#allow-input').select("1"); + + cy.cGet('#data-input').should('not.be.disabled'); + }); });