diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-09-17 17:06:46 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-09-17 19:10:54 +0200 |
commit | 011efb4ac4733c437dabfc7b3c31208fd777c1bc (patch) | |
tree | 5dbeecec049b9015ce006606d38c8457593d9d66 | |
parent | 6a70aeaad8c6a01d53f9ebb16b7d7327ebf688a2 (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.js | 3 |
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') |