diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 14:57:39 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-04-25 16:38:30 +0300 |
commit | 44f0aa12167cb8d087c1387716006439984b4557 (patch) | |
tree | aa1f6582094f89c77a8431029628c93461eee42b | |
parent | fea887299c83de267bce6cdce722bc38916ed720 (diff) |
force click on menu buttons when they are hidden (in the dropdown)backport/2331/stable24
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
-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') }) }) |