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 17:28:38 +0300
committerJulien Veyssier <eneiluj@posteo.net>2022-04-25 17:28:38 +0300
commit269c0648994a751ba7957719dff965e2a5a7a9e3 (patch)
tree3bf3f4292f3128facb20bd34796425222f1048f8
parenta404267f787085252044f8b3ca8e8e1b8a168406 (diff)
backport click on menu items with narrow page
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')
})
})