cypress_test/integration_tests/mobile/writer/focus_spec.js |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 3c758f5aacaf874e78234e7d3b5d54852946ab6a
Author:     Ashod Nakashian <[email protected]>
AuthorDate: Sat Mar 21 10:41:31 2020 -0400
Commit:     Andras Timar <[email protected]>
CommitDate: Thu Mar 26 17:56:53 2020 +0100

    cypress: check keyboard visibility when editing shapes in writer
    
    Change-Id: I1580f4620459797b95eecb88edbcd12406531618
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90992
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Andras Timar <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91127
    Tested-by: Andras Timar <[email protected]>

diff --git a/cypress_test/integration_tests/mobile/writer/focus_spec.js 
b/cypress_test/integration_tests/mobile/writer/focus_spec.js
index f1efae3ee..49fbeae8b 100644
--- a/cypress_test/integration_tests/mobile/writer/focus_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/focus_spec.js
@@ -191,13 +191,17 @@ describe('Focus tests', function() {
                                var posX = svg[0].getBBox().x + 
svg[0].getBBox().width / 2;
                                var posY = svg[0].getBBox().y + 
svg[0].getBBox().height / 2;
                                cy.get('#document-container')
-                                       .dblclick(posX, posY);
+                                       .dblclick(posX, posY).wait(100);
                        });
 
                // Document still has the focus
                // TODO: Focus is inconsistent here.
                //cy.document().its('activeElement.className')
                //      .should('be.eq', 'clipboard');
+
+               cy.window().then(win => {
+                       expect(win.shouldAcceptInput(), 'Should accept 
input').to.equal(true);
+               });
        });
 
        it('Focus with hamburger menu.', function() {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to