From 82dc0c4009cf3e149c22448eb3c88bb76fa7c5ce Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Wed, 18 Sep 2024 11:07:38 +0200 Subject: [PATCH] Fix manual pno form upload e2e test --- .../manual_prior_notification_form/form.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/cypress/e2e/side_window/manual_prior_notification_form/form.spec.ts b/frontend/cypress/e2e/side_window/manual_prior_notification_form/form.spec.ts index b6cde85fe9..30bf51c9a2 100644 --- a/frontend/cypress/e2e/side_window/manual_prior_notification_form/form.spec.ts +++ b/frontend/cypress/e2e/side_window/manual_prior_notification_form/form.spec.ts @@ -143,16 +143,16 @@ context('Side Window > Manual Prior Notification Form > Form', () => { }) it('Should attach and remove a document to a manual prior notification', () => { - cy.intercept('GET', `/bff/v1/prior_notifications/00000000-0000-4000-0000-000000000002/uploads`).as('getUploads') + cy.intercept('GET', `/bff/v1/prior_notifications/00000000-0000-4000-0000-000000000008/uploads`).as('getUploads') cy.intercept( 'POST', - `/bff/v1/prior_notifications/00000000-0000-4000-0000-000000000002/uploads?isManualPriorNotification=false&operationDate=*` + `/bff/v1/prior_notifications/00000000-0000-4000-0000-000000000008/uploads?isManualPriorNotification=true&operationDate=*` ).as('uploadDocument') - cy.intercept('DELETE', `/bff/v1/prior_notifications/00000000-0000-4000-0000-000000000002/uploads/*`).as( + cy.intercept('DELETE', `/bff/v1/prior_notifications/00000000-0000-4000-0000-000000000008/uploads/*`).as( 'deleteDocument' ) - editSideWindowPriorNotification(`DOS FIN`, '00000000-0000-4000-0000-000000000002') + editSideWindowPriorNotification(`DÉVOILÉ`, '00000000-0000-4000-0000-000000000008') cy.wait('@getUploads')