cypress_test/integration_tests/common/helper.js |   11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

New commits:
commit 5acffe2af9dc808fb2d38b4a4b4891e264f09e59
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Mon May 18 10:53:49 2020 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Thu May 21 16:49:48 2020 +0200

    cypress: remove logging UNO command states
    
    This is no longer usable when running interactive unit test
    
    Change-Id: I0e44dca7d6c0ec513da08a0d4521ef9d15b27a94
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94430
    Tested-by: Jenkins
    Reviewed-by: Henry Castro <hcas...@collabora.com>

diff --git a/cypress_test/integration_tests/common/helper.js 
b/cypress_test/integration_tests/common/helper.js
index b2053c4a7..39fc09875 100644
--- a/cypress_test/integration_tests/common/helper.js
+++ b/cypress_test/integration_tests/common/helper.js
@@ -1,9 +1,5 @@
 /* global cy Cypress*/
 
-function onCommandStateChanged(e) {
-       Cypress.log({ displayName: 'onCommandState', message: e.commandName + 
'=' + JSON.stringify(e.state)});
-}
-
 function loadTestDoc(fileName, subFolder, mobile) {
        cy.log('Loading test document - start.');
        cy.log('Param - fileName: ' + fileName);
@@ -51,11 +47,8 @@ function loadTestDoc(fileName, subFolder, mobile) {
        cy.visit(URI, {
                onLoad: function(win) {
                        win.onerror = cy.onUncaughtException;
-               }})
-               .then(function(win) {
-                       var map = win.L.Map.THIS;
-                       map.on('commandstatechanged', onCommandStateChanged);
-               });
+               }});
+
        // Wait for the document to fully load
        cy.get('.leaflet-tile-loaded', {timeout : 10000});
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to