cypress_test/integration_tests/mobile/impress/impress_focus_spec.js |   22 
+---------
 1 file changed, 3 insertions(+), 19 deletions(-)

New commits:
commit a1eaa97954e0e72a27cc407ec3ec34f8fb129772
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Mon Feb 24 11:54:47 2020 +0100
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Mon Feb 24 11:54:47 2020 +0100

    Revert "cypress: mobile: split this test case."
    
    This reverts commit c692487accb3f64a9af4528d1efb5ba9d51358b9.
    
    Pushed accidentally.

diff --git 
a/cypress_test/integration_tests/mobile/impress/impress_focus_spec.js 
b/cypress_test/integration_tests/mobile/impress/impress_focus_spec.js
index 5d52067ab..96eb334d7 100644
--- a/cypress_test/integration_tests/mobile/impress/impress_focus_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/impress_focus_spec.js
@@ -11,7 +11,7 @@ describe('Impress focus tests', function() {
                helper.afterAll();
        });
 
-       it('Single tap on a text shape.', function() {
+       it('Basic document focus.', function() {
                // Click on edit button
                cy.get('#mobile-edit-button').click();
 
@@ -33,30 +33,14 @@ describe('Impress focus tests', function() {
                // No focus
                cy.document().its('activeElement.tagName')
                        .should('be.eq', 'BODY');
-       });
-
-       it('Double tap on a text shape.', function() {
-               // Click on edit button
-               cy.get('#mobile-edit-button').click();
-
-               cy.get('#tb_actionbar_item_mobile_wizard')
-                       .should('not.have.class', 'disabled');
-
-               // Body has the focus -> can't type in the document
-               cy.document().its('activeElement.tagName')
-                       .should('be.eq', 'BODY');
 
                // Double tap on a text shape gives the focus to the document
                cy.get('#document-container')
                        .dblclick();
 
-               // Shape selection
-               cy.get('.leaflet-pane.leaflet-overlay-pane svg g')
-                       .should('exist');
-
                // Document has the focus
                // TODO: Focus is inconsistent here.
-               cy.document().its('activeElement.className')
-                       .should('be.eq', 'clipboard');
+               //cy.document().its('activeElement.className')
+               //      .should('be.eq', 'clipboard');
        });
 });
commit 7b3b034b6ae18c0fe052d26a376deb8718f493e0
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Mon Feb 24 11:43:06 2020 +0100
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Mon Feb 24 11:43:06 2020 +0100

    For Jenkins.
    
    Change-Id: I3db131054575cc95e1d23c9a014398f3e3857119
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to