Skip to content

Commit

Permalink
Fix years
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Aug 29, 2024
1 parent 2a16267 commit ea79b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/vessel_sidebar/reporting.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ context('Vessel sidebar reporting tab', () => {
// When
cy.get('*[data-cy="vessel-sidebar-reporting-tab-history-button"]').click()
cy.get('*[data-cy="vessel-sidebar-reporting-tab-history"]').should('exist')
cy.get('*[data-cy="vessel-sidebar-reporting-tab-archive-year"]').should('have.length', 7)
cy.get('*[data-cy="vessel-sidebar-reporting-tab-archive-year"]').should('have.length', 6)
cy.clickButton('Afficher plus de signalements')

// Then
cy.wait('@reporting')
cy.get('*[data-cy="vessel-sidebar-reporting-tab-archive-year"]').should('have.length', 8)
cy.get('*[data-cy="vessel-sidebar-reporting-tab-archive-year"]').should('have.length', 7)
})

it('Reporting Should be deleted', () => {
Expand Down

0 comments on commit ea79b15

Please sign in to comment.