Commit graph

736 commits

Author SHA1 Message Date
Ezinne Nnamani
342f95f490 Created a cypress test for Apply horizontal borders, Apply all inner and outer borders in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I0298ed82345ea4e8541645b91d23167e64077cd4
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-18 11:38:30 +01:00
Tamás Zolnai
7dfe079903 cypress: update this formulabar test.
To make it more stable.

Change-Id: Ib9c8878bdf266733ec03eb3ba018035b115c7f7d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-17 17:37:14 +01:00
Thais Vieira
bbf7b33ca6 cypress_test/impress: Add test for underline
text shape.

Signed-off-by: Thais Vieira <thais.vieira@collabora.com>
Change-Id: Ia71b891d78bf621aec24d90e105fed1b32152528
2020-11-17 14:57:20 +01:00
Thais Vieira
062f43dfa7 impress/top_toolbar: Add Cypress test for italic attribute on desktop.
Change-Id: I7cf9e31beba87cd12d562b0e899b83c895ba68d7
Signed-off-by: Thais Vieira <thais.vieira@collabora.com>
2020-11-17 12:29:40 +01:00
Ezinne Nnamani
e350557c94 Created a cypress test for Apply top and bottom border and Apply border for all sides in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: Ic24f19c298cd2577f18c961b6a0a596034756445
2020-11-17 12:14:11 +01:00
Tamás Zolnai
cc85a51eeb cypress: workaround an issue of afterEach() hook.
For some reason, assertions do not work properly
in afterEach hook after a test failure. So in case
of test failure we don't check the admin page,
whether the test file was actually closed, but we
just wait a constant time.

Change-Id: If2eb927b0383816639689ec67eef7e3cd1142366
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-16 17:50:15 +01:00
Tamás Zolnai
3f4468a497 cypress: merge some selection helper methods.
To reuse as much code as we can. We can use the same
method on mobile and on desktop.

Change-Id: I15b1038313145db6cb6ea07489c0d30a0fc2ce64
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-16 17:50:15 +01:00
Ezinne Nnamani
8bcde166cd Created a Cypress test for Left and Right border, Top border, Bottom border
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I3c1d920c9d05b44dda5172ec67226072675ba892
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-16 17:29:31 +01:00
Tamás Zolnai
e8e9ed8c50 cypress: update this comment modification test.
To make it more stable.

Change-Id: Ib8731df9d29fafe568e6e7124ed8d17c315831b6
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-16 12:40:18 +01:00
Tamás Zolnai
6fa042da32 cypress: rework formulabar related tests.
To make them more stable. I used tc tool to
simulate network delay to find issues with
the test code.

Change-Id: I9a67a2650fc08e573323b1df96b940318b4a45cb
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-16 12:40:18 +01:00
Ezinne Nnamani
fc851c6cf8 Created a cypress test for Remove border cell, Right border cell and Left border cell in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I967dee45e2956f40a8645e9578a3b7c40a8a4d58
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-16 11:38:11 +01:00
Tamás Zolnai
b3ce314264 cypress: skip afterAll() in case of failure for NC only.
Change-Id: I37c13cd9c40fe034236e675fd1ba1ed8f0dea216
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-16 02:30:16 +01:00
Tamás Zolnai
8f2df4a0a5 cypress: rework some calc tests.
Simplified getTextPosForFirstCell() method and
renamed to better match with the function.
Also modified getCursorPos() method. Sometimes
we have an additional hidden text cursor for
formulabar.

Change-Id: Ia8adc645ef3f20426dd509803fcfc4f35662a779
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-16 02:30:16 +01:00
Tamás Zolnai
04139d31cd cypress: diable this new multi-user test case for NC and php-proxy.
Change-Id: I18688e130f9ac5b8976ca60ad44b798c48181129
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-14 12:24:36 +01:00
Tamás Zolnai
2c338ef7e2 cypress: this test is unstable recently.
Needs some rework.

Change-Id: Ied3008463e9a7210a400702a0331ab7f09139ed3
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-14 12:24:36 +01:00
Tamás Zolnai
1a6fc4ca05 cypress: disable these unstable tests for now.
Change-Id: I99f166933ddbaf899d2d4fffd218f2824e3adf52
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 23:17:06 +01:00
Tamás Zolnai
d9ce03331d cypress: php-proxy: reenable this test.
The issue was fixed triggered by this test case.

Change-Id: I00522835c25ca18aa374958c5b33b13f35e79563
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 23:17:06 +01:00
Tamás Zolnai
28c99d5e46 cypress: remove this old test.
It's duplicated now. It was one of the first
prototype tests.

Change-Id: I6a63644713189c8f56a77cc21df0c2a42d724547
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
be8f8ea874 Update eslint of cypress test code: 6.8.0 -> 7.12.0.
Change-Id: I3508579dc608d56e63d842e413dc14d4c760965c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
ffccbfaf4f Update cypress-select-tests: 1.5.7 -> 1.5.8.
Change-Id: I5b3a67b3bacf3efb8ffbef98d8967608c2f81742
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
1ed1f0705f Update cypress: 5.3.0 -> 5.5.0.
Change-Id: I0c1431eaa3f49c3a4705a9cd438162cd7ccd0fe8
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
2aa37cbaf4 cypress: do not run afterAll method in case of failure.
After a test failure, it's common, that the afterAll
method also fails which covers the right error
message and also makes the following tests to be ignored.

Change-Id: I5c1bbc5dd8b1b48dd2a8f1fc20a8ca3b8ecd8462
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
9c65fe9805 cypress: NC: avoid hard coding locale indicator in number formatting tests.
1033 means en-US locale. It can be different in an
NC environment for example.

Change-Id: I929a7308b9f0d4a102f836d1ec66c5c98a6eb9c6
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Tamás Zolnai
6620c77c3a cypress: php-proxy: disable this unstable test.
Change-Id: I6fa2f777c95dac57d4ae8b13063c04f44d1ff20c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Tamás Zolnai
10df5de391 cypress: NC: disable retries.
In NC environment it does not work properly.

Change-Id: I9adbb01b450103a6ac2aa211eb933a5ab3f5fcd2
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Tamás Zolnai
175b32ddb1 cypress: NC: disable this unstable test.
Change-Id: Ifd7b970aac8e5f6a6bfc1a58d75eddf63ea42fd7
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Ezinne Nnamani
4bea7938c5 Created a Cypress test for Format as currency and Format as Percent in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I90ca9051ce71e9f3bc9b774cd0bdb87c076ceb8d
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-13 05:09:21 +01:00
Tamás Zolnai
d328f930ce cypress: php-proxy: close php-proxy connection by the end of the test.
For some reason if we use proxy.php continuously, then
it will eventually fail on the test. With visiting the
localhost in the afterEach method we can avoid that.

Change-Id: If56c8e40e9e2b9002c1c5b0b91851e4a19a2c9bd
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 16:38:11 +01:00
Tamás Zolnai
2581ab44f9 cypress: remove core/master blacklist.
It is outdated.

Change-Id: I29de4a7ddbacb62cd091446929fe9ba56ce9baf9
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 16:38:11 +01:00
Ezinne Nnamani
f0f330498e Created a Cypress test for Add Decimal places and Delete decimal places in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I3420488c79af469cbcc5181106e4ec864f40893d
2020-11-12 13:47:15 +01:00
Ezinne Nnamani
ccf0c54de0 Created a Cypress test for Clear Direct formatting, Apply font style and Apply font size in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I7f59d8e9d9597137e26e6d2cc0a20bf3d516ce21
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-12 08:16:49 +01:00
Tamás Zolnai
ffc114e909 cypress: php-proxy: disable calc undo / redo tests.
We might hit a race conidtion here. I'll need to
investigate this later. It seems sometimes the
selectio is what is undo-ed and not the text
modification.

Change-Id: Ib9c6214cefd0b8625116681c3cbca17899beaece
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 05:40:08 +01:00
Tamás Zolnai
f9f459fe67 cypress: php-proxy: fix clone formatting test.
Change-Id: Ia83a534eb0f97f70db992239d41d2f25dc69042d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 05:40:08 +01:00
Tamás Zolnai
eb4a36c1ec cypress: NC: disable revision history tests for now.
In CI environment this does not work. I'll need to find out
how to make this tests work there too.

Change-Id: If9780796b52aa27fd18d72cc3bf786ab46865e4a
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-11 12:25:56 +01:00
Ezinne Nnamani
fba2ee9ced Created a Cypress test for the HighLight color and Font color attributes in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I6cdaac6c8465cb97dd801b94f55054100bc46948
2020-11-11 10:40:59 +01:00
Tamás Zolnai
2297388a32 cypress: NC: try to fix revision history related tests.
Let see whether waiting some time after context switch
makes things better. Cypress does not support iframes
very well.

Change-Id: If6011f16c54e3473bef20546f39bb45941c40dc9
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 20:18:32 +01:00
Tamás Zolnai
f4dc257423 cypress: php-proxy: disable formula bar related tests.
It's a known issue that formula bar is very laggy,
which makes test to fail.

Change-Id: Ia2cbee763c596065e36d178913a8df400adb4668
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 20:18:32 +01:00
Ezinne Nnamani
cb355967f1 Created a cypress test for Italic, Strikethrough and Underline attributes in top toolbar of Calc Desktop
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I1f782710a8728c39d3a40dfb56b6af4d9809947c
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-10 17:53:47 +01:00
Tamás Zolnai
6fe727048e cypress: add remaining tests for Writer top toolbar (desktop).
Change-Id: Ie55928532afbb3b59ee348c3a04f38e7cf3304d8
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
5806c963af cypress: fix this undo/redo test.
We should wait until the undo/redo toolbar
items become enabled, before pushing them.

Change-Id: Ieea499722917e8ae1689701b819f5eb181c6c4e9
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
afab5bfb4c cypress: simplify show/hide sidebar test.
Change-Id: I0da2c509dc31b640dff90f0d1eae53472acc2cb1
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
37f37b6972 cypress: fix indentations in top_toolbar_spec.js.
Change-Id: I640fe25a34e2e07279d15b8dc87ba92a5476cda1
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
69e84fb326 cypress: let's be more specific about what we test here.
Change-Id: I82c898f57c0bd850117abfc88242b69923ed77cd
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
e7a880d782 cypress: merge these two test cases.
To avoid code duplication.

Change-Id: I24e2eb47429733d5baa14e3b9d3639391f5467ce
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
7cc571be5a cypress: merge left/right alignment tests.
To avoid code duplication.

Change-Id: I23af599925e91addef604474841b597ed26b9dfa
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Ezinne Nnamani
d0210de7e6 Created a Cypress test for Spacing attribute in desktop Writer
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: Iefbffc90fc794b61815b92fd54702a4215858dc7
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-10 12:20:32 +01:00
Tamás Zolnai
6a96d3f6d9 cypress: NC: sidebar can be hidden by default in NC.
Change-Id: I5292ba2bcbf840f0128bd28be3f381672b45fa7f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 21:56:09 +01:00
Tamás Zolnai
8829bc1167 cypress: php-proxy: disable retries.
For some reason the build hangs with retries. It must be
an issue with cypress itself, but I did not manage to
find a small reproducable test to report a bug about it yet.

Change-Id: I89874a2601649274ed9f7bf7a0e88c9cd1ffcf6f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 21:56:09 +01:00
Tamás Zolnai
4aa3e79ad9 cypress: php-proxy: fix page setup tests.
With php-proxy the timings are a bit different.
We need to make sure that the mobile wizard is
already in the right state to close it.

Change-Id: I4d5c26400c301a0c51622bd799c49ed7d04d1478
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 21:56:09 +01:00
Tamás Zolnai
9973736000 cypress: NC: fix up code.
Change-Id: I6d931a59f4281c85347b0e824aefbcd8cf2e129f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 13:30:37 +01:00
Tamás Zolnai
fad24063e0 cypress: show statusbar / sidebar for NC.
In NC statusbar and sidebar an be hidden by
default. Let's avoid test failures because of
that.

Change-Id: If6083df431bfc438f72be4f13e078ea335df114a
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 12:54:20 +01:00
Tamás Zolnai
000c1390c2 cypress: php-proxy: disable all saving related tests.
It's a known issue, that with php-proxy we can't load
the same document twice.

Change-Id: I401a74734e1781f76847387ee9677a0fe6ca699d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 12:54:20 +01:00
Tamás Zolnai
30650d09bb cypress: test for applying left/right alignment via top toolbar (Impress).
Change-Id: I93caf91826a2e4b2e37cd466e31b8b424d9114aa
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 14:51:21 +01:00
Tamás Zolnai
2d02cf5cc6 cypress: move all Impress related helper methods into a bigger scope.
Change-Id: I6ab06a9c737258afc11e4fcecc91bc678940cd0f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 14:51:21 +01:00
Tamás Zolnai
941754f978 cypress: NC: disable newly added Print test.
Change-Id: I30f5ea0bcb767b41ef62267c4935bdaf374d11e5
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 14:51:21 +01:00
Tamás Zolnai
1665a397ab cypress: test for applying bold font attribute via top toolbar (Impress).
Change-Id: I6e336da70cd47fd821ad54a18f33f7b93f3ee46c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 13:13:02 +01:00
Tamás Zolnai
8922df60be cypress: move some Impress related helper methods to a bigger scope.
We will need these methods in desktop tests too.

Change-Id: I302cb0b57fee8b15fbe0804dec14646cb11f0f2f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 13:13:02 +01:00
Tamás Zolnai
1a826e9c8a cypress: disable this undo / redo test.
It's unstable.

Change-Id: I3fdb2c5839b47728b5700cbd2b3cf4ea8e53dfb2
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 20:29:22 +01:00
Tamás Zolnai
3c0abda0e4 cypress: NC: disable new Saving test.
We need to do this differently in an NC environment.

Change-Id: I260fbe42851794e630be327bc25ec34201cad36c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 20:29:22 +01:00
Ezinne Nnamani
f3b6581015 Created cypress test for Save, Print, Redo/Undo and Show/Hide sidebar in Desktop Writer
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I001d0c6b6baca2f30f48d8b1737c1b7f52a11ac8
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-05 17:34:31 +01:00
Tamás Zolnai
ccce74796c cypress: NC: close firstrunwizard when subsequentLoad is true.
Change-Id: I305d877a468da70c78b68e6f70778ff490cd3024
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 14:49:42 +01:00
Tamás Zolnai
bf0b205c8d cypress: NC: fix form field tests.
Statubar can be hidden by default in NC.

Change-Id: I32ff2579131d174ce6ab2a5e08a7b13ff1020446
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 12:24:59 +01:00
Tamás Zolnai
f42714f4f3 cypress: NC: fix copy and paste text.
Change-Id: Ieacb9e5f5231fbf424a117a2c5ae324e7c0dfa54
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 12:24:59 +01:00
Tamás Zolnai
0460c683c3 cypress: NC: fix page setup tests.
Change-Id: Ic292be4a5f692ae0c6d2dd10884bbc72553be00c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 12:24:59 +01:00
Tamás Zolnai
e30caa8053 cypress: NC: fix slide insertion test.
In an iframe context 'not.exist' check does not
work correctly.

Change-Id: Ie522fd02ac5151fec401f49a8b80a64edbbbeb1b
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-05 12:24:59 +01:00
Ezinne Nnamani
bb30f7c346 Created the cypress test for Increase Indent and Decrease Indent attributes in Desktop Writer
Change-Id: Ia374c80d3574b44792381af201dafcfc5b275bff
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-04 12:07:34 +01:00
Tamás Zolnai
e9652b99b2 cypress: NC: disable printing also in Impress tests.
Change-Id: I2b2b12094ecaff828803418bf30372265e7855b3
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 22:00:16 +01:00
Tamás Zolnai
0a0d2b89cf cypress: NC: fix restore previous version test case.
Change-Id: I9b5eb6ffb8e938e30a3817f01e57e6c89ca30add
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 22:00:16 +01:00
Tamás Zolnai
4a9174cf5f cypress: NC: deduplicate file loading test code.
Change-Id: I296316366ace68ba4b559c2d82e54623d0738aa7
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 22:00:16 +01:00
Tamás Zolnai
f8b46ffa6b cypress: fix syntax error in selector.
Suprisingly the tests were not failing on this.
It might be an issue in cypress itself.

Change-Id: I27f6bc93a5a2880a00bfd1e0a0ced3e0b7b9b97c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Tamás Zolnai
ad6839488b cypress: NC: in NC the sidebar is not visible by default.
Change-Id: I37d8f436fc528568f449a58e43ccc7ed8142c866
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Tamás Zolnai
3cceb15b06 cypress: NC: fix hamburger menu related tests.
Change-Id: I219621c7376cd9e84fc635a960ba17dd77cfbf57
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Tamás Zolnai
6d37d7aa6d cypress: NC: disable save related tests.
In an NC environment reopening a document is not that easy.

Change-Id: Id18042dc08ab82c0538b03c17ecf6c9fb697cb23
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Ezinne Nnamani
9cd86f28be Created cypress test for Justify, Toggle numbered list and Toggle bulleted list attribute on Desktop writer
Change-Id: I392a312ac887b294bc63d4502a0f8f4645a05e84
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-03 11:24:58 +01:00
Tamás Zolnai
221c02af36 cypress: NC: disable normal image insertion test.
On NC we have different options for image insertion.
In the feature, it would be good to create NC specific
tests too for image insertion.

Change-Id: I540bbe0ddd66e3a2a4560282fd48f9f9002f970d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 10:20:19 +01:00
Tamás Zolnai
67d63553b1 cypress: NC: hide firstrunwizard more effectively.
Change-Id: I4a8bc873dc1657a0e554ec6132f5fc41531bb3d3
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 10:20:19 +01:00
Ezinne Nnamani
2975a266ef Created cypress test for right align attribute on Desktop writer
Change-Id: Ie0128ce0a6f20fe401cea231d0114abe64724ba7
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-03 09:19:34 +01:00
Ezinne Nnamani
335b00d04f Created cypress test for center align attribute on Desktop writer
Change-Id: I81e9765f7c2aa6811ec6ae4f15d37c9ba3d7532c
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-02 20:46:06 +01:00
Tamás Zolnai
65d67c771e cypress: php-proxy: fix insert hyperlink test.
The dialog is opened before the selected text content
arrives to the client.

Change-Id: I40fbc5e415c197515609304a047f0e5e303ae800
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-02 20:44:53 +01:00
Tamás Zolnai
255224abca cypress: php-proxy: disable new image insertion test.
It's a known issue, that image insertion test does
not work with php-proxy.

Change-Id: I0cd22ff4a96893c386fce28c5ef87716fd7b9b71
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-02 20:44:53 +01:00
Pranam Lashkari
580eecf87d leaflet: fixed DOM leaking on annotation remove in mobile
An extra annotation element was added but never removed
This was not a functional problem
But not a good practice and also made cypress hard to maintain

Change-Id: I53fc7d55154a601c52f89e35b9236f5ae66b46fd
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2020-11-02 14:42:23 +01:00
Ezinne Nnamani
4fc7b1a255 Created a cypress test for Insert chart on Desktop writer
Change-Id: I1cd38fdcf1fa42257d75d02ecf4e2ccb1bd716fc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-02 12:58:33 +01:00
Ezinne Nnamani
a4b4027f42 Created a cypress test for Insert Shape on writer
Change-Id: I689845328981d9dbfe34cc71eefebb802315a85e
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-02 11:13:10 +01:00
Ezinne Nnamani
3622bbf612 Created a cypress test for Insert Hyperlink on writer
Change-Id: I6056962c7602859b5975d1e2b4da3d033c53dc4a
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-31 09:39:39 +01:00
Ezinne Nnamani
23a5cddfa9 Created a cypress test for Insert Image
Change-Id: I8f7a56f34b8e6bcd7cad269112864e9ed9250ce3
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-30 13:34:10 +01:00
Tamás Zolnai
d3ce9d0a31 cypress: NC: hide firstrunwizard.
Change-Id: I3b02cbe19578db2ecc8bcb597faa575a1552b55f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-29 17:56:18 +01:00
Ezinne Nnamani
8bedf6ce51 Created a cypress test for Insert Table
Change-Id: I8275fea411d42ec7f96c7d87c8102397f392befb
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-29 09:56:32 +01:00
Tamás Zolnai
5db82b9622 cypress: NC: visit the files URL directly.
Change-Id: I9d4666235308354f74105edfa0f5b1831ab0bf14
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-28 19:06:20 +01:00
Tamás Zolnai
f650b761b5 cypress: try to fix nextcloud test failures.
Change-Id: Idc9a948b0b689b484d609c8778c574c921918a5a
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-28 17:24:58 +01:00
Tamás Zolnai
3f52832cfb cypress: update nextcloud test to work with NC 20 version.
We got some new exceptions and also we have a start
screen now.

Change-Id: I22288ede30540437e8b0a5d3ce4c607d42a465bc
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-28 15:12:02 +01:00
Tamás Zolnai
8af33a47a8 cypress: small cleanups in desktop/writer/top_toolbar_spec.js.
Fixing indentation. Removing extra selectAllText() methods.

Change-Id: I32c1602c173f9a46761d0035fd7b01c7963d9baa
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-27 11:45:44 +01:00
Ezinne Nnamani
c0f6ad4954 Created the cypress test for font color attribute
Change-Id: I0853c8c3d9cd88b0263c980a1e9ddcf81c6ca258
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-27 10:10:19 +01:00
Ezinne Nnamani
8677a2c262 Created the cypress test for Highlight color
Change-Id: I5faa18791aaa3e7670ea67502f86662569fd28b5
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-27 07:20:59 +01:00
Ezinne Nnamani
36107dacc1 Created a cypress test for style combobox
Change-Id: Id25ff65891ce7afa06f0877299d5220886fb5a1b
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-27 05:54:18 +01:00
Tamás Zolnai
7886d63349 cypress: remove php-proxy simulation.
We have a way of running the tests against
the actualy php-proxy script:

CYPRESS_INTEGRATION="php-proxy" make check

So let's remove the C++ implementation, so we don't
need to maintain a duplicated code.

Change-Id: Ie095a70a8175cc8cb4894905826d13762127b148
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-26 19:28:31 +01:00
Ezinne Nnamani
97d657699d Created the cypress test for font-style attribute
Change-Id: I80de963384fe6c2fe50607083fefe3ea1eb46af2
2020-10-23 18:02:51 +02:00
Tamás Zolnai
5b0676bc3a cypress: protoype an interference test.
The idea it to run an existing cypress test while
the same document is opened by a second user. The second
user does some activity (e.g. moving cursor, clicking, etc)
and we check whether it makes any interference with the first
user's view. The first user is doing the actual test's steps,
so we can see if interference breaks the assertions.

Now it's just a prototype for testing it in the CI setup.

Change-Id: I3e02c037754862d628c73bbb4b2d82ea84b8a719
2020-10-23 16:09:00 +02:00
Tamás Zolnai
d401101833 cypress update: 5.1.0 -> 5.3.0.
Fixes this issue:
https://github.com/cypress-io/cypress/issues/8621

Change-Id: Ied225391e7e72dfd9df852481ad29b6368c194cf
2020-10-23 12:58:18 +02:00
Ezinne Nnamani
a3b7a7c356 Created a cypress test for Clear direct formatting
Change-Id: I54ebe7fb81ca6598ba45f3cbed62474d103d055a
2020-10-23 11:52:52 +02:00
Ezinne Nnamani
2d3c3f02c4 Created the cypress test for font-size attribute
Change-Id: Id80b03625717e5061cb58449eab532536cc9fb50
2020-10-21 18:16:10 +02:00