[Libreoffice-commits] online.git: cypress_test/integration_tests
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 22 20:22:13 UTC 2020
cypress_test/integration_tests/desktop/example_desktop_test_spec.js | 2 +-
cypress_test/integration_tests/desktop/example_desktop_test_spec2.js | 2 +-
cypress_test/integration_tests/mobile/focus_spec.js | 2 +-
cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js | 2 +-
cypress_test/integration_tests/mobile/toolbar_spec.js | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 34015a57986b89c5d415b9753363ef5d10a110c2
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Wed Jan 22 21:11:21 2020 +0100
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Jan 22 21:21:55 2020 +0100
cypress: Use a bigger timeout for document load.
Change-Id: I8bc142468fb301e8aa6fc12d5f271421fb68ee8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87220
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/integration_tests/desktop/example_desktop_test_spec.js b/cypress_test/integration_tests/desktop/example_desktop_test_spec.js
index 2ff6059a4..49db7b13d 100644
--- a/cypress_test/integration_tests/desktop/example_desktop_test_spec.js
+++ b/cypress_test/integration_tests/desktop/example_desktop_test_spec.js
@@ -16,7 +16,7 @@ describe('Example test suit 1', function() {
Cypress.env('WORKDIR') + 'simple.odt');
// Wait for the document to fully load
- cy.get('.leaflet-tile-loaded');
+ cy.get('.leaflet-tile-loaded', {timeout : 10000});
// Select a text
cy.get('#document-container').dblclick();
diff --git a/cypress_test/integration_tests/desktop/example_desktop_test_spec2.js b/cypress_test/integration_tests/desktop/example_desktop_test_spec2.js
index 326bfaf0a..125ef1b74 100644
--- a/cypress_test/integration_tests/desktop/example_desktop_test_spec2.js
+++ b/cypress_test/integration_tests/desktop/example_desktop_test_spec2.js
@@ -16,7 +16,7 @@ describe('Example test suit 2', function() {
Cypress.env('WORKDIR') + 'simple.odt');
// Wait for the document to fully load
- cy.get('.leaflet-tile-loaded');
+ cy.get('.leaflet-tile-loaded', {timeout : 10000});
// Select a text
cy.get('#document-container').dblclick();
diff --git a/cypress_test/integration_tests/mobile/focus_spec.js b/cypress_test/integration_tests/mobile/focus_spec.js
index 92a1cd352..99a15cb94 100644
--- a/cypress_test/integration_tests/mobile/focus_spec.js
+++ b/cypress_test/integration_tests/mobile/focus_spec.js
@@ -17,7 +17,7 @@ describe('Focus tests', function() {
Cypress.env('WORKDIR') + 'empty.odt');
// Wait for the document to fully load
- cy.get('.leaflet-tile-loaded');
+ cy.get('.leaflet-tile-loaded', {timeout : 10000});
});
it('Focus after document fully loaded.', function() {
diff --git a/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js b/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js
index d9ed92c97..3d9e15ebd 100644
--- a/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js
+++ b/cypress_test/integration_tests/mobile/mobile_wizard_state_spec.js
@@ -17,7 +17,7 @@ describe('Mobile wizard state tests', function() {
Cypress.env('WORKDIR') + 'empty.odt');
// Wait for the document to fully load
- cy.get('.leaflet-tile-loaded');
+ cy.get('.leaflet-tile-loaded', {timeout : 10000});
});
it('Open and close mobile wizard by toolbar item.', function() {
diff --git a/cypress_test/integration_tests/mobile/toolbar_spec.js b/cypress_test/integration_tests/mobile/toolbar_spec.js
index b8a9e676b..c42b58f78 100644
--- a/cypress_test/integration_tests/mobile/toolbar_spec.js
+++ b/cypress_test/integration_tests/mobile/toolbar_spec.js
@@ -17,7 +17,7 @@ describe('Toolbar tests', function() {
Cypress.env('WORKDIR') + 'empty.odt');
// Wait for the document to fully load
- cy.get('.leaflet-tile-loaded');
+ cy.get('.leaflet-tile-loaded', {timeout : 10000});
});
it('State of mobile wizard toolbar item.', function() {
More information about the Libreoffice-commits
mailing list