summaryrefslogtreecommitdiff
path: root/cypress_test
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-09-16 15:08:19 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-09-17 12:23:19 +0200
commit980e2a16493831f95df1c92e4fa90f822190d2dd (patch)
tree55f84331255d9b656fc63aaaf5b811b09c5db9af /cypress_test
parentbdcfb9a1f0468db1c2869c4008165929ac95ae1f (diff)
cypress: php-proxy: fix insert header test.
Change-Id: Id04c35fcdf465ab2e56d1803808d2a0afffef6d6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102890 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'cypress_test')
-rw-r--r--cypress_test/integration_tests/mobile/writer/insert_object_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
index b9ffa6294..c2731075d 100644
--- a/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
+++ b/cypress_test/integration_tests/mobile/writer/insert_object_spec.js
@@ -135,7 +135,9 @@ describe('Insert objects via insertion wizard.', function() {
it('Insert header.', function() {
// Get the blinking cursor pos
- helper.typeIntoDocument('xxxx');
+ helper.typeIntoDocument('xx{enter}');
+
+ helper.typeText('body', 'xxxx', 500);
getCursorPos('left', 'cursorOrigLeft');