[Libreoffice-commits] online.git: cypress_test/integration_tests

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 17 17:11:13 UTC 2020


 cypress_test/integration_tests/common/helper.js |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 011efb4ac4733c437dabfc7b3c31208fd777c1bc
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Thu Sep 17 17:06:46 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Thu Sep 17 19:10:54 2020 +0200

    cypress: improve moveCursor() helper method.
    
    Change-Id: I41b781a2cd2f413b4daea979478351d29588fda3
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102966
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

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')


More information about the Libreoffice-commits mailing list