From 304f3e3d7ccfea65efb9967a829bffb3f5acd0a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Zolnai?= Date: Tue, 31 Mar 2020 17:03:19 +0200 Subject: [PATCH] cypress: mobile: this focus test is still unreliable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I10556880dfa87bc4afea0f5b76b719a5ffa658d0 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91433 Tested-by: Jenkins CollaboraOffice Reviewed-by: Tamás Zolnai --- cypress_test/integration_tests/mobile/writer/focus_spec.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cypress_test/integration_tests/mobile/writer/focus_spec.js b/cypress_test/integration_tests/mobile/writer/focus_spec.js index 4df2242af..84e2635a3 100644 --- a/cypress_test/integration_tests/mobile/writer/focus_spec.js +++ b/cypress_test/integration_tests/mobile/writer/focus_spec.js @@ -199,9 +199,10 @@ describe('Focus tests', function() { //cy.document().its('activeElement.className') // .should('be.eq', 'clipboard'); - cy.window().then(win => { - expect(win.canAcceptKeyboardInput(), 'Should accept input').to.equal(true); - }); + // This is unstable too + //cy.window().then(win => { + // expect(win.canAcceptKeyboardInput(), 'Should accept input').to.equal(true); + //}); }); it('Focus with hamburger menu.', function() {