Skip to content

Commit

Permalink
cypress: added jsdialog test
Browse files Browse the repository at this point in the history
test for fix from 296d48f

Signed-off-by: Pranam Lashkari <[email protected]>
Change-Id: I7033cf78a25235863662da6687107b6a539c2232
  • Loading branch information
lpranam committed Jan 27, 2025
1 parent 8141832 commit 667bdb4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cypress_test/integration_tests/desktop/calc/jsdialog_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,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');
});
});

0 comments on commit 667bdb4

Please sign in to comment.