diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-09-15 13:17:44 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-09-15 15:47:26 +0200 |
commit | 03ce16f47cca5c7b7edce0cfc331ebf2c35e0d46 (patch) | |
tree | 9a65abb7105c438615d083d02484c9d82a1736f0 | |
parent | cypress: support running tests with php-proxy. (diff) | |
download | online-03ce16f47cca5c7b7edce0cfc331ebf2c35e0d46.tar.gz online-03ce16f47cca5c7b7edce0cfc331ebf2c35e0d46.zip |
cypress: NC: fix writer page orientation test.
Change-Id: I32e946388f06b3412d54c37dd556976dff362aa7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102734
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
-rw-r--r-- | cypress_test/integration_tests/mobile/writer/hamburger_menu_spec.js | 7 |
1 files changed, 7 insertions, 0 deletions
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'); |