diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 14:57:39 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 14:57:39 +0300 |
commit | 83ed1d7989fbd93cd52c09f309f6e1f517d4cb67 (patch) | |
tree | 1dadfb7bb8d4b0d669dff30c2f56b04fbb4f004e /cypress | |
parent | 25389bd1dfe16f1f801e33139fb280141c3c0284 (diff) |
force click on menu buttons when they are hidden (in the dropdown)
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/integration/workspace.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/integration/workspace.spec.js b/cypress/integration/workspace.spec.js index f7edfd907..ba41e828b 100644 --- a/cypress/integration/workspace.spec.js +++ b/cypress/integration/workspace.spec.js @@ -59,11 +59,11 @@ describe('Workspace', function() { ['strike', 's'], ].forEach(([button, tag]) => { menuButton(button) - .click() + .click({ force: true }) .should('have.class', 'is-active') cy.get(`.ProseMirror ${tag}`).should('contain', 'Format me') menuButton(button) - .click() + .click({ force: true }) .should('not.have.class', 'is-active') }) }) |