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

New commits:
commit 48bca31c9ec1b8462302391e8df8dbd041dd451c
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Mon Feb 24 15:11:36 2020 +0100
Commit:     Tamás Zolnai <tamas.zol...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zol...@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')
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to