From 03ce16f47cca5c7b7edce0cfc331ebf2c35e0d46 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Tue, 15 Sep 2020 13:17:44 +0200 Subject: cypress: NC: fix writer page orientation test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I32e946388f06b3412d54c37dd556976dff362aa7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102734 Tested-by: Jenkins CollaboraOffice Reviewed-by: Tamás Zolnai --- .../integration_tests/mobile/writer/hamburger_menu_spec.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cypress_test/integration_tests/mobile/writer/hamburger_menu_spec.js b/cypress_test/integration_tests/mobile/writer/hamburger_menu_spec.js index 8c2d6e985b..8e46bfb954 100644 --- a/cypress_test/integration_tests/mobile/writer/hamburger_menu_spec.js +++ b/cypress_test/integration_tests/mobile/writer/hamburger_menu_spec.js @@ -774,6 +774,13 @@ describe('Trigger hamburger menu options.', function() { cy.get('.leaflet-tile-loaded[style=\'width: 256px; height: 256px; left: 1023px; top: 5px;\']') .should('not.exist'); + // Move the cursor to the right side of the document, + // so the new tile will be visible and loaded. + helper.typeIntoDocument('{end}'); + + cy.get('.blinking-cursor') + .should('be.visible'); + openPageWizard(); helper.clickOnIdle('#paperorientation'); -- cgit