Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Fix flakiness of checkBillingCandidate by **properly** waiting for …
Browse files Browse the repository at this point in the history
…`IsToRecompute` to be false

#132
  • Loading branch information
TheBestPessimist committed Jul 17, 2019
1 parent 397614d commit baf5449
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -335,7 +335,7 @@ describe('Void Sales Invoice and invoice the billing candidates again', function
}

function checkBillingCandidate(qtyDelivered, qtyInvoiced) {
cy.getCheckboxValue('IsToRecompute').should('equals', false);
cy.expectCheckboxValue('IsToRecompute', false);
cy.getStringFieldValue('Bill_BPartner_ID').should('contain', businessPartnerName);
cy.getStringFieldValue('C_Order_ID').should('equal', salesOrderDocumentNumber);
cy.getStringFieldValue('M_Product_ID').should('contain', productName);
Expand Down

0 comments on commit baf5449

Please sign in to comment.