Skip to content

Commit

Permalink
not sure why already not required document was used before
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubik committed May 9, 2024
1 parent f3ebe6b commit 0794861
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/cypress/e2e/operator.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ describe('Operator', function () {

// delete as document exist
cy.intercept('http://localhost:3000/operator-document-histories?*').as('documentsReload');
cy.docGetFMUDocCard('Ngombe', 'Autorisation de coupe provisoire')
cy.docGetFMUDocCard('Ngombe', 'Autorisation de coupe annuelle')
.siblings('.c-doc-card-upload')
.contains('button', 'Delete')
.click();
cy.wait('@documentsReload');
cy.wait(1000);

cy.docGetFMUDocCard('Ngombe', 'Autorisation de coupe provisoire')
cy.docGetFMUDocCard('Ngombe', 'Autorisation de coupe annuelle')
.siblings('.c-doc-card-upload')
.contains('button', 'Non applicable')
.click();
Expand All @@ -151,7 +151,7 @@ describe('Operator', function () {
cy.wait('@documentsReload');
cy.wait(1000);

cy.docGetFMUDocCard('Ngombe', 'Autorisation de coupe provisoire')
cy.docGetFMUDocCard('Ngombe', 'Autorisation de coupe annuelle')
.find('.doc-card-status')
.should('contains.text', 'Pending approval')
})
Expand Down

0 comments on commit 0794861

Please sign in to comment.