diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 17:28:38 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-04-25 17:28:38 +0300 |
commit | 269c0648994a751ba7957719dff965e2a5a7a9e3 (patch) | |
tree | 3bf3f4292f3128facb20bd34796425222f1048f8 | |
parent | a404267f787085252044f8b3ca8e8e1b8a168406 (diff) |
backport click on menu items with narrow page
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') }) }) |