Skip to content

Commit

Permalink
test: stop using return in helper fns
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkrulltott committed Feb 1, 2024
1 parent 2eb79e6 commit ace93a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/helpers/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ export const clickMenubarOptionsButton = () =>

export const openDataOptionsModal = () => {
clickMenubarOptionsButton()
return cy.getBySel('options-menu-list').contains('Data').click()
cy.getBySel('options-menu-list').contains('Data').click()
}

export const openStyleOptionsModal = () => {
clickMenubarOptionsButton()
return cy.getBySel('options-menu-list').contains('Style').click()
cy.getBySel('options-menu-list').contains('Style').click()
}

export const openLegendOptionsModal = () => {
clickMenubarOptionsButton()
return cy.getBySel('options-menu-list').contains('Legend').click()
cy.getBySel('options-menu-list').contains('Legend').click()
}

export const clickMenubarInterpretationsButton = () =>
Expand Down

0 comments on commit ace93a1

Please sign in to comment.