Skip to content

Commit

Permalink
Fix end date in cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Jan 17, 2025
1 parent 335bc6b commit dbbc36f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ context('Side Window > Mission Form > Sea Control Edition', () => {
it('Should not show an unsaved modal confirmation When an action is created', () => {
// Given
editSideWindowMissionListMissionWithId(34, SeafrontGroup.MEMN)
const endDate = getUtcDateInMultipleFormats(customDayjs().utc().add(7, 'day').toISOString())
cy.fill('Fin de mission', endDate.utcDateTupleWithTime)
cy.intercept('POST', '/api/v1/missions/34', {
body: {
id: 1
Expand Down

0 comments on commit dbbc36f

Please sign in to comment.