Skip to content

Commit

Permalink
test: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Sep 8, 2023
1 parent 79d4f67 commit 2f5aac3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cypress/integration/start.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
expectFileMenuButtonToBeDisabled,
FILE_MENU_BUTTON_NEW,
FILE_MENU_BUTTON_OPEN,
FILE_MENU_BUTTON_SAVE_NEW,
FILE_MENU_BUTTON_SAVEAS,
FILE_MENU_BUTTON_GETLINK,
FILE_MENU_BUTTON_SHARE,
Expand Down Expand Up @@ -75,11 +74,7 @@ describe('viewing the start screen', () => {
})
it('primary File menu buttons are enabled and menu is closed with click', () => {
clickMenuBarFileButton()
const enabledButtons = [
FILE_MENU_BUTTON_NEW,
FILE_MENU_BUTTON_OPEN,
FILE_MENU_BUTTON_SAVE_NEW,
]
const enabledButtons = [FILE_MENU_BUTTON_NEW, FILE_MENU_BUTTON_OPEN]
enabledButtons.forEach((button) =>
expectFileMenuButtonToBeEnabled(button)
)
Expand Down

0 comments on commit 2f5aac3

Please sign in to comment.