From 0794861430642595857b6ce7e8243b678a2c48d3 Mon Sep 17 00:00:00 2001 From: Tomasz Subik Date: Thu, 9 May 2024 13:41:25 +0200 Subject: [PATCH] not sure why already not required document was used before --- e2e/cypress/e2e/operator.cy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/cypress/e2e/operator.cy.js b/e2e/cypress/e2e/operator.cy.js index 82363cee..9e1149e5 100644 --- a/e2e/cypress/e2e/operator.cy.js +++ b/e2e/cypress/e2e/operator.cy.js @@ -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(); @@ -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') })