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

Tamás Zolnai (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 19 14:11:02 UTC 2020


 cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js    |    2 ++
 cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js |    2 ++
 cypress_test/integration_tests/mobile/writer/insert_object_spec.js     |    2 ++
 cypress_test/support/index.js                                          |    1 -
 4 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit da6f94a3eda08de57a64d00aa14f8fb58eb29f55
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Fri Jun 19 13:26:20 2020 +0200
Commit:     Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Fri Jun 19 16:10:42 2020 +0200

    cypress: fix attachFile is not a function error.
    
    Include the related package directly in the test files,
    where we use it. Somtimes supportfile is not handled correctly
    in parallel build, which lead to missing function error.
    
    Change-Id: Id4740a9384f0fe170a26b76ecd393a5beda1f5c5
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96723
    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/mobile/calc/insertion_wizard_spec.js b/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js
index e4dfbb142..04ec7cf6a 100644
--- a/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/insertion_wizard_spec.js
@@ -1,5 +1,7 @@
 /* global describe it cy beforeEach require afterEach expect*/
 
+require('cypress-file-upload');
+
 var helper = require('../../common/helper');
 var calcHelper = require('../../common/calc_helper');
 var mobileHelper = require('../../common/mobile_helper');
diff --git a/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js b/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js
index 16d2703e8..e41d6f826 100644
--- a/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/insertion_wizard_spec.js
@@ -1,5 +1,7 @@
 /* global describe it cy beforeEach require expect afterEach*/
 
+require('cypress-file-upload');
+
 var helper = require('../../common/helper');
 var mobileHelper = require('../../common/mobile_helper');
 var impressMobileHelper = require('./impress_mobile_helper');
diff --git a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
index df72aef3f..e9daa39ee 100644
--- a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
@@ -1,5 +1,7 @@
 /* global describe it cy beforeEach require expect afterEach */
 
+require('cypress-file-upload');
+
 var helper = require('../../common/helper');
 var mobileHelper = require('../../common/mobile_helper');
 var writerMobileHelper = require('./writer_mobile_helper');
diff --git a/cypress_test/support/index.js b/cypress_test/support/index.js
index 453ced414..8f683db34 100644
--- a/cypress_test/support/index.js
+++ b/cypress_test/support/index.js
@@ -1,4 +1,3 @@
 /* global require */
 
 require('cypress-failed-log');
-require('cypress-file-upload');


More information about the Libreoffice-commits mailing list