Tamás Zolnai
28029dce14
cypress: mobile: Add more tests for changing shape line properties.
...
Change-Id: I7eb2132b591f081087dca1999ce81e002ccd5101
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88972
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 18:33:46 +01:00
Tamás Zolnai
7de5068426
cypress: mobile: Update table reated tests.
...
There is no focus any more after selecting the
table, so we need to use a different method for
moving the cursor in the first cell.
Change-Id: I9d03337d7cb710224a892472f0989896d2e03024
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88971
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 18:27:32 +01:00
Tamás Zolnai
23d1adcbcf
cypress: mobile: Add some tests for changing shape properties.
...
Change-Id: Ibd437591c9b32af242416aadcbe5683ddfeb04c3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88874
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 16:15:19 +01:00
Tamás Zolnai
dfd44336b0
cypress: desktop: Fix-up copy-paste test.
...
Change-Id: I936315ae60e0f1bcd245fa8c361a511a690809a8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88877
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-17 18:06:57 +01:00
Henry Castro
cefcfcfe19
loleaflet: mobile: use hyperlink tag for context menus
...
Change-Id: Iac83687794c90ff3439e7a5c833d24007ec52ec3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88545
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-17 15:58:11 +01:00
Tamás Zolnai
466eedabb0
cypress: mobile: Add some basic tests for spellchecking context menu.
...
Change-Id: I9ff2ce361670e407e8823f08c253e60bde3e8657
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88719
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-14 16:23:49 +01:00
Tamás Zolnai
f7d232d758
cypress: Create workdir in the builddir.
...
Change-Id: Ief5a74412b7e12350d83b3af4345bf813288065c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88628
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-13 20:14:18 +01:00
Tamás Zolnai
3b500642d4
cypress: Fix build failure related to field insertion.
...
Use en-US locale. In the tests of date / time fields
the date format contains the locale, which was set to en-US
originally.
Change-Id: Ida56dd8a3e64b0c81d70d010f3aabf40da7d73a0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88620
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-13 18:53:34 +01:00
Henry Castro
a420aef10d
cypress: makefile: fix running specific test
...
buildir != srcdir
Change-Id: If3f33b546d9c6a95ba214d2d26213ca95fe52e2d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88605
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-13 15:31:04 +01:00
Henry Castro
ff7cd32ba2
cypress: ensure English locale
...
My browser is Spanish by default
Change-Id: I2f3a2aaf7a6b0856c778dc9b943e23f8c168a394
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88568
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-13 15:30:29 +01:00
Henry Castro
c2de19b368
cypress: makefile: fix build dir expansion
...
builddir != srcdir
Change-Id: I8243fb28782bbe123b65ec86a36770323092b9f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88561
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-13 15:29:51 +01:00
Tamás Zolnai
5d41b930e6
cypress: mobile: Organize tests based on component.
...
Change-Id: I49f6e76b219e4c55add05b5a8489e51c518625ab
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88553
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-12 19:14:42 +01:00
Tamás Zolnai
f8116809f7
cypress: mobile: Fix up calc focus test.
...
Change-Id: I674f7b6945b367f9c7a9541681a56f4c556c1cb7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88552
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-12 19:14:25 +01:00
Tamás Zolnai
f93e3a4eda
cypress: mobile: font size combobox works now with core/master.
...
Fixed in:
18dd0254a38ca91d0d325aaecc4227724c035d87
Change-Id: I1e74d8f031cd5bfe1c74ab06693b2c39e97cc866
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88551
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-12 19:14:10 +01:00
Tamás Zolnai
8f4143dd74
cypress: mobile: Update shape related focus test.
...
One tap on a shape does not move the focus on the document
since this commit:
9fcd4d3777
Change-Id: I5d176be7c5dd8296c642c41b8d1e2fcf5945ab27
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88521
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-12 13:26:33 +01:00
Tamás Zolnai
aa9d676cd9
cypress: mobile: Test focus on second tap in Calc.
...
Change-Id: I1ce1b45f17f1d75c4bc7c1a6a63dfd05f2803612
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88520
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-12 13:26:22 +01:00
Tamás Zolnai
fe3d3e6998
cypress: mobile: Add some focus related tests (writer).
...
Change-Id: Ibe2ce81cfea0c0d4bf9af584c54e5ee8c1e356f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88381
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-10 21:42:54 +01:00
Tamás Zolnai
b63c285075
cypress: mobile: Add example focus test for impress and calc.
...
Change-Id: I658cb7b59a2bb2a6f6a554c18aea7263063bd636
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88382
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-10 21:42:27 +01:00
Tamás Zolnai
65d8f4062f
cypress: Fix tests failing with CI.
...
Change-Id: Iea1292bf44d77403356b3e9800c2af4c2237d08d
2020-02-08 17:43:30 +01:00
Tamás Zolnai
8dece1a3c3
cypress: mobile: Update some table related test cases.
...
Change-Id: I7c780785aab9db40e9b1f6312728ee5459e7716b
2020-02-07 12:31:43 +01:00
Tamás Zolnai
08d6c3fdf9
cypress: mobile: Font size combobox is broken on core/master.
...
Change-Id: I9d46d654cc3c890b610f99d02c9b91f057ae4e92
2020-02-07 10:50:00 +01:00
Tamás Zolnai
7124587e70
cypress: mobile: Update ColorPicker related tests.
...
Which were failing after a recent commit:
6dc92fb812
Change-Id: I79939c7bc7e2a26f6a235c5079976cd5adb31959
2020-02-07 10:23:05 +01:00
Tamás Zolnai
f53e030339
cypress: mobile: emulate tap and long press events.
...
To achive a better test covarage.
Now, the simple click() method is recognized
as 'tap' by hummerjs. For long press we need
to use low level events.
I expect that we can emulate other mobile events too
on a similar way.
Change-Id: I5f43afafe087133e707eed6ff8a43765324d5e24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88161
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-07 10:09:54 +01:00
Tamás Zolnai
ce063cdce4
cypress: mobile: Do the core detection inside a beforeAllMobile method.
...
Change-Id: I80717c8aca5b7e75f282c38aaa1608ddd14facda
2020-02-06 14:23:34 +01:00
Tamás Zolnai
7578a50133
cypress: mobile: Fix styles related tests with core/master.
...
Change-Id: Ifc2d6e73bd903ae86203c75681b05e0cbd86591b
2020-02-06 14:23:34 +01:00
Tamás Zolnai
1b95d3fe1e
cypress: mobile: Disable table related test cases for core/master.
...
SelectAll does not work for table for some reason.
Change-Id: Ie803d6f94bef0ac9052a5145a40330dcb7ff2f66
2020-02-06 14:23:34 +01:00
Tamás Zolnai
e6ee678592
cypress: Introduce a way to detect LO core version.
...
And disable some failing tests for core/master.
No idea why these items are missing from paragraph
panel with core/master. Seems a regression from cp-6-2
to master.
Change-Id: Ia91f38cbcf74d0b45730c8643559c298376ae153
2020-02-06 14:23:34 +01:00
Tamás Zolnai
1a8b128ac2
cypress: mobile: Add more tests for table panel of mobile wizard.
...
Change-Id: I4a3126ccb01ed7afdefd0de6bacec11d23a7406a
2020-02-05 13:44:18 +01:00
Tamás Zolnai
26bcd86640
cypress: mobile: Make this test more stable.
...
Change-Id: I8eb8381696c79c1e7a04b1cf88cab12c4c14de92
2020-02-04 15:44:22 +01:00
Tamás Zolnai
18b48ca022
cypress: mobile: Add tests for changing table layout.
...
Change-Id: If819b8cc7341eb8d82219458edfecddd7b4d7c2b
2020-02-04 15:33:49 +01:00
Tamás Zolnai
14ce7ab937
cypress: mobile: Introduce copyTableToClipboard() method.
...
And use it to check insert table's properties.
Change-Id: I7b188ddd139db2f6de5e2872277dce022073171d
2020-02-04 15:33:49 +01:00
Tamás Zolnai
8c9ef8db4c
mobile: Hide new style button on mobile wizard.
...
It opens a tunneled dialog, what we try to avoid on mobile.
Also after the recent focus related changes this dialog
can't get the focus, so can't add the name of the new style.
Even if I workround this focus issue and I manage to add a new
style, then that style won't be part of the style list displayed
on the mobile wizard.
All in all adding new style does not work now, so better to hide
this item.
Change-Id: I35c3686129621656f3f63914c9590248f320c15d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87965
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 13:15:12 +01:00
Tamás Zolnai
c3c12e6fdf
mobile: Remove linespacing item from mobile wizard.
...
In a desktop LO, this item opens a drop down list,
which seems to be not implemented in online yet.
Change-Id: Ia9d82cf9a058a43077043dc128dbbc16f18da83a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87772
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:14:03 +01:00
Tamás Zolnai
3a1cbc8027
mobile: Remove character spacing item from mobile wizard.
...
This item triggers the character dialog, which we should
avoid on mobile. In a desktop LO, this item opens a drop
down list, which seems to be not implemented in online yet.
Change-Id: I56a584e6665184c4242cddc4e78ba849a150c711
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87771
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-04 11:13:44 +01:00
Tamás Zolnai
e7d8c7456f
cypress: mobile: Use a bigger mobile screen size.
...
Change-Id: Ica3598dd2f963b46891114a67c76f0d4da205c11
2020-02-03 06:37:36 +01:00
Tamás Zolnai
7a140da9c9
cypress: Make this desktop test case more stable.
...
Change-Id: I9aeb6a4c87a2a5a8a0ade320e993ad85ca4c9e82
2020-02-03 05:53:22 +01:00
Tamás Zolnai
1cfc1c59e9
cypress: Check the admin console to make sure the test document is closed.
...
Change-Id: I485e8596a30c7bb1efae140143627078cde66bca
2020-02-03 05:53:22 +01:00
Tamás Zolnai
40cd54320d
cypress: mobile: Add tests for bottom toolbar items.
...
Change-Id: I35aa6231b3a0a16456ce08f1586687b9e73ef50f
2020-02-03 05:53:13 +01:00
Tamás Zolnai
978213a12d
cypress: mobile: Add a small wait time for style applying code.
...
The sidebar / mobile wizard is rerendered randomly sometimes
which caused this test to fail.
Change-Id: I4d95cb783ca92a81ea2f6fcdc4e87efaa6747e0a
2020-02-03 05:53:06 +01:00
Tamás Zolnai
8ce8a90a37
cypress: mobile: Add some test about styles.
...
Change-Id: Ie61f5bd2a5203d501db60fc6f75e878c728d3a96
2020-02-02 12:23:18 +01:00
Tamás Zolnai
17803d5713
cypress: README: Add an example for it.only() usage.
...
Change-Id: I042b0f1bf05942b98bcd255f7bdf0241cfc3bfdd
2020-02-02 12:23:18 +01:00
Tamás Zolnai
ad0d6c5742
cypress: Update cypress version.
...
Change-Id: I3873ae24f30f04fa40f758f19ac77a78b63f5c26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87770
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-01-31 15:33:05 +01:00
Tamás Zolnai
1a65e4040f
cypress: Check JS errors in all test code.
...
Change-Id: Ifb33b98b5da61ac69cce91b9985e313863764d5c
2020-01-30 15:24:14 +01:00
Tamás Zolnai
43e09d20bb
cypress: mobile: Extract after method to close document properly.
...
Change-Id: Id88aec59546cf1bdb51630405756a4321ecabd6c
2020-01-30 15:17:39 +01:00
Tamás Zolnai
92f93481dd
cypress: mobile: Extract copy to clipboard method.
...
Change-Id: I1c4a74b7e50a1b8dae503c8fd8af04c9a49a07b6
2020-01-30 15:17:39 +01:00
Tamás Zolnai
8d906e4b1a
cypress: mobile: Extract selection method.
...
Change-Id: I0fb69a9f5acf90ce76951a83b4220ac52e550fb2
2020-01-30 15:17:39 +01:00
Tamás Zolnai
d95f76438e
cypress: mobile: Remove accidentally pushed it.only()
...
Change-Id: Ib6d747de11be654a86580993f4576d7c329423c1
2020-01-30 15:17:39 +01:00
Tamás Zolnai
5f7239054f
cypress: mobile: Add some more insertion tests.
...
Change-Id: Ie918fa1c386e25b767340afc9ec2fc61d8038ced
2020-01-29 15:33:44 +01:00
Tamás Zolnai
434f89b10c
cypress: mobile: Test applying paragraph properties.
...
Change-Id: Icee81a71dcbdd7888f77e8cd53d7f0b9234ea94c
2020-01-29 15:33:31 +01:00
Tamás Zolnai
fb892794e7
cypress: mobile: Test formatting mark insertion.
...
Change-Id: Ib3619e6830f25d7c78e369d714e0c4de6a47244b
2020-01-29 15:33:20 +01:00