summaryrefslogtreecommitdiffstats
path: root/cypress_test
Commit message (Collapse)AuthorAgeFilesLines
* Revert "cypress: use moveCursor() helper method in table tests."Tamás Zolnai2020-12-041-19/+19
| | | | | | | This reverts commit e1ed5d3c299f2664d108375a5ea3cb90814556a4. Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I9684921837ed6f55a74fb45750bff6c890996a59
* cypress: use moveCursor() helper method in table tests.Tamás Zolnai2020-12-041-19/+19
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Iace8fab305bba260c19d8fc7086caa24d20f6782
* cypress: generalize mobile interference tests for Impress.Tamás Zolnai2020-12-041-7/+18
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Idcccd74d0c58f768189b488f85158e225130c41b
* update cypress: 5.5.0 -> 5.6.0.Tamás Zolnai2020-12-041-1/+1
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I6a290e8520311a89d2c5e214152be58bd7e2904e
* cypress: php-proxy: reenable table related tests.Tamás Zolnai2020-12-032-3/+3
| | | | | | | | | | There was an issue about tile invalidation related to Writer tables. This was fixed in the meantime, so we can enable table tests. I added an additional fix for these tests to make it work with php-proxy too. Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Id3f8288b65e597a49f0a45c8d106d5ed9f6ead46
* cypress: disable this multi-user test.Tamás Zolnai2020-12-032-2/+2
| | | | | | | | | It randomly fails recently. The issue is something related to the text selection at the end of the test. We'll need need to investigate that later. Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Ifba3d52d569fa41920e073b809ed12b60f761103
* cypress: generalize mobile interference tests for Calc.Tamás Zolnai2020-12-032-4/+20
| | | | | | | | | Also use a bit longer waiting time for mobile wizard to become idle. With the interfering user the timing is a bit different. Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I4f24c700cd718bd129b713f2fd12819f92772b64
* impress/cypress: add tests for font sizeprivate/thais/impress8Thais Vieira2020-12-031-0/+25
| | | | | | | and font name. Signed-off-by: Thais Vieira <thais.vieira@collabora.com> Change-Id: I959a7bc455371504897e03dcc0be8b26178b0202
* cypress: NC: disable failing 'Automatic spell checking.' test.Tamás Zolnai2020-12-021-1/+2
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I6762c08b9a921eb942ee537195cbe530f3260dc1
* cypress: remove this prototype of interference testing.Tamás Zolnai2020-12-013-202/+1
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Ibb7c84a2c701770cb4064c04223fc1fe041d624e
* cypress: introduce interference testing for mobile tests.Tamás Zolnai2020-12-013-0/+136
| | | | | | | | | | Added `make check-interfer-mobile` command for running interference tests. Now it works with writer tests. I'll generalize it later. Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I2181a8653d61cc6ed873e2887a3e42767f46f177
* cypress: make sure the cursor is visible after step into editing mode.Tamás Zolnai2020-11-303-15/+8
| | | | | Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: Ia30f6fe79c3318c2663d8da1d3d197fb936b0088
* cypress: disabled annotation/comment testsPranam Lashkari2020-11-306-7/+7
| | | | | | | | mobile tests annotation tests do not work with new comment wizard tests needs to be rewritten so temporarily disabled tests Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I66e8f88cdbf921060af083e84d73b372e03f8dda
* cypress: don't use togglemergecells as an indicator here.Tamás Zolnai2020-11-261-8/+2
| | | | | | | It's state is inconsitent and so it fails randomly. Change-Id: Icd84d618fc87e64228918ad2e6e1ac602eac0e05 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: fix-up some writer tests.Tamás Zolnai2020-11-252-3/+15
| | | | | | | | It's not consistent, that we have a cursor after stepping into editing mode. Change-Id: I316c2399776535aaa12a40edb4686a9b02c16c4a Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* impress/cypress: add tests for highlight color.Thais Vieira2020-11-241-0/+15
| | | | | Signed-off-by: Thais Vieira <thais.vieira@collabora.com> Change-Id: I074c397ad6fe68a0841dc71c8465b760ac644eb7
* impress/cypress-test: added test for font color.Thais Vieira2020-11-231-0/+12
| | | | | Signed-off-by: Thais Vieira <thais.vieira@collabora.com> Change-Id: Iea532287eec0f55ba09d45298f2f904753088ba6
* cyperss: php-proxy: Undo / Repair test passes now.Tamás Zolnai2020-11-191-3/+1
| | | | | Change-Id: I17293ecc2f1490855cc1a217776b8c853c8c974c Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: NC: these log configs are not necessary anymore.Tamás Zolnai2020-11-191-4/+4
| | | | | Change-Id: Iafa7f6f415d336b8b281bd7df528ec4baf2ec2a4 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: multi-user: improve interfering prototype a bit more.Tamás Zolnai2020-11-191-9/+11
| | | | | | | | | Instead of hard coded test file, we use the admin console to find out which test document we should open with the interfering user. Change-Id: Iedaea07eb558ca6335d8768ab23799bf02d7f4a7 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: multi-user: improve interfering prototype a bit.Tamás Zolnai2020-11-192-1/+36
| | | | | | | Use comment as syncronization point. Change-Id: I5a959b3c89f445a150ddb970241d1188366cb00b Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: multi-user: avoid running more tests in parallel.Tamás Zolnai2020-11-191-2/+2
| | | | | | | | | We have more users running already for one test, better to avoid side-ffects coming from running more multi-user test in parallel (they are using the same loolwsd). Change-Id: I1cbed36a3ffe2825c384b525da361c4cfe781b38 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: multi-user: move retries config to a shared place.Tamás Zolnai2020-11-1912-12/+12
| | | | | Change-Id: I7939395b88c7a74a1e0016ec78c95ef46a5a31ec Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: multi-user: move this document opening gap to the make file.Tamás Zolnai2020-11-196-15/+1
| | | | | Change-Id: Ib37d8d29e8965712975e27a4577a4f1b6a0e35a0 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: NC: improve iframe handling a bit.Tamás Zolnai2020-11-191-16/+18
| | | | | | | | | | Create an alias for the iframes, so we don't need to find them every time, but we can use the reference to them. It make the log more clear and also makes things faster. Change-Id: I6ca21f951568e46cec3d6a574ce1798b522067ea Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: NC: remove this check.Tamás Zolnai2020-11-191-3/+0
| | | | | | | It does not work correctly in NC environment. Change-Id: I1358f0f80aa05ddb118fc1cfd4237a5fac875fcc Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: extract selectListBoxItem2() method.Tamás Zolnai2020-11-185-169/+44
| | | | | Change-Id: I3be28686d19c5bc174b1a2f83fe9a849239756b2 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: extract checkDialogAndClose() method.Tamás Zolnai2020-11-182-12/+18
| | | | | Change-Id: Ib5f2d7c7304390e660ec36878fe060e4f39a9312 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: extract selectListBoxItem() method.Tamás Zolnai2020-11-185-91/+28
| | | | | Change-Id: I4dcc1d77f20955ee9bd425d447a3fb77f1a423f5 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: simplify these border tests.Tamás Zolnai2020-11-182-36/+6
| | | | | Change-Id: I43ba769f9952c8286a0c190342d382359d23c703 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* Created a Cypress test for More option in border style in Desktop CalcEzinne Nnamani2020-11-181-0/+11
| | | | | Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com> Change-Id: If98fef3d53b190c79335306f4e81d59eda8e6f8c
* cypress_test/impress: Add test for strikethroughThais Vieira2020-11-181-0/+10
| | | | | | | font shape Signed-off-by: Thais Vieira <thais.vieira@collabora.com> Change-Id: I5c83c95aa968334a82a7ae7a3bb8fc1c7bba9b7c
* cypress: extract selectFromListbox() method.Tamás Zolnai2020-11-183-10/+20
| | | | | Change-Id: I58da02f2a082e3683da62022c3bf9cb656621cb5 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: extract selectColorFromPalette() method.Tamás Zolnai2020-11-183-8/+18
| | | | | Change-Id: I6ce70b2ee51dde2c6449236d911519776f75f892 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: selectAllMobile() -> selectEntireSheet().Tamás Zolnai2020-11-1812-137/+141
| | | | | | | | | It was a mobile only helper method originally and I forgot to update the name when moved in into a bigger scope. Change-Id: I818cbebadba4152afb8e0261015734a232b0e211 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: this wait() is not needed anymore.Tamás Zolnai2020-11-181-3/+0
| | | | | | | | Calc helper methods were improved in the meantime. Change-Id: I9c464cd9d23ce4a70fa63d376619458f38cc1389 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* Created a cypress test for Apply horizontal borders, Apply all inner and ↵Ezinne Nnamani2020-11-182-1/+98
| | | | | | | | 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>
* cypress: update this formulabar test.Tamás Zolnai2020-11-171-1/+6
| | | | | | | To make it more stable. Change-Id: Ib9c8878bdf266733ec03eb3ba018035b115c7f7d Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress_test/impress: Add test for underlineThais Vieira2020-11-171-0/+10
| | | | | | | text shape. Signed-off-by: Thais Vieira <thais.vieira@collabora.com> Change-Id: Ia71b891d78bf621aec24d90e105fed1b32152528
* impress/top_toolbar: Add Cypress test for italic attribute on desktop.Thais Vieira2020-11-171-0/+10
| | | | | Change-Id: I7cf9e31beba87cd12d562b0e899b83c895ba68d7 Signed-off-by: Thais Vieira <thais.vieira@collabora.com>
* Created a cypress test for Apply top and bottom border and Apply border for ↵Ezinne Nnamani2020-11-171-1/+27
| | | | | | | all sides in Desktop Calc Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com> Change-Id: Ic24f19c298cd2577f18c961b6a0a596034756445
* cypress: workaround an issue of afterEach() hook.Tamás Zolnai2020-11-161-3/+9
| | | | | | | | | | | 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>
* cypress: merge some selection helper methods.Tamás Zolnai2020-11-1616-197/+189
| | | | | | | | 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>
* Created a Cypress test for Left and Right border, Top border, Bottom borderEzinne Nnamani2020-11-161-5/+46
| | | | | | Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com> Change-Id: I3c1d920c9d05b44dda5172ec67226072675ba892 Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
* cypress: update this comment modification test.Tamás Zolnai2020-11-161-1/+4
| | | | | | | To make it more stable. Change-Id: Ib8731df9d29fafe568e6e7124ed8d17c315831b6 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: rework formulabar related tests.Tamás Zolnai2020-11-163-65/+25
| | | | | | | | | 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>
* Created a cypress test for Remove border cell, Right border cell and Left ↵Ezinne Nnamani2020-11-161-0/+52
| | | | | | | | 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>
* cypress: skip afterAll() in case of failure for NC only.Tamás Zolnai2020-11-161-1/+1
| | | | | Change-Id: I37c13cd9c40fe034236e675fd1ba1ed8f0dea216 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* cypress: rework some calc tests.Tamás Zolnai2020-11-163-86/+75
| | | | | | | | | | | 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>
* cypress: diable this new multi-user test case for NC and php-proxy.Tamás Zolnai2020-11-141-0/+12
| | | | | Change-Id: I18688e130f9ac5b8976ca60ad44b798c48181129 Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>