Skip to content

Commit

Permalink
fix: test e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeperrault authored and maximeperraultdev committed Jan 2, 2025
1 parent 9deba33 commit 6930ce3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,9 @@ context('Side Window > Mission Form > Main Form', () => {
it('Should display missing fields banner if mission is ended and has missing fields', () => {
visitSideWindow()
cy.fill('Période', 'Un mois')
cy.wait(1000)
cy.getDataCy('edit-mission-27')
.scrollIntoView({ offset: { left: 300, top: -100 } })
.click({ force: true })
cy.wait(500)
cy.get('.missions-table').scrollTo('bottom')
cy.getDataCy('edit-mission-27').click({ force: true })
cy.get('.Component-Banner').contains('Veuillez compléter ou corriger les éléments en rouge')
})

Expand Down

0 comments on commit 6930ce3

Please sign in to comment.