Skip to content

Commit

Permalink
Update cypress external acess ers/vms tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Jun 4, 2024
1 parent ba4ee42 commit cd383b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/cypress/e2e/external_monitorfish.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ context('External MonitorFish', () => {
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')
cy.get('*[data-cy="vessel-menu-ers-vms"]').should('be.visible')

// Should not include the modify mission button
cy.get('*[data-cy="vessel-menu-controls"]').click()
Expand All @@ -41,7 +42,6 @@ context('External MonitorFish', () => {
cy.get('*[data-cy="vessel-control"]').should('not.contain', 'Ouvrir le contrôle')

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

// Vessel list
cy.get('*[data-cy="vessel-list"]').should('exist')
Expand Down
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 @@ -21,6 +21,7 @@ context('Light MonitorFish', () => {
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')
cy.get('*[data-cy="vessel-menu-ers-vms"]').should('be.visible')

// Should not include the modify mission button
cy.get('*[data-cy="vessel-menu-controls"]').click()
Expand All @@ -32,7 +33,6 @@ context('Light MonitorFish', () => {
cy.get('*[data-cy="vessel-control"]').should('not.contain', 'Ouvrir le contrôle')

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

// Vessel list
cy.get('*[data-cy="vessel-list"]').should('exist')
Expand Down

0 comments on commit cd383b7

Please sign in to comment.