Skip to content

Commit

Permalink
issue with bootbox clicking in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudIO committed Jun 18, 2022
1 parent e8a0c83 commit 5177fd3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cypress/integration/ui/finance/finance.deplosits.spec.js
Expand Up @@ -7,17 +7,17 @@ context('Finance Deposits', () => {
cy.loginAdmin("FindDepositSlip.php");
cy.contains('Add New Deposit');
cy.contains('Deposits');

cy.get('#addNewDeposit').click();
cy.contains('You are about to add a new deposit without a comment');
cy.get('.btn-secondary').click();

cy.get('#depositComment').click();
cy.get('#depositComment').type('Selenium Test Deposit');
cy.get('#addNewDeposit').click();

cy.contains('Selenium Test Deposit');

cy.get('#depositComment').click();
cy.get('#depositComment').clear();
cy.get('#addNewDeposit').click();
cy.contains('You are about to add a new deposit without a comment');

});

it('Open the Deposits page & Add Payment', () => {
Expand Down

0 comments on commit 5177fd3

Please sign in to comment.