Commit graph

648 commits

Author SHA1 Message Date
Tamás Zolnai
142231151a cypress: NC: blacklist some tests.
In NC environment we don't handle cy.document() and
cy.window() well. Disable related tests for now.

Change-Id: Ibb9a9783bf1718a030d10fc69f8b7653fb12bc15
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102471
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-11 18:28:12 +02:00
Tamás Zolnai
45ac93575b cypress: NC: don't test local related part of formatting.
'1033' means en-US here, but we don't need to test this,
so it won't be a problem to have a different local settings
inside NC.

Change-Id: Ifcd3798b7356b7d80a994f9d00280a6039cea5a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102470
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-11 18:28:00 +02:00
Tamás Zolnai
69645b9697 cypress: NC: delete exisitng test file more effectively.
We could not remove the existing test file, if there are
a lots of files in the NC storage, because in this case
not all files were displayed on the screen and so we could
not know whether the file was there or not.
So instead we remove all files, what we can do easily.

Change-Id: Iae7a8ee5c2064ecd94c29d990b7507001827b0dc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102469
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-11 18:27:42 +02:00
Tamás Zolnai
ebd040cacb cypress: support running test with nextcloud integration.
Change-Id: I0b2255225a6c0eca5317559df33bb12b841dac08
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102260
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-10 14:03:24 +02:00
Tamás Zolnai
0d7a58aa57 cypress: add 'make check-proxy-mobile' command.
To run mobile test with php-proxy simulation.
It's an initial command, should be improved later,
after php proxy simulation nicely works with the
tests.

Change-Id: Id9d2bacfbf09ca34a2c84e0d32808749df4c1909
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102321
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-09 15:50:35 +02:00
Tamás Zolnai
b027150707 cypress: disable unstable test.
Change-Id: I3358c38d11692bcd7e08aa79fd6a9e95c6509654
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102259
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-08 16:39:58 +02:00
Szymon Kłos
70827c372c Simplify download process
Use hash to identify download and pass that to the client.
This allows us to reduce parameters for download requests.
DocBroker maps download ids to URL in the file system.

Change-Id: I254d4f0ccaf3cff9f038a817c8162510ae228bc5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101992
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-09-07 15:00:20 +02:00
Tamás Zolnai
928d675270 cypress: test search field's focus when we type fast.
Change-Id: If8523238aa5fed258fd93e8a9bcca03ed3490455
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101989
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-03 10:52:05 +02:00
Tamás Zolnai
95bc84e748 cypress: remove outdated comment.
Change-Id: I132ec38feacc5450e0b31d910b8f29e09dca2a66
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101988
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-03 10:51:54 +02:00
Tamás Zolnai
433b108c50 cypress: simplify this.
Change-Id: I4b055f13caebd7f034c4aa8aea724aff300c113d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101766
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-01 00:20:18 +02:00
Tamás Zolnai
b16182c3c3 cypress: correctly append "Second chance!" string to the output.
Change-Id: I193b4b916babcda4e321b9c83e0301cc8a4b947f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101734
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-31 15:41:03 +02:00
Tamás Zolnai
9136bda96e cypress: use nonambiguous line style here.
Change-Id: I8679fb78a2af530692e91a84bacf2879506848ab
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101735
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-31 15:40:54 +02:00
Tamás Zolnai
d6005f0947 cypress: add a way to run tests with different browsers.
e.g. CYPRESS_BROWSER="firefox" make check

Change-Id: I3017179152c6e875df667da5081abb0c8cde60b1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101733
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-31 15:40:44 +02:00
Michael Meeks
ab0538bf30 Enable cypress search / focus test.
Change-Id: I9f6482d80fac4dae677dcb471deff3b3575dbbfd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100986
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-19 14:24:19 +02:00
Tamás Zolnai
8d3209dd1e cypress: add log lines to impress helper methods.
Change-Id: I64289fa556e12142400bca07ff9d45f2b2df72cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100757
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 21:33:39 +02:00
Tamás Zolnai
15444dbf33 cypress: improve removeShapeSelection() method.
Instead of using a click() and a dblclick() method, do
click() repeatedly, until selection is actually removed.
For example, it takes ony click when the shape is selected,
but no text is selected inside it. It takes two clicks when
a text also selected and sometimes when selection stucks it
takes even more click.

Change-Id: Ic017d0f5b623de29343cf171a8f4d64988fdb721
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100756
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 20:44:39 +02:00
Tamás Zolnai
6d239a3a9f cypress: improve selectTextOfShape() method.
Sometimes double clicking inside the shape does
not makes the shape to step into text editing mode.
To avoid this kind of issue, we can click more times
until we get the cursor.

Change-Id: I4a9671c299144bd8ca250b575665538ab14758ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100755
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 20:37:58 +02:00
Tamás Zolnai
0134d74b45 cypress: improve typeIntoDocument() method.
Change-Id: I9e28a44a42596624c6c40984581e97679fad63b3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100754
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 20:37:47 +02:00
Tamás Zolnai
0139a7c2f4 cypress: improve selectAllMobile() method.
A bug occures when we remove a column selcetion.
The document freezes for seconds before it is
updated. Let's workaround it in cypress tests,
until it's fixed.

Change-Id: I5436c969655260d377d4ce47c86270ef15a15c2f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100740
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 14:31:12 +02:00
Tamás Zolnai
a3da55a28d cypress: avoid random failure of slide operations tests.
It seems there is a bug in sidebar showing code,
that it's not always shown by opening a document.
So instead of checking the visibility of sidebar,
just wait some time to finish document load.

Change-Id: I9d94b7fe085f4dfcf366789e27ab1bb388bf13b1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100675
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-13 20:23:30 +02:00
Tamás Zolnai
815802e6e0 cypress: improve typeIntoDocument() helper method.
First grab the focus to the textarea, otherwise
the force: true flag leads to unexpected behavior.

Change-Id: Ic99bb1b22734733d7bb40b895173e5382c2ba5f4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100605
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-12 19:59:35 +02:00
Tamás Zolnai
8b35a4618f cypress: improve calc column selection methods.
Searching '-8px,' is not stable, because sometimes it's
'-9px,'.

Change-Id: I6226a1ec3086b84540d74cb1c7691cf355752337
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100600
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-12 16:51:31 +02:00
Tamás Zolnai
dbe8502a58 cypress: introduce typeIntoDocument helper method.
It was not consistent what we used to type into the
document (e.g. 'body', 'textarea.clipboard' or
'#document-container'). Also we need to use force
parameter because 'textarea.clipboard' has no actual area
which makes cypress fail with: '`cy.type()` failed because
the center of this element is hidden from view'.

Change-Id: I04e0a82ed8450d583e407715fde1855197cae109
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100574
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-12 14:59:30 +02:00
Tamás Zolnai
e4a40a515b cypress: stabilize simultaneous typing test.
Change-Id: I1ce16b16fcab38fd63255d18de257ece5977c9be
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100544
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-11 19:26:42 +02:00
Tamás Zolnai
4c2ba4ae57 cypress: stabilize form field tests.
Change-Id: Iceeb8ff6231fc401943c4be8835955a50278cf17
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100530
Tested-by: Jenkins
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-11 18:47:50 +02:00
Tamás Zolnai
a6e2ca1780 cypress: improve moveCursor() helper method.
Allow zero as cursor position.

Change-Id: Icfcae959ab011b2e8ad76db424552a152d4267dc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100500
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-11 18:44:11 +02:00
Tamás Zolnai
4f31743307 cypress: add focus tests for search field.
A known issue is that when the sidebar is updated
the focus is grabbed from the search field.

Change-Id: I762de7c6498f5b015465af325a24996719caeae1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100477
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-11 14:56:22 +02:00
Tamás Zolnai
8aab73a4e2 cypress: wait for the sidebar after load in dekstop tests.
The sidebar is opened after the document is opened.
Opening the sidebar affects the whole layout, so better
to wait until it's finished before we start to interact
with the document.

Change-Id: I15537e8823d1c6c80fb586eb3560103b9173f37c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100442
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-11 12:09:14 +02:00
Tamás Zolnai
b56cff6520 cypress: introduce make check-firefox command.
To run all cypress tests inside firefox browser.

Change-Id: I965666e8b6b7aad5a45d1fef4fc9a078aa30615d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100441
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-11 12:08:58 +02:00
Tamás Zolnai
cfc62f864d cypress: use actual LOOLWSD version hash.
The related issue was fixed upstream.

Change-Id: I8b1191d3c0d5543233ace9322a7d768b3424d62d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100435
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-10 15:37:46 +02:00
Tamás Zolnai
76c2481190 update cypress: 4.9.0 -> 4.12.1.
Change-Id: I97e94f32697cac9002aa34632b6a80f8c6a0e127
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100434
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-10 15:37:37 +02:00
Tamás Zolnai
9c312a4cc6 cypress: group multi-user tests based on component.
Change-Id: Ic2689b8e05c9827807585a4a718f112e23d1e5a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100324
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-07 15:37:14 +02:00
Tamás Zolnai
3753406ed2 cypress: update error message with multi-user interactive runner command.
Change-Id: Iccaa3fd3fd27133b21a099e463debb3e4d226c5f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100312
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-07 14:59:49 +02:00
Tamás Zolnai
a773fa6ab6 cypress: stabilize slide properties test.
This is a bug in the code, that after reopening the mobile
wizard it shows bad options.

Change-Id: I587c0181ac3e8f67b8cf27c190b9f4dad6f748d5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100276
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-07 02:29:26 +02:00
Tamás Zolnai
bfbdad2984 cypress: use moveCursor() for form field tests too.
Change-Id: Icf6ca70cc5b4afde36cca05d2dca0c078e714fac
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100275
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-07 02:29:17 +02:00
Tamás Zolnai
eb179113e5 cypress: introduce moveCursor() helper method.
Change-Id: I67a1e74fe03e464e71100428969f9458b8a018a2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100179
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 19:00:28 +02:00
Tamás Zolnai
8c6e24b565 cypress: simplify interactive runner rules.
Change-Id: I491eb0c78429981b05a888975380857f7bce8dcd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100168
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 14:56:39 +02:00
Tamás Zolnai
c34aca2588 cypress: add make run-multi command.
To run multi-user tests in interactive test runner.
It has two non-optional parameter. 'spec' defines the
test file and 'user' defines which user is run in the
interactive test runner. The other user is run in the
background.

Change-Id: I8612c201d7d3aeb2bdadd9d3786fb8eb0b60ab55
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100167
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 14:56:17 +02:00
Tamás Zolnai
ef96bd89ab cypress: stabilize simultaneous typing test.
Change-Id: I699e0b78583d41be273992fa4aa48b91da1a4e6c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100166
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 13:50:00 +02:00
Tamás Zolnai
f273888598 cypress: update run-cov command to run multi-user tests too.
Change-Id: If13dea05f5a506331f9f76177655ed65716d391e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100165
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 13:48:16 +02:00
Tamás Zolnai
9d51a1dc3f Fix typo.
Change-Id: I78aa76ece24c22f19f1687d350e0687b59fff95c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100164
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 13:40:24 +02:00
Tamás Zolnai
3f55e78f46 cypress: make this custom timeout also relative to the default value.
Change-Id: I9a8dcd68c31ecd57d8d8fec880dd74e99d922b96
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100163
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-05 13:40:14 +02:00
Tamás Zolnai
f657321d2b cypress: don't copy the test file by the second user.
We use file copying to create a clean test document
in the working directory. We don't need to do this twice,
the first user will do it first, then the second user
will open the same document.

Change-Id: Ide01b162b0c6a2b3a694706848c3ce93758f3f22
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100125
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-04 19:04:56 +02:00
Tamás Zolnai
387d2a10b2 cypress: wait more time for closing the document.
Change-Id: Icbfef53b630e2a0317e346f40f47f88b694fb909
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100049
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-04 11:59:55 +02:00
Tamás Zolnai
036cc02d00 cypress: add slide operations multi-user test.
Change-Id: I91a4a1ab581080d4b22c7b03224da4f48e157312
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100006
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-03 18:20:05 +02:00
Tamás Zolnai
e65ae5de93 cypress: add sheet operations multi-user test.
Change-Id: Iea31a01d5c85ada481711f771c3489c6aace6e61
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99979
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-03 15:33:08 +02:00
Tamás Zolnai
1d39969a9a cypress: extract openTextPropertiesPanel() method.
Change-Id: I14f424d3141d596f982cda349df786dd8940b6c1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99977
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-03 13:58:24 +02:00
Tamás Zolnai
210118a40a cypress: simplify beforeAll() methods.
We don't need an explicit parameter indicating the platform
type (e.g. mobile, desktop). We can check the userAgent to
get that information.

Change-Id: Ibbc041c4a389cff92203d245f55268ec4e93b0a0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99889
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-31 19:06:31 +02:00
Tamás Zolnai
f05e53af07 cypress: fix calc's bottom toolbar test.
Fix 'detached from DOM' error. In Calc we have a small
flickering of the bottom toolbar, because we have also
the formula bar appearing after editing is enabled.

Change-Id: If642d6ae0aae0fcc761382567a2d2e37ad3bf486
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99888
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-31 19:06:09 +02:00
Tamás Zolnai
1604fa99f8 cypress: update sidebar visibility test.
Test less which might make this test more stable.

Change-Id: Icf11af96bc5d21a14f0a74a641ffed3f91b6e482
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99783
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-31 12:51:22 +02:00
Tamás Zolnai
c99f2232b4 cypress: introduce ENABLE_VIDEO_REC flag.
We can enable video recording with this flag,
during a headless test run, so we can see what
happend on the UI.

Change-Id: I4558563a3de71742d8d6b1ca67f0c518d543afc7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99787
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-30 15:26:47 +02:00
Tamás Zolnai
c3d17108bf cypress: update run_iteratively.sh script to work with multi-user tests.
Change-Id: Ib817152deaa421bd25ae8c703edbf0cf2facd6fd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99782
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-30 15:26:31 +02:00
Tamás Zolnai
5b106d9edd cypress: fix-up check-multi command.
We need to introduce separate rules to dump
the log and to dump out the error message.
Otherwise GNU make evaluation breaks the workflow.
It evaluates $(wildcard $(ERROR_LOG)) before the
test were actually executed. So first run the tests,
then dump the error output and then go into error state.

Change-Id: I0f8e5de6800f0691cca14019819972437a741382
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99781
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-30 15:26:19 +02:00
Tamás Zolnai
d43c97a9ef cypress: make simultaneous typing test more stable.
Sometimes this text contains an additional end line character.

Change-Id: Id58eab9ea3b082781cdd8ec341fa2b058ba3b17e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99770
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-30 15:26:05 +02:00
Tamás Zolnai
02b4bd2fd8 cypress: disable this unstable test for now.
Change-Id: I9c339ac23b2ec9a732f4ceb9efe4b66024b70f23
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99775
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-30 11:29:24 +02:00
gokaysatir
b8ef29e554 cypress: Bottom bar click quick views test.
Change-Id: I54d5d819f04890fd7ac666728258804d1bb0d93a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98975
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-30 10:50:31 +02:00
Tamás Zolnai
fd6b984a3c cypress: introduce make check-multi command.
To run multi-user tests only.
- make check-multi runs all multi-user tests.
- make check-multi spec=sidebar_visibility runs
only the test pair with the specified name.

Change-Id: Idada04960a6a2d33c7f36ef57bc1d6a1d1cffa99
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99682
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-29 14:26:51 +02:00
Tamás Zolnai
27d3055dcf cypress: add a simultaneous typing multi-user test.
Change-Id: Ib4c410f95443c3775626465d474f52499705da97
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99676
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-29 13:00:28 +02:00
Tamás Zolnai
6cfe358fc5 cypress: rename test file to match with the test name.
Change-Id: Ifaee988ac9abf8f5862d1e54b6a5bc7f7158cd0c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99632
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-28 18:31:11 +02:00
Tamás Zolnai
8ee8f1e1bd cypress: add sidebar visibility multi-user test.
Change-Id: I790a2c149face5fc4899f183833c99471ceb20e1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99631
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-28 18:31:04 +02:00
Tamás Zolnai
f980eccde2 cypress: update multi-user test case.
Change-Id: I8e73c41df35b92305e31fd3c5e35d5c15ae6e8e8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99518
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-27 23:19:23 +02:00
Tamás Zolnai
bda83c263b cypress: better way of running multi-user tests.
Before we used the GNU make implicit parallelization
which triggered by recipe structure.
Instead of that we use linux's bakcground process
feature and run one client in the background and
the other one in the foreground.

Change-Id: I9de899686ae67b47eee005f157b6622ae4c5fe33
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99484
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-27 23:19:14 +02:00
Tamás Zolnai
439b4af8ad cypress: better way of detecting error during parallel run.
We used to grep for error messages in the output, but
it can change what is written out. Better to catch if
the command fails directly.

Change-Id: I8c3cba212b262227551876bfb23629a243424c39
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99365
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-27 23:18:59 +02:00
Tamás Zolnai
09abe6724f cypress: extract parallel test running code to a shell script file.
Change-Id: Ice856737b5b4bcfc6a202b507a03fdfa16938c25
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99364
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-27 23:18:50 +02:00
Tamás Zolnai
735a5a7f8b cypress: make multi-user test case more stable.
Adding a comment was not stable. Let's just change
some paragraph properties to check multi-user interaction.

Change-Id: If923312de2c85b8897bc7a0af1f8e3f560576cc0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99376
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-26 15:09:17 +02:00
Tamás Zolnai
5b70bcd4d3 cypress: avoid spaces in core version string.
It causes issues when passing this string as a
command line argument.

Change-Id: I9af569c8ab941f392800c3c678085c384bec2908
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99374
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-24 15:30:29 +02:00
Tamás Zolnai
514aca9e01 cypress: multi-user test case.
Change-Id: If2ee00c1e43b3cd854b83c762b74b2b8fee6d821
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99073
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-23 17:29:03 +02:00
Tamás Zolnai
1230748099 cypress: document used npm packages.
Change-Id: I13d3fd4add5993351e5d5e72a984e4aff522b748
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99072
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-20 18:16:04 +02:00
Tamás Zolnai
86f2db47a4 cypress: add an option to dump only console.error() messages.
With the ENABLE_LOGGING flag we get all errors coming from
the browser, which is a lot. So I introduce ENABLE_CONSOLE_LOG
flag now, which dumps only console.error() messages, so we
can debug the client code easier when we run a test in headless mode.

It will be useful for multi-user tests, where we can't use the
interactive test runner, because we need to run more users at
the same time.

Change-Id: Icfa62412b83e37398c54e9ac7b4120d76a87fb92
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99071
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-20 18:15:55 +02:00
Tamás Zolnai
1061d10907 cypress: use the *_spec.js pattern to filter test files.
We use the same pattern in the make file for parallel build,
let's us the same here in cypress config.
It also allows us to use different name for helper files.

Change-Id: I6718cd5221d4c35a259c61a70d7685327a16400c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98940
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-17 11:16:30 +02:00
Tamás Zolnai
baafb28002 cypress: split some bigger test suites.
Change-Id: I91a129f2f2c65c5190c22a47ff467d26a8047654
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98907
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-16 16:49:13 +02:00
Tamás Zolnai
28ec6eda33 cypress: fix date field insertion tests in impress.
Change-Id: I9fd03b2b1a4027640750bdeecab45101ce3ece4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98903
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-16 14:15:33 +02:00
Tamás Zolnai
3cefcd2665 cypress: improve waitUntilIdle() method.
Use smaller time intervals to check how long the item is
idle. Use a smaller (e.g. 1000) time for making a decision
about the item's idle state to make tests faster.
We can increase this time for those use cases where this
time is not enough.

Change-Id: Ibf03197c7bccc3cd718b67b73d52d9b9b54e875e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98733
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-15 15:48:26 +02:00
Tamás Zolnai
af091dbb1a Revert "cypress: update writer shape related tests."
This reverts commit f3572dc988.

Change-Id: I2b12aaa4c4ace0119be98e6d46ce95fdd1ac0f73
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98732
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-14 15:46:44 +02:00
Tamás Zolnai
f3572dc988 cypress: update writer shape related tests.
Change-Id: I9be13d65d054320e473a9060ab4353bd08b476fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98671
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-13 21:18:56 +02:00
Tamás Zolnai
0749bc4398 cypress: disable this unstable test.
Change-Id: I7d1ae4aef00c09ad6b02e34922520b48c2cd4641
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98557
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-11 15:06:59 +02:00
Tamás Zolnai
58521f42c4 cypress: disable this unstable test.
Change-Id: I4682f00e7592f6aba5ef5a1e9bdd99339416c1e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98536
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-10 19:26:10 +02:00
Tamás Zolnai
a8e25571b1 cypress: add slide operation tests (mobile).
Change-Id: I0ee6ee840c381263315305336e01f46dfdbcf1f4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98525
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-10 18:30:23 +02:00
Tamás Zolnai
4fd2d2c56a cypress: some more tests for impress's hamburger menu (mobile).
Change-Id: I3eb5afe1e67911b71e3152181c38eb2a2f9016f9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98524
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-10 18:30:13 +02:00
Tamás Zolnai
e88e72ead9 cypress: use bigger wait time to decide whether an item is idle.
Change-Id: I7d31c83b2438615b6fca9a9d8fb0f62a99728ddf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98483
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-10 13:00:59 +02:00
Tamás Zolnai
dea7f6cd05 cypress: use OnIdle methods in search dialog related tests.
Change-Id: I94af320ea9fbcf17e765518f33995032ac90a892
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98428
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-10 12:50:38 +02:00
Tamás Zolnai
4a8832172e cypress: disable this unstable test.
The height input field is sometimes just disabled.
Might be a bug in the code.

Change-Id: I1d8dd5dabb1dee33606cab764b05657f4ce9df23
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98438
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-09 16:36:40 +02:00
Tamás Zolnai
b48e9ec349 update cypress: 4.7.0 -> 4.9.0.
Change-Id: I3d1763b171d7163d7a96343f0687a2d64c61e062
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98431
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-09 16:36:33 +02:00
Tamás Zolnai
d15e0dea8e cypress: fix removeTextSelection() helper method.
Change-Id: If0b254eca495b57c8697ad17a53d0f7e952c6fba
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98430
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-09 15:34:55 +02:00
Tamás Zolnai
fb316d601e cypress: add some tests for impress's hamburger menu (mobile).
Change-Id: Idc747ac6ebb47b2ec2da086ba7e597d3bc396bf1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98427
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-09 15:34:42 +02:00
Szymon Kłos
d12cc35045 Make cell markers less heavy on desktop
* Don't show selection resize markers for single cell
  selection on desktop
* Use smaller autofill marker on desktop, for single cell
  show it in the corner like in the core

Change-Id: Ic36c16213532ec8b615ee808f836b939f35245fd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98420
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-09 13:15:29 +02:00
Tamás Zolnai
dc5c44f712 cypress: avoid failure of time field insertion (impress, mobile).
Change-Id: I0330ae701a8d6a84f2cb57bc5ccef88f9fe56ecf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98394
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-09 09:09:13 +02:00
Tamás Zolnai
4a9ae82497 cypress: reenable some shape related tests.
Change-Id: Ic21b812cf8c0370dcab9e8474f30206a2b88f70a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98381
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-08 18:27:10 +02:00
Tamás Zolnai
b15f641297 cypress: introduce clickOnIdle() and inputOnIdle() methods.
This method waits until the item is idle,
e.g. not detached for a while. Using this we can
workaround false failures caused by GUI flickering.
For example, mobile wizard is updated all the time
which makes hard to test it reliably. We can use
this clickOnIdle() method, which is slower than the
simple click(), but is more reliable.

Change-Id: I2f970eb0cf400382c8384c91ab7c84b1e02e63af
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98373
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-08 17:00:27 +02:00
Szymon Kłos
304d26af19 Add find & replace dialog in menu
Change-Id: I4cf7f773e46d39fac521f607df4db6922a3c70bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97702
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-06 14:13:47 +02:00
Tamás Zolnai
d613f8ad1d cypress: make jails folder if does not exist.
Newly jails folder is cleaned up after a run.

Change-Id: Ia4f3eb26f61c5f14304e9ae6a3d5b5f60a0ee592
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98204
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-06 13:08:05 +02:00
Tamás Zolnai
f934aa59a8 cypress: update writer table related tests.
Change-Id: I70039a14d6ad8ee33ae833c24111e6ca8d8caee4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98202
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-06 13:07:36 +02:00
Tamás Zolnai
97b82b5dec cypress: enable page setup tests.
Change-Id: I8eeb91c76e42cd868c491534e57cb08d2ea7675d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98190
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-06 10:16:17 +02:00
Tamás Zolnai
05e77fd0da cypress: add tests for sheet operations (calc, mobile)
Change-Id: I01b4806eac3ee713b8d3754e075df55d917e07ce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98142
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-05 16:53:38 +02:00
Tamás Zolnai
390f829982 cypress: more tests for calc's hamburger menu (mobile).
Change-Id: I603ccb1c212a564feef649e19b608b9c4becd3bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97960
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-04 21:40:05 +02:00
Tamás Zolnai
dbe763ff76 cypress: disable unstable test.
Change-Id: I4132e5133e209504f19877cf24a9f11bf25bedf8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97934
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-04 09:51:34 +02:00
Tamás Zolnai
cb1b1f6b9a cypress: test for Data / Sorting in calc (mobile).
Change-Id: I3139e5153e209504f19877cf24a9f11bf25bedf8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97886
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-03 20:28:30 +02:00
Tamás Zolnai
ec273df5f7 cypress: test about dialog in calc (mobile)
Change-Id: Iaf908ea775348e2135262c7bc532b94c1364bbae
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97864
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-03 16:42:43 +02:00
Tamás Zolnai
d33eead249 cypress: remove accidentally pushed only().
Change-Id: I1b5a2a1cb56d15dacea34a480198c314598de899
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97863
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-03 16:42:34 +02:00
Tamás Zolnai
9afe83e306 cypress: don't clear cypress cache by make check.
It's a global cache. Calling make clean on one branch
can break the build on a different because the
shared cache is removed.

Change-Id: Id03fb6b6fd69e899276abc93c3d907538576d8bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97841
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-03 14:30:22 +02:00
Tamás Zolnai
51a8dd5354 cypress: wait more for mobile wizard to stop flickering.
Change-Id: Ice1b495180377a5a8d62980532241fddd2774406
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97843
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-03 14:17:56 +02:00
Tamás Zolnai
93a0f40341 cypress: reenable font size related tests.
They are fixed now:
8b3cb9a176

Change-Id: Ia6e4348c62c1b9b3ded827640e0a33a8ce15c487
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97842
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-03 14:17:20 +02:00
Tamás Zolnai
c776c0f953 Revert "cypress: fix 'Check level visibility in hamburger menu.' test."
This reverts commit 4a805093ba.

Change-Id: I59bcb1eb0e8f4eedbfc6a6683e319bd89197137e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97376
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-29 11:51:43 +02:00
Tamás Zolnai
5199154db5 cypress: tests for search toolbar in calc (mobile).
Change-Id: Ie50efd626fde3f586f657d001e050ed19512dbcb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97225
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-26 16:25:58 +02:00
Tamás Zolnai
ba7c7ce62a cypress: remove false file name.
Change-Id: Ie469cc7f86e665c1b1a9701810f45193f9143448
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97224
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-26 16:25:48 +02:00
Tamás Zolnai
9205b4e309 cypress: improve error matcher.
Change-Id: Idad9b6a37b86160c65e0af25bee844652b83f77b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97229
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-26 15:54:56 +02:00
Tamás Zolnai
e198daae3d cypress: fix build.
Change-Id: Ie8df2a37312c0bee5827cb9378c2147a6b30bffd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97228
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-26 15:26:12 +02:00
Tamás Zolnai
472c2c7325 cypress: fix 'Undo/redo.' test.
Change-Id: Ica2c0a544094c04c1f46756db8bf3f35eff69b13
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97216
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-26 14:25:28 +02:00
Tamás Zolnai
2a48c97a84 cypress: improve coverage run.
Change-Id: I48637063c998a7c72da8e610ae0c8cc18c61a52a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97152
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-25 21:35:50 +02:00
Tamás Zolnai
4845fa3963 cypress: add some tests for hamburger menu (calc, mobile)
Change-Id: I8ed0e407003bb56731d7ea3f491dc9e0abe9069d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97035
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-25 16:34:23 +02:00
Tamás Zolnai
4a805093ba cypress: fix 'Check level visibility in hamburger menu.' test.
Change-Id: I5a1dbc6d1f4ffa4455682e7d2f2e6931469c4a02
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97034
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-25 13:34:49 +02:00
Tamás Zolnai
9ac9bc8be4 cypress: add initial code coverage support.
It's not optimal now, beacuse it changes source files.

Change-Id: I01cfb0be37eb0ef21dd1d606d9260b455a1cd585
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97036
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-25 13:27:53 +02:00
Tamás Zolnai
823e77530a cypress: this test is unstable.
Change-Id: Ic9f970b8f2abd8e355e09ffeeee70ae17c5bea23
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97073
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-24 19:29:39 +02:00
Tamás Zolnai
a672219c97 cypress: fix date field insertion tests.
Change-Id: Iff55cd552c02954df104ac9b37b3eea9b630b257
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96986
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-24 18:58:41 +02:00
Tamás Zolnai
612f18ce0e cypress: test mobile wizard level handling in hamburger menu.
Catches 'merged levels' issue fixed by this commit:
801386effc

Change-Id: I2c56368e64afc08bc0e1aa3195c29ee91bf758e3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97017
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-24 13:37:42 +02:00
Tamás Zolnai
dd20af0f9c cypress: stabilize impress/spellchecking_spec.js test.
Change-Id: I56af585641cf9c19d1546ec4df999a68f119301c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96857
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-22 16:04:43 +02:00
Tamás Zolnai
14be173ccd cypress: stabilize calc/spellchecking_spec.js test.
Change-Id: I8f49e305c32cf24f167890e8e9d8088440bb788e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96856
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-22 15:30:46 +02:00
Tamás Zolnai
cfb803961c cypress: better way of adding conditional code based on doc type.
Change-Id: I8001eec9732a445830db81502446e675acc20304
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96841
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-22 13:26:29 +02:00
Tamás Zolnai
008d4ea32f cypress: stabilize calc/cell_appearance_spec.js test.
Change-Id: I3695e3e5608dee9b6f1f7f1dfc43dad76d9844f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96740
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-19 17:11:22 +02:00
Tamás Zolnai
08428824cb cypress: stabilize 'Merge cells' test case.
Change-Id: I9661c00c26ea47cd1dd5f8121801b2e0ff083b53
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96733
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-19 16:19:00 +02:00
Tamás Zolnai
da6f94a3ed cypress: fix attachFile is not a function error.
Include the related package directly in the test files,
where we use it. Somtimes supportfile is not handled correctly
in parallel build, which lead to missing function error.

Change-Id: Id4740a9384f0fe170a26b76ecd393a5beda1f5c5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96723
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-19 16:10:42 +02:00
Tamás Zolnai
f99b6ae5db cypress: make calc/bottom_toolbar_spec.js test more stable.
Let's wait until all UI updating is finished, after editing
is enabled.

Change-Id: I57befdf0a873a189ba4555f384fa4dbee396f0b3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96625
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-18 20:52:34 +02:00
Tamás Zolnai
1949cad473 cypress: tests for page setup (writer, mobile)
Change-Id: I8c3db014daa00608351156c1de8d615b30314701
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96605
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-18 15:16:06 +02:00
Tamás Zolnai
fde2a23de7 cypress: test for resolved comments menu option (writer, mobile).
Change-Id: I9e1ec7ec1a6e0732353d79bf3319e0b128ceec78
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96531
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-17 17:02:46 +02:00
Tamás Zolnai
5ae113c7bf cypress: test save / print menu options (writer, mobile).
Change-Id: If954192df8ff9eafde44b8e1a5a714f40ecbe42c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96539
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-17 16:56:10 +02:00
Tamás Zolnai
b9b4b6e5ef cypress: add tests for Formmating marks / spellchecking menus (writer, mobile)
We use the tile images to check whether something appears
on the tiles. In case of formatting marks it's the blue
space indicators. In case of spell checking it's the red
underlining.

Change-Id: If57c3e8759e0c8cabfc6bb858af9519ddd662156
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96523
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-17 16:51:04 +02:00
Tamás Zolnai
0994b2f1be cypress: extract imageShouldBeFullWhiteOrNot() method.
Change-Id: I7d60eadb3a343c5c270cfd4ab90a7681d7c95ffa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96522
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-17 16:50:41 +02:00
Tamás Zolnai
4145a216ec cypress: these test are failing recently.
Change-Id: Ifd947fb8135352816dd6aaf525cf2a384904e54e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96530
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-17 16:02:04 +02:00
Tamás Zolnai
fb3c49f396 update cypress-failed-log: 2.6.2 -> 2.7.0.
Change-Id: I9bf9f441d776898fc0d1cd143f197badc28f3943
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96354
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 23:24:23 +02:00
Tamás Zolnai
952f40f62e update cypress: 4.5.0 -> 4.7.0
Change-Id: I50d149f7cc3638a0a3abceae8f977952384b914d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96353
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 16:42:03 +02:00
Tamás Zolnai
9102a8aaf5 cypress: test download as options (writer, mobile).
We can't test the actual download:
https://github.com/cypress-io/cypress/issues/949

What we test is that we get a proper URL, after triggered
the download as menu item. This src attribute is set after
the core exported the file and sent back the URL for it.

We avoid download for test, because we can't control the
download folder. It's better not to save files without
clean up. Downloading is not working in headless mode
anyway.

Change-Id: I93664be7f55e4df863448adc734fa9cfc7b3638f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96352
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 15:33:32 +02:00
Tamás Zolnai
f16e27c049 cypress: add tests for Edit menu items (writer, mobile).
Change-Id: Iec7c244f34f1c7c7bbf55c22db71d72278553cef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96329
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 14:44:19 +02:00
Tamás Zolnai
725fa229e4 cypress: improve error log.
Change-Id: I5b91553af3f7fee5233c779fd2abd597af10fb02
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96328
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 14:44:10 +02:00
Tamás Zolnai
50500974cd cypress: improve 'Show track changes.' test.
Change-Id: I1ec60bdc66f6b080478c5c9db55e504f1f856f02
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96327
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 14:44:02 +02:00
Tamás Zolnai
789083b521 cypress: add change tracking related tests (writer, mobile)
Change-Id: I0c1426ce784153b102049f9770b8fd99eeaf784c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96260
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-13 17:49:27 +02:00
Tamás Zolnai
08cb112687 cypress: tests for some options in hamburger menu (writer, mobile)
Change-Id: I73e7e6732f51298fa12e194da1f337e99e874d80
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96259
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-13 17:49:20 +02:00
Tamás Zolnai
14c889cbd1 cypress: fix wrong image file path.
Change-Id: Ifaaf8eda8f2a05740ef77a4713cfa6b1bbb37614
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96258
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-13 17:49:12 +02:00
Tamás Zolnai
71f2d7b95d cypress: test insertion of local images.
Adding a file for insertion from cypress code
is not trivial. I added cypress-file-upload package
which can be used for this.

Change-Id: Ife7da586d1d87c2c4580730af29857c1d0d91750
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96232
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-12 18:55:56 +02:00
Tamás Zolnai
c0e7b862da cypress: update desktop/calc/focus_spec.js
Clicking on the formulabar is not a reliable way to move
the cursor to a specific text position.

Change-Id: I9ea48f4591707531a3dfdfb02b18d6fcb08921a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96163
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-11 21:24:36 +02:00
Tamás Zolnai
08c20c5620 cypress: update impress/apply_paragraph_props_spec.js test.
Change-Id: I8a404f7704fbe2a010b017f48128b1135f6ff8e3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96050
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-10 17:50:15 +02:00
Tamás Zolnai
0e38bc6017 cypress: update impress/apply_font_spec.js test.
Change-Id: Ie305e3f29115ab88c019445e61a9961b7a952904
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96029
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-10 17:21:38 +02:00
Tamás Zolnai
b289a2d3c5 cypress: allow equality here.
Change-Id: I4c08590c9ea062467d0112e0877bf1a018623269
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95858
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-09 00:05:08 +02:00
Tamás Zolnai
7da449d23c cypress: improve error matcher.
Change-Id: I82f209bfb32660723c1a0ec686b8ba363aa612fc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95854
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-09 00:04:50 +02:00
Tamás Zolnai
f64dfc2999 cypress: disable failing tests with cp-6-4 branch.
Change-Id: I137a1e9dbe6121052b78b146135288205e4bde2f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95851
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-08 19:47:49 +02:00
Tamás Zolnai
5149305dba cypress: better way of filter out tests based on core version.
We use cypress-select-tests to filter out tests before
the tests are started. One advantage is that these tests
are showed as skipped in the log and also beforeAll() is
not called for these test cases which can speed things up.

Also we can avoid to add too much noise to the test code.
When we are working with more branches, we can just add
blacklists separately for all branches.

Change-Id: Ie7808614e42a19a0820f372720cc391511e165f5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95585
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-06 17:53:37 +02:00
Tamás Zolnai
3543df5430 cypress: better way of detecting core version.
We need this information earlier before we load the
test document. We can use call LO binary to get
the version string.

Change-Id: I72927df1fd79ff12906b55376c3474aa973dce07
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95584
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-05 16:33:26 +02:00
Tamás Zolnai
2063d2bec6 cypress: fix unstable test.
Change-Id: Ibfc0f1d6f4e69ea17555ca259c57b3304115711d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95532
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-04 20:14:51 +02:00
Tamás Zolnai
8e9627a033 cypress: extract some shared code in impress tests.
Change-Id: I2683e894bccd46cdd847f95f8298595c733486a9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95494
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-04 12:05:17 +02:00
Tamás Zolnai
7705ece999 cypress: finish test for changing highlight color in Impress (mobile)
Unfortunately, the core generated SVG does not
have the text highlighting, so we can only check
the state of the mobile wizard.

Change-Id: I49a916113a986568c552917a5fe953165282de30
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95489
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-04 11:29:25 +02:00
Tamás Zolnai
eba17c5f9c cypress: finish test for changing text color in Impress (mobile)
Now this feature is fixed.

Change-Id: I274e63f328e626a0e7c9ed262ad7baf651860b90
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95488
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-04 11:29:10 +02:00
Tamás Zolnai
8fc6a5762c cypress: more paragraph properties test in impress (mobile)
Change-Id: I439ec6a26a3d5aa3324db7add72ea9003025c753
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95486
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-04 11:01:38 +02:00
Tamás Zolnai
0fc0b6c134 cypress: paragraph properties test in impress (mobile).
Change-Id: I5b023cfff539f507c945573171357e67b3cb2884
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95435
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-03 15:29:16 +02:00
Tamás Zolnai
b8b8b69b86 cypress: test also applying font on selected text.
Change-Id: I1a0446b28e6b3ec5de75af5ee6e0f68f5c0675e1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95407
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-03 13:11:21 +02:00
Tamás Zolnai
558bf487ed cypress: workaround cypress issue with absolute path and symlinks.
https://github.com/cypress-io/cypress/issues/3482
Absolute path was introduced for that case when
somebody uses a separate builddir. However cypress
has an issue with absolute path. Let's avoid this
issue when builddir and sourcedir are the same.

Change-Id: Ic825d0abba86cafb1e243da510fd1aefb77575a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95406
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-03 13:10:53 +02:00
Tamás Zolnai
a845757e82 cypress: clean cypress cache by 'make clean'.
Change-Id: I4799155fd16c69f83cc9c023206b3a3bc7d2bed2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95401
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-03 11:38:12 +02:00
Tamás Zolnai
76e45490a4 cypress: consistent naming of helper files.
Change-Id: I245dc0ee49684751f9042ff25e190dd883bca536
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95284
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-01 20:43:06 +02:00
Tamás Zolnai
8853547ee0 cypress: add no-get-invoke-match-chain rule.
We can avoid retriability problems caused by using
this long chain as an indicator in tests.

Change-Id: Iec78087d080c3759e446a061222eb4d9f4dd3ae5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95280
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-01 14:09:53 +02:00
Tamás Zolnai
d261a52fa2 cypress: extract selectFromColorPalette() method.
Change-Id: I9b9eb135bbd9f9720d01a2ae4f703f374d5660ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95272
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-01 14:09:00 +02:00
Tamás Zolnai
e362a86764 cypress: extract matchClipboardText() method.
Change-Id: I15a5121a69b1295508c2ad96e414d5f804e5c397
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95271
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-01 13:04:30 +02:00
Tamás Zolnai
bfbb08681a cypress: fix false failure of form field tests.
The cypress test framework checks if an item is covered
by an other item while we try to interact with it and
fails with an error in this case.
Since the form field button is above the document layer,
cypress correctly identifies that the document layer is
covered (partly) with this button frame. To avoid this
failure we can use force : true option.

Change-Id: I5d9f665e3afe1ae1ff3744a563dd32de52b76bb3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95266
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-01 11:36:06 +02:00
Tamás Zolnai
b761ab848d cypress: wait for the second rendering of the mobile wizard.
Filtering out duplicated sidebar content does not work
in all use cases.

Change-Id: I913ad8c15eb58ef9dfa5c6f7819914d1dbe207c8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95175
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-30 06:55:13 +02:00
Tamás Zolnai
3b22b81965 cypress: fix unstable clear formatting test.
Change-Id: Id218dca4d7499e17b4b50c1b4422b12eaf96ac95
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95102
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-29 13:27:45 +02:00
Tamás Zolnai
34131da9de cypress: this is unstable.
Change-Id: Ifd749692844e06e33e264fe5ffe60298dca7832d
2020-05-29 11:41:18 +02:00
Tamás Zolnai
9dba400fb1 cypress: tests for applying text properties on text shape (impress, mobile)
Change-Id: I8715b853456b04565db2b524ffec3b6429c657fe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95032
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-28 18:56:53 +02:00
Tamás Zolnai
5499c6fdd4 cypress: test also switching back to normal view.
Change-Id: Ie8b484e68c35733ba7701f0d6ae0311c01f1cca5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95031
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-28 18:56:46 +02:00
Tamás Zolnai
c8d2547961 cypress: add tests for inserting text fields into existing text shape.
Change-Id: I39524f563544c212b7caf7848ca70ea497babed6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94949
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-27 14:29:00 +02:00
Tamás Zolnai
e3a69f66f8 cypress: more tests for slide mobile wizard.
Change-Id: I03b91a35cda4670a89ba8f02d148700c1bbcde56
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94943
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-27 13:48:08 +02:00
Tamás Zolnai
f2a5ba3014 cypress: more slide settings related tests.
Change-Id: I733b7cb4d53650de9901c7b7ebaaf22a73f80930
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94856
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-26 14:01:13 +02:00
Tamás Zolnai
9e6175ed87 cypress: introduce a better way of handling test file name.
We both need the test file name in the beforeEach and
afterEach method, so better to write it down twice.
This also makes easier to handle more test files
inside one test suite.

Change-Id: I407d974c949c4485ffb6712fc833c14c3a6c50c6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94825
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-26 13:45:10 +02:00
Tamás Zolnai
dc1235943b cypress: add some more slide background tests (mobile).
Change-Id: I61f57098993a65b0a1d596e4c60dd44adb1bf6ff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94824
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-26 12:52:13 +02:00
Tamás Zolnai
d2ed738088 cypress: add some tests for changing slide background (mobile).
Change-Id: Ia48bf5786304ceeb3b424888965c2d3ac5f4286b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94783
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-25 13:54:36 +02:00
Tamás Zolnai
15581bb362 cypress: add tests for insertion of text fields in impress (mobile)
A bug here, that the text fields are inserted at the corner
of the slide and so they are hanging out of the slide.

Change-Id: I5bc895d1c73338cf41e5c896cbdb4ea5cfd5ddd0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94776
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-25 11:42:13 +02:00
Tamás Zolnai
c3c9f25954 cypress: deduplicate config related code in make file.
And break commands to multiple lines for better readability.

Change-Id: I5ee25bb34e69f80346a0dbfd3cf5b81329cc8438
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94711
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 23:41:26 +02:00
Tamás Zolnai
015beba207 cypress: document the new spec option of make run-* commands.
Mention it also in the log in case of error.

Change-Id: Ib99dc2d2122a0658c86b223d94fec24de106fbd4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94710
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 23:41:20 +02:00
Henry Castro
defe39ac29 cypress: run interactive specific unit test
If unit test fails, so we can run interactive unit
test to analyse the results (command line)

Change-Id: I44fff4a442b2f6be0dbfced1359e27fc07c2c12e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94426
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 21:09:07 +02:00
Henry Castro
16028271bb cypress: fix running single unit test
When builddir != srcdir

Stills error:

"The support file is missing or invalid.

Your `supportFile` is set to `cypress_test/support/index.js`, but either
the file is missing or it's invalid. The `supportFile` must be a `.js`
or `.coffee` file or, if you're using a preprocessor plugin, it must be
supported by that plugin.

Correct your `cypress.json`, create the appropriate file, or set
`supportFile` to `false` if a support file is not necessary for your
project."

Change-Id: If1aeb55a3821735022dfa57af217130f18cd9dbf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94424
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 21:08:59 +02:00
Tamás Zolnai
d96ca09ced cypress: update version 4.3.0 -> 4.5.0
Change-Id: I87432005dc9c9cb264c0cae260e5adad84e4ef14
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94665
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 14:58:29 +02:00
Tamás Zolnai
af3691ea51 cypress: this test is failing lately.
Change-Id: Iddadf16895947b2a236e2075118ba822f74eeecb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94666
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 14:11:01 +02:00
Tamás Zolnai
e180fff4b2 cypress: add some basic tests for insertion wizard in impress.
Change-Id: Ia391337aab70f3c6208358d1695f4649edfca7eb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94638
Tested-by: Jenkins
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 14:02:23 +02:00
Henry Castro
6e230e4ba6 cypress: enable logging browser side
This time the logs come from the browser

Change-Id: If9b66a140b0174d0e3ef1e1e492ceeb49953d563
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94468
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-21 19:53:43 +02:00
Henry Castro
5acffe2af9 cypress: remove logging UNO command states
This is no longer usable when running interactive unit test

Change-Id: I0e44dca7d6c0ec513da08a0d4521ef9d15b27a94
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94430
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-21 16:49:48 +02:00
Tamás Zolnai
20ae90f748 cypress: fix closing method of bottom toolbar test (calc)
Change-Id: Ie241720312f58d2be0c3c5f1f4a154246ed84bfd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94597
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 21:42:17 +02:00
Tamás Zolnai
09dec12811 cypress: improve the output in case of error.
Mention also the command for the interactive test runner.

Change-Id: Ia013ea589229542d571d9a587ec85ae05ed6b4da
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94590
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 21:41:54 +02:00
Tamás Zolnai
f1296cdf19 cypress: extract selectFirstRow() method (calc)
Change-Id: I1e7c9769249169986f411a7d5139ff6b0e9f751c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94572
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 15:07:22 +02:00
Tamás Zolnai
5de4f98424 cypress: deduplicate clickOnFirstCell() method.
Change-Id: I359d2f5a12ae83e598e1d61dfd2c4b943ef31f0e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94568
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 15:07:14 +02:00
Tamás Zolnai
194bc60bb6 Revert "cypress: this test seems to be stable now."
This reverts commit d07db7d74d.

Change-Id: I6d220701082fedcfbc0e00f5c6e0f0092bb4032b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94458
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 00:28:35 +02:00
Tamás Zolnai
129d89a9f4 cypress: add tests for bottom toolbar in calc.
Change-Id: I033800eadf5d3b1a454e31549b5adc1fd5d5ebd6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94532
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-19 21:10:02 +02:00
Tamás Zolnai
f43b7e01bf cypress: remove some false comments.
Change-Id: Ibdd0a27c78feeffe09b0b3fdd91ac2d0a444178b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94531
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-19 21:09:18 +02:00
Tamás Zolnai
d07db7d74d cypress: this test seems to be stable now.
Change-Id: Iaa2799bfa489fd04acc4d42452915bde0c9f6528
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94530
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-19 21:09:03 +02:00
Tamás Zolnai
336184e1e4 cypress: this is unstable.
Change-Id: I7cc737278120df8f4d7a8a27770a4929b5d48660
2020-05-19 13:03:05 +02:00
Tamás Zolnai
dd5ce7df94 cypress: make zooming more stable in form field tests.
Change-Id: Ie897b256f13f06e7fc66bd0fac25376b849e5429
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94421
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:42:14 +02:00
Tamás Zolnai
18325d8889 MSForms: make list items's font size relative to the button size.
Change-Id: I05149e704ca248584ba190f2e637e69082ca33fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94420
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:48 +02:00
Tamás Zolnai
43d1567b9d MSForms: stop listening on zoom events after button is removed.
Change-Id: I96e484b5fa7309b7d1a6f0a3ec4269f21bb93496
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94410
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:37 +02:00
Tamás Zolnai
f1262f7b31 cypress: this is unstable.
Change-Id: Ifb492aa60594a98f7274e09682e3042797431ce8
2020-05-18 14:15:26 +02:00
Tamás Zolnai
82f96b40f8 cypress: add zooming test for form fields.
Make sure the text cursor is inside the form field
button's frame.

Change-Id: Ib8a6fe50c14d01b5d3864f04e9668b9b1844b50e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94408
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 12:45:05 +02:00
Tamás Zolnai
29b08b31d7 Revert "cypress: enable some more tests."
This reverts commit 53e887d193.

Change-Id: I184e9e44975596e3b05a7beb45a16e79ea22f282
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94280
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 10:36:36 +02:00
Tamás Zolnai
53e887d193 cypress: enable some more tests.
Change-Id: I9e6e03e8fb082cfbb942b5af9a33e5b0a0037770
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94311
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 16:13:15 +02:00
Tamás Zolnai
262e9f9475 cypress: simplify clickFormulaBar() method.
It's always called without arguments.

Change-Id: I3f825b23c4e8b0079019dc916a8357ba94cda4f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94289
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 15:27:58 +02:00
Tamás Zolnai
2598417df7 cypress: reenable checkboxes related tests.
This reverts commit e07a94abc1.

Change-Id: I9b1cd05f8ad6acc065c941cd17d886ead75f12be
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94290
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 15:27:47 +02:00
Tamás Zolnai
ef2304b8e0 cypress: reenable fixed test cases.
Change-Id: I5820c8ea314b1c9292e69bab3c147fe2e9e77945
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94252
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 11:05:01 +02:00