Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-04-25 14:57:39 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-04-25 16:38:30 +0300
commit44f0aa12167cb8d087c1387716006439984b4557 (patch)
treeaa1f6582094f89c77a8431029628c93461eee42b
parentfea887299c83de267bce6cdce722bc38916ed720 (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.js4
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')
})
})