Skip to content

Commit

Permalink
Fix seafront renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Apr 25, 2024
1 parent d9f171e commit 0b5e657
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -785,14 +785,14 @@ context('Side Window > Mission Form > Main Form', () => {
})

it('Should display missing fields banner if mission is ended and has missing fields', () => {
editSideWindowMissionListMissionWithId(43, SeaFrontGroup.MED)
editSideWindowMissionListMissionWithId(43, SeafrontGroup.MED)

cy.get('.Component-Banner').contains('Veuillez compléter ou corriger les éléments en rouge')
})

it('Should not erase the isDirty flag When a Mission has been created and a mission action is still unvalidated', () => {
// Given
editSideWindowMissionListMissionWithId(2, SeaFrontGroup.MEMN)
editSideWindowMissionListMissionWithId(2, SeafrontGroup.MEMN)
const endDate = customDayjs().utc().add(7, 'day')
cy.fill('Fin de mission', getUtcDateInMultipleFormats(endDate.toISOString()).utcDateTupleWithTime)
cy.get('*[data-cy="action-list-item"]').click()
Expand Down

0 comments on commit 0b5e657

Please sign in to comment.