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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 24 15:05:33 UTC 2020


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

New commits:
commit 48bca31c9ec1b8462302391e8df8dbd041dd451c
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Mon Feb 24 15:11:36 2020 +0100
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Mon Feb 24 16:05:13 2020 +0100

    cypress: mobile: make selectAllMobile() more stable.
    
    Change-Id: Id8b919e3e0a18b28746541ee2a65e52f85458fa9
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89353
    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 6c7147097..7084a76a7 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -70,7 +70,9 @@ function selectAllMobile() {
 		.contains('Edit')
 		.click();
 
-	cy.wait(200);
+	cy.get('.ui-header.level-1 .menu-entry-with-icon')
+		.should('be.visible')
+		.wait(100);
 
 	// Do the selection
 	cy.get('.ui-header.level-1 .menu-entry-with-icon')


More information about the Libreoffice-commits mailing list