Skip to content

Commit

Permalink
Fix nav cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Apr 30, 2024
1 parent 0fabf07 commit 7be3ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/nav_monitorfish.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ context('Light MonitorFish', () => {

// Vessel sidebar menus
cy.get('*[data-cy="vessel-menu-identity"]').should('be.visible')
cy.get('*[data-cy="vessel-menu-summary"]').should('be.visible')
cy.get('*[data-cy="vessel-menu-fishing"]').should('be.visible')
cy.get('*[data-cy="vessel-menu-controls"]').should('be.visible')

Expand All @@ -30,7 +31,6 @@ context('Light MonitorFish', () => {
.click({ timeout: 10000 })
cy.get('*[data-cy="vessel-control"]').should('not.contain', 'Ouvrir le contrôle')

cy.get('*[data-cy="vessel-menu-summary"]').should('not.exist')
cy.get('*[data-cy="vessel-menu-reporting"]').should('not.exist')
cy.get('*[data-cy="vessel-menu-ers-vms"]').should('not.exist')

Expand Down

0 comments on commit 7be3ba4

Please sign in to comment.