summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-09-17 17:06:46 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-09-17 19:10:54 +0200
commit011efb4ac4733c437dabfc7b3c31208fd777c1bc (patch)
tree5dbeecec049b9015ce006606d38c8457593d9d66
parent6a70aeaad8c6a01d53f9ebb16b7d7327ebf688a2 (diff)
cypress: improve moveCursor() helper method.
Change-Id: I41b781a2cd2f413b4daea979478351d29588fda3 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102966 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r--cypress_test/integration_tests/common/helper.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/cypress_test/integration_tests/common/helper.js b/cypress_test/integration_tests/common/helper.js
index 505108bac..38edadbf2 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -692,6 +692,9 @@ function moveCursor(direction) {
}
typeIntoDocument(key);
+ cy.get('.blinking-cursor')
+ .should('be.visible');
+
cy.get('@origCursorPos')
.then(function(origCursorPos) {
cy.get('.blinking-cursor')