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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 4 10:00:19 UTC 2020


 cypress_test/integration_tests/common/helper.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 387d2a10b2bff325dfc307214d12a7049f33f42d
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Tue Aug 4 11:28:56 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Tue Aug 4 11:59:55 2020 +0200

    cypress: wait more time for closing the document.
    
    Change-Id: Icbfef53b630e2a0317e346f40f47f88b694fb909
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100049
    Tested-by: Jenkins
    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 7995e7bbb..d7dc0862d 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -177,7 +177,7 @@ function afterAll(fileName) {
 	// also on the PID number we can make sure to match on the
 	// whole file name, not on a suffix of a file name.
 	var regex = new RegExp('[0-9]' + fileName);
-	cy.get('#docview')
+	cy.get('#docview', { timeout: Cypress.config('defaultCommandTimeout') * 2.0 })
 		.invoke('text')
 		.should('not.match', regex);
 


More information about the Libreoffice-commits mailing list