Commit graph

551 commits

Author SHA1 Message Date
Tamás Zolnai
7dfb91cbad cypress: more effective testing of saving.
Change-Id: I2d32597e7ed55a6b470b0a6d0c40d94ce3a96c2d
2020-10-07 16:12:01 +02:00
Tamás Zolnai
9c9cbc72da cypress: add comment insertion test for desktop.
Change-Id: Id1ddd25bc4315a5023cbce0c52eadb8227b9eada
2020-10-07 14:12:56 +02:00
Tamás Zolnai
43e22a9a43 cypress: add a paragraph property test for desktop.
Change-Id: I3240846a976322103c20f09c380f3a0796ceee98
2020-10-07 14:12:56 +02:00
Tamás Zolnai
85291d9cfe cypress: add a top toolbar test for desktop.
Change-Id: Iff8ee5d737d66748e22000e8ae728cbb162cbef0
2020-10-07 14:12:56 +02:00
Andrea Gelmini
9d01540680 Fix typos
Change-Id: I7d487f32ca43e19023760ef3c6bb1683607f93d1
2020-10-07 12:51:08 +02:00
Andrea Gelmini
596b26c7d9 Fix typo in code
Change-Id: I0ef8fe7ff382d7cb295aa8054721448d9bf8e477
2020-10-07 12:46:37 +02:00
Tamás Zolnai
6a045f0321 cypress: test also 'minus' button of a spin field (mobile).
Change-Id: I22a2864060004a466c32e790075b879317f6b0fd
2020-10-06 08:59:42 +02:00
Tamás Zolnai
a82c05e74b cypress: test new slide button on mobile.
Change-Id: I1484b0340585073b50db0e29ba4a565200aab138
2020-10-06 08:59:42 +02:00
Tamás Zolnai
a49c175504 cypress: test setting automatic color on mobile wizard.
Change-Id: I31854980ae1dc3065f297b80d3287aa1fae999b6
2020-10-06 08:59:42 +02:00
Andras Timar
25764d83ca change git repo URL and product name in package.json files
Change-Id: I15b786fa1fb3be78c4fe6e83777fc7df396de434
2020-10-05 14:04:40 +02:00
Tamás Zolnai
55c75144f7 cypress: fail on missing LO installation.
Jenkins sometimes does not work properly and core
installation is not accessible for online build.
In this case the test build was passing without
actually run the tests. Fail on this instead to
avoid getting untested patches in the code repo.

Change-Id: I35c49562dfeaeda5f6c8aa4bd3a746b1f04de3ea
2020-10-05 13:32:12 +02:00
Tamás Zolnai
9d6d7eb60f cypress: import cypress-wait-until module everywhere needed.
Change-Id: I8f278061332493d5af6cce727c4726d86be110f5
2020-10-02 19:13:02 +02:00
Tamás Zolnai
06ec6b7a62 cypress: remove workaround in calc helper method.
Issue was fixed in:
328ed48117

Change-Id: Ie6a98a51e6993b3582c6e47439ecaaf392873539
2020-10-02 19:13:02 +02:00
Tamás Zolnai
3a3a0f88dd cypress: update 'Copy and Paste text.' test.
Change-Id: Ib9bb80569ccb00d8b79edb27ce75590c1a9b8f3e
2020-10-02 19:13:02 +02:00
Tamás Zolnai
e475ff7cd9 cypress: update 'Shape related focus.' test.
Change-Id: I9dec33efadf5e6651cf75cf10f7af02114e34260
2020-10-02 19:13:02 +02:00
Andras Timar
34bc966d68 change product name
Change-Id: Ic34d324c952364442d3f4f9f0758676ab57c8a9a
2020-10-02 14:18:28 +02:00
Tamás Zolnai
4370817eea cypress: reenable sidebar existance check.
Issue was fixed:
4f41ac6096

Change-Id: I1d67ebae3b4d529e8e9b5060dbb107dd67f92851
2020-10-02 13:47:04 +02:00
Tamás Zolnai
a460dab972 cypress: remove workaround for getting initial tile.
Let's check the canvas to exist and wait until the
first tile arrives and so the canvas is not fully
white.

Change-Id: I7102298a406d61246fc40a0842bafb2cd124d81e
2020-10-02 13:47:04 +02:00
Jan Holesovsky
26fc803a0e Use the CanvasTileLayer for all rendering.
Fixes problems particularly with the new Chrome where the original
approach to tiles can be causing blurry text.

Change-Id: Icf598df0e997d493b111fad1c59e7dcb5f376801
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103681
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-09-30 20:16:45 +02:00
Tamás Zolnai
e99afd6ce5 cypress: enable some table related tests.
Change-Id: I48b27d1ae042d03feef71c550cc0fdef8459e201
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103624
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-29 18:52:36 +02:00
Tamás Zolnai
54dde3108e cypress: fix test suite name.
Change-Id: I23223cc36437dfdb3e5aa3e73979874f6424a986
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103623
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-29 18:52:26 +02:00
Tamás Zolnai
18c5736964 cypress: add chart test on mobile.
This use case is crashing now, so let's disable it
for now.

Change-Id: Ie63af52eed39c6235f628687f93372ef526319c6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103555
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-28 16:43:06 +02:00
Tamás Zolnai
09aa1c17e1 cypress: NC: test restoring a document's previous version.
Change-Id: I7cabd7138dbabe870382603b5ad9d5415c9db21c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103412
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-25 19:45:53 +02:00
Tamás Zolnai
391b8b7fd7 cypress: NC: extract some helper methods for nextcloud specific features.
Change-Id: I47b1811ce08888501733544eaa42b8b117a08a8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103292
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-24 10:59:07 +02:00
Tamás Zolnai
bfc7266395 cypress: check close/edit button state on mobile.
Change-Id: I576f2d8358fd922a10fd4a9e846dd28b49191cb3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103291
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-24 10:58:53 +02:00
Tamás Zolnai
02be3eaa94 cypress: NC: test nextcloud specific features also in Impress / Calc.
Change-Id: I47c5a318239c2b5c96f1bf8f69298d3369f67d43
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103290
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-24 10:58:44 +02:00
Tamás Zolnai
11b384b195 cypress: NC: test nextcloud specific features.
Change-Id: I52bc1709f29de1d69c2ae52c806bedad4eee8bc4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103254
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-23 16:41:44 +02:00
Tamás Zolnai
1d26d6513b cypress: disable multi-user tests for NC / php-proxy.
Change-Id: I3393a1fb0b998bd82295d6d566594ed05af50634
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103102
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-21 14:49:21 +02:00
Tamás Zolnai
95fbcdebed cypress: fix stopping test run in interactive test runner.
I reported the issue. Let's have a workaround until,
the bug fix is released.

Change-Id: I7d7719d311e0c0584b7d6e710286f28962d00a96
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103038
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-20 14:23:08 +02:00
Tamás Zolnai
5b6c0b8e1c cypress: NC: update afterAll method for mobile.
Newly close button does not actually close the document,
but steps back to read only mode. So we need to push it
twice.

Change-Id: Ic38f1e658396d9afe49496cfb75aa68df1c4623f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102997
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 14:12:26 +02:00
Tamás Zolnai
5c2f5eac2e cypress: use built-in test retries.
It's more effective, since it reruns only the failing test,
not the whole test suite. Also it has a nicer output.

Change-Id: I8a50a20366b76a5cedb4e9383220c53f367c5a68
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102995
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 12:50:45 +02:00
Tamás Zolnai
ea8c2eef02 update wait-on: 4.0.0 -> 5.2.0
Change-Id: Ia9f9b1ef51bfb88879e2a66eca30282eb58c6eb4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102994
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 12:50:37 +02:00
Tamás Zolnai
1e6dcf05d8 update cypress-log-to-output: 1.0.8 -> 1.1.2
Change-Id: I2e69d0cc24a32f44be7767ceca1ffe0d42ee5285
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102993
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 12:50:29 +02:00
Tamás Zolnai
03a65ba7f1 update cypress-file-upload: 4.0.7 -> 4.1.1
Change-Id: I312aa63f0fe394032fe06e9248a5a4da9eec6de1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102992
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 12:50:04 +02:00
Tamás Zolnai
5b1b66ac51 update cypress: 4.12.1 -> 5.1.0
* Fixes random failures in interactive test runner.
* Introduces test retries, what we did with an own script so far.

Change-Id: Iab5c32e854618a694e7d10d3c92c1c6c32465983
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102991
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-18 12:49:59 +02:00
Tamás Zolnai
011efb4ac4 cypress: improve moveCursor() helper method.
Change-Id: I41b781a2cd2f413b4daea979478351d29588fda3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102966
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-17 19:10:54 +02:00
Tamás Zolnai
d29ad2b57f cypress: update tile / marker positions.
It seems the tile container was moved to right with one
pixel. Update the test accordingly.

Change-Id: Ie8c370419e0b19abaafda379e95f405eea27b64f
2020-09-17 15:03:54 +02:00
Tamás Zolnai
584d50b8ea cypress: add some note to README about php-proxy.
Change-Id: Iecbd80f9d145bf5c9d617f6ce6ada94c0bd9d91b
2020-09-17 14:46:28 +02:00
Tamás Zolnai
08ae0508f2 cypress: php-proxy: blacklist formulabar related test.
Change-Id: Ia5224adc358d6099056ee0b9938ab8b50e7f4e80
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102893
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-17 13:17:12 +02:00
Tamás Zolnai
228d8af563 cypress: php-proxy: blacklist table related tests.
The application freezes with tables, beacuse of an
invalidate tiles loop. With php-proxy the lot of invalidate
tile messages blocks the execution.

Change-Id: Ife08b7cb335afc69108d970a8f0147be1ae9d90e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102892
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-17 12:23:45 +02:00
Tamás Zolnai
1fa089901e cypress: php-proxy: fix shape related tests.
Change-Id: I59e115785357e213346c9c403dc3078ef0b2b706
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102891
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-17 12:23:32 +02:00
Tamás Zolnai
980e2a1649 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>
2020-09-17 12:23:19 +02:00
Tamás Zolnai
bdcfb9a1f0 cypress: php-proxy: blacklist image insertion tests.
For some reasion cypress image loading mechnism is not
working with php-proxy. Without cypress image insertion
works. So now I disable this test, later we can fix-up
cypress test to handle this scenario.

Change-Id: Id1b62f28b3f0cdfe9e26cc96dbafcbacbf472be8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102889
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-17 12:23:05 +02:00
Tamás Zolnai
328ed48117 cypress: php-proxy: select a row to remove text selection.
Instead of selecting a column. Selecting a column means
1048576 cells, which makes things slow. While selecting a
row means only 1024 cells, which won't slow down the
execution. This issue becomes more visible with php-proxy
since it's even slower.

Change-Id: I67828dcba250b2d04053cd44c6f8c83e7a466792
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102749
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-15 18:20:40 +02:00
Tamás Zolnai
8899b58745 cypress: php-proxy: fix text wraping test.
It could fail without php-proy too, but php-proxy
slows things down and makes this issue more visible.

Change-Id: I6bda9bfd195b28c797b0690e05cddf3f0ee98e12
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102750
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-15 17:05:14 +02:00
Tamás Zolnai
03ce16f47c 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>
2020-09-15 15:47:26 +02:00
Tamás Zolnai
f6d5cf9c3f cypress: support running tests with php-proxy.
Change-Id: I9fe4a974582e0475026f6798a338bae033e6d7e6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102733
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-15 15:40:22 +02:00
Tamás Zolnai
f0ad3cad53 cypress: fix random failure of date / time field insertion test.
Change-Id: Icc7d28ab1c436d4dc7fc32c7a6ecb3fdc98281d9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102656
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-14 12:15:19 +02:00
Tamás Zolnai
9f7cf27f7b cypress: NC: document running tests with nextcloud.
Change-Id: I9f2075e36c6d569537cf2c11cc99eb31dbd1f84f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102484
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-11 18:29:02 +02:00
Tamás Zolnai
beb84fb38c cypress: NC: fix copy&paste desktop test.
Change-Id: I5cd8ad2fe6682e34100fdc0409c2792acd115566
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102475
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-11 18:28:52 +02:00