Commit graph

298 commits

Author SHA1 Message Date
Tamás Zolnai
e07a94abc1 cypress: it seems checkboxes on mobile wizard does not work anymore.
Change-Id: I08f8ba69e37b0c396d0a995d633bcf58de7096f5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94238
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-14 18:04:55 +02:00
Henry Castro
42f8336757 cypress: enable skipped unit test for "writer/shape_properties_spec.js"
Enable unit test related to Spin button controls changes

Change-Id: Ib2f0098d5d0b9f8b6eae28a4cce8680c6378e623
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94124
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 17:44:22 +02:00
Henry Castro
580f06a21e cypress: logging the command state changes
So when unit test fails, we can inspect the response
from server some UNO command states

Change-Id: Ic652918a8e57cadfd1cd58a89d7a1c9905abcfc9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94081
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 17:24:38 +02:00
Henry Castro
e6f5917812 cypress: fix error running single unit test
builddir != srcdir

Change-Id: I2521c3e11f05f0c91bf0e8f5667a5466493acac0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94080
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 16:51:29 +02:00
Tamás Zolnai
f7bf4d5cdd MSForms: display placeholder text, when there is no items.
Change-Id: I8acd29d734820f6ddc36871c7777fefd2956c213
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93962
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:13 +02:00
Tamás Zolnai
84f46074f9 cypress: start Xvfb with screen argument.
It fixes an error during cypress verify:
https://github.com/cypress-io/cypress/issues/6184

Change-Id: I993bf6cda5f8018d394ee6ee506f99d07b1e6e56
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93793
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 12:45:28 +02:00
Tamás Zolnai
50d4451c21 cypress: catch also "Command failed:" as an error.
Change-Id: Ie5649886eabf3994ba003dc9e7b9b28790c1a58b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93925
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 12:15:46 +02:00
Tamás Zolnai
76c4d79ffb cypress: add tests for form field button.
Change-Id: Ie297d9f10edebd857af2e2c4f9f09acd5c1519d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93770
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 01:47:26 +02:00
Tamás Zolnai
e0a82365f3 cypress: fix shape operations test.
Change-Id: Ibdca536bc8fb2a5b16d6ed085a65c25d1bc854b4
2020-05-09 09:54:09 +02:00
Tamás Zolnai
619ae03f36 cypress: formula bar editing is working again.
Change-Id: I8131ed29f5617d2debe9200111e88e42f9969096
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93555
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-06 10:58:06 +02:00
Tamás Zolnai
d03aa27ea7 cypress: formula bar editing is now broken on mobile.
Change-Id: I6fe1ec312ef9f25dd4b6a92edb9151ccc6b12d2a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93487
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-05 16:13:52 +02:00
Tamás Zolnai
a86ddbb3ab cypress: mobile: fix-up this focus related test.
It's not an actual regression, but using clickFormulaBar()
method to move the cursor to a specific position is not
stable it seems.

Change-Id: I9abd470fd1f0f753181f3550df3b41384fa166dc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93258
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-01 12:56:25 +02:00
Tamás Zolnai
39b00d3b84 cypress: disable various regressed test cases.
Change-Id: I316021a57e9bd3288138c1ac2e85af73d8efcf46
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93224
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-30 18:55:41 +02:00
Tamás Zolnai
4008c7120d cypress: don't run mobile and desktop tests in parallel.
With the recent mobile detection related changes having
mobile and dekstop tests running in parallel make the build
fail.

A related commit:
255d24ba8f

Change-Id: I69929b5dbd37298e27409d247a651c79f6dbe33f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93222
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-30 18:26:34 +02:00
Tamás Zolnai
91bcea3195 cypress: add eslint plugin files as a dependency of NPM installation.
So the build will update the plugin package after every change.

Change-Id: I687def1d29fe3acdd364b61c69ac1a7d3cf7cb84
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93115
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-29 06:58:14 +02:00
Tamás Zolnai
af76b48460 cypress: add a custom ESLint rule against cy.get().contains() usage.
Since cypress retries only the last command, it's better to use
the compact cy.contains(selector, content) version, instead of
cy.get(selector).contains(content) call.

Change-Id: Ie1f4c17bbf736058ecf6bd996b46384fdff19446
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93081
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-28 18:42:56 +02:00
Tamás Zolnai
0d5edfeb22 cypress: recently these two tests are failing randomly.
Change-Id: Ie45b10050ae6d985eb457096fb6bf7b3fcde34e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93046
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-28 12:36:22 +02:00
Tamás Zolnai
fdf31909c9 cypress: remove some cy.wait() calls.
The helper functions were improved in the meantime.

Change-Id: Ie8ae8caf5b33567681010a7a0cfc45d2da061f8b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92973
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-04-27 15:33:17 +02:00
Tamás Zolnai
2732f33238 cypress: mobile: fix random failure in shape properties tests.
Change-Id: Icb531d97429c8f7abfc73ef01e31e09822faba43
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92964
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-27 11:13:17 +02:00
Ashod Nakashian
b6c9b3e20d cypress: Calc Formula-Bar tests
New tests to exercise the Formula-Bar in
both desktop and mobile modes.

Change-Id: Ibc174232f7b614132913c1d66af0051b51151a29
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91537
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-27 10:53:44 +02:00
Andras Timar
33000dfded typo fixes in comments and code
Change-Id: I6f31e050aab701e31064e1abc9429dce0a50c279
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92953
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-26 23:19:52 +02:00
Tamás Zolnai
3a13984b6b cypress: remove cypress-wait-until package.
We can use should method everywhere with a callback function
parameter. When there is no a specific item, which this should
is connected to we can use 'body' or any other existing item.

Change-Id: I3e1c5ca930b28304e886971ee50201d93a086b45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92931
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-26 17:13:24 +02:00
Tamás Zolnai
9becac31e9 cypress: then(callbackFn) -> should(callbackFn)
It's better to use should, when we need an indicator.

Change-Id: I0f08c8862411e3c7627302bbda7b632b0bc0e15c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92930
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-26 14:44:29 +02:00
Tamás Zolnai
8a8a00b3a0 cypress: mobile: then(callbackFn) -> should(callbackFn)
It's better to use should, when we need an indicator.

Change-Id: I5d1fe825fdd6b20f98ce179c7cb6260ec0966928
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92918
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-26 12:07:38 +02:00
Tamás Zolnai
6f54cf0a28 cypress: mobile: cy.waitUntil() -> should(callbackFn)
We don't actually need cy.waitUntil() extension here,
becasue we can do that same check with should()'s special
usage.

Change-Id: I2b14afe84d2fa70f493aae873e3f1534540e96ea
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92917
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-26 11:09:11 +02:00
Tamás Zolnai
98e3994e6a cypress: add an own eslint config for the test code.
This parserOptions was added for cypress test so
move that into the tests' own config:
b2ec95dcfd

Change-Id: I3c565d212409cc01621eca97cd59ae7869d852cc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92857
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-24 14:41:31 +02:00
Tamás Zolnai
d66d6bc91c cypress: mobile: restore waitUntil usage in object insertion code.
Unfortunatelly, cypress does not work properly when invoke() and its()
are chained:
https://github.com/cypress-io/cypress/issues/7130

Change-Id: I49fb9dcf9dc664495dfe8662d430df19faab00de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92849
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-24 13:23:14 +02:00
Tamás Zolnai
2a047045b2 cypress: make expectTextForClipboard() work in Writer.
Change-Id: I19d8961f64a23102f58d47a9893ddc318206c70a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92716
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 18:03:56 +02:00
Tamás Zolnai
604782e0a3 cypress: eliminate cy.wait() in clearAllText() method.
Change-Id: I572daf71b31814e2d6e0d2dc831152773e659f7b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92717
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 18:03:25 +02:00
Tamás Zolnai
ba86534c43 cypress: introduce a data attribute for acceptInput
So we can use cypress calls to wait on the tested state
using cypress' retry functionality. It's also useful to
have the acceptInput state in the DOM, so we can check
it in the interactive test runner.

Change-Id: I17cd8f88b270f7a329d35e77dec4eedd7aa1c2a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92682
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 13:35:35 +02:00
Tamás Zolnai
e580e8c7dc cypress: desktop: restructure data and test files.
Plus rename one test file: focus.odp -> slide_operations.odp.

Change-Id: I278fc22ec55bcfbd47d2ecda95b759c16b615403
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92681
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 12:56:02 +02:00
Tamás Zolnai
06160fed5e cypress: remove this example test code.
It was added initially to have some dekstop test too.
Now it fails, so no need to keep it.

Change-Id: I94aae2b5e86c46dfd5afa5decabb3333cefd1302
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92680
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 12:37:32 +02:00
Tamás Zolnai
9d9ea65529 cypress: introduce a better way to check the selected text.
We can use cypress methods on #copy-paste-container and so
we don't need to use explicit wait() method here. The added
cypress call will do the waiting more effectively.

Change-Id: Ib15ffb1d72e422ef303f9e0e17b29d740cd4e7f6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92678
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 12:31:22 +02:00
Tamás Zolnai
49edc462b7 cypress: assign selection data to clipboard container as soon as it arrives.
So we don't need to trigger a fake copying to get the
content. It will make things easier.

Change-Id: I0964fe697602d77078f10792355fbda23879c7c9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92645
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-21 20:31:42 +02:00
Tamás Zolnai
227b9812b8 cypress: mobile: add tests for calc cell appearance options.
Change-Id: I452c07a01f903edfffaeb63042418534ed0ae039
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92564
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-20 14:43:56 +02:00
Tamás Zolnai
f5b15b2564 cypress: fix some comments
Change-Id: I49a1d1ad255ae474ff0415ae5db6ad06caac2cfb
2020-04-20 11:05:00 +02:00
Tamás Zolnai
2fb4a9a1a8 cypress: mobile: add more test for text alignment options in calc.
Change-Id: Ib3f92d879cdf5bc5a54ba4fa005b3da05737d580
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92449
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-17 16:16:00 +02:00
Tamás Zolnai
19821f0772 cypress: mobile: update calc text alignment test.
Change-Id: I14893d70ffff312b897c48fe43a4e2add34bb29b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92419
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-17 14:12:45 +02:00
Tamás Zolnai
729e8f8679 cypress: mobile: use a better workflow for using aliases / variables.
Since we are in an asynchronous environment, we can't just use
variables locally that easy. Cypress has alias feature to
introduce global variables and access them. Since these are
global we should init them anytime before use.
So a stable workflow seems to be this one:
* Set alias to an initial value (e.g. 0)
* Wait until it's actually set (e.g. cy.get().should())
* Set the alias to the value you need in the test
* Wait until it's actually set
* Move on with your test and assert on something using this alias

So we need indicators also for this variable to be set, before we
use it. This will make it work a sequential way, how we need it
to work.

Change-Id: I047373aa884b1ac7bac419cfb1811534c0e95862
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92417
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-17 13:41:29 +02:00
Tamás Zolnai
8a7b9158d3 cypress: mobile: add test for changing text indent via spin field.
Change-Id: I5cbd74abcf763312a01280c9099e0e846c8b438f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92360
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-16 15:28:33 +02:00
Tamás Zolnai
bd88fb0cd2 cypress: mobile: some issues were fixed on number formatting page.
So enable the related checks.

Change-Id: Id8af54e8a47de96a9147f074570e0c2b35205e3d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92361
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-16 15:18:09 +02:00
Tamás Zolnai
cc107fa903 cypress: mobile: kill waitUntil() in object insertion test.
We can store the original position in a 'variable' and
we can use that variable to assert on.

Change-Id: I026c1f3adc445b94d7d7720608ca36a373678352
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92350
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-16 13:44:45 +02:00
Tamás Zolnai
b5b73628bf cypress: mobile: add test for text indent changes in Calc.
Change-Id: I5f890791e568281c1be83bfb18d02e35180e5ef8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92342
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-16 12:22:12 +02:00
Tamás Zolnai
04388d764b cypress: mobile: update checkbox related code snipets.
These checks were not actually unreliable, but the checkbox
handling code was changed.

Change-Id: I4b3f7dc161d9a774466cdfb6bca49de8d1311714
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92339
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-16 11:16:00 +02:00
Szymon Kłos
12ba5a3004 Add cypress test for slide operations
Change-Id: I08d1c1f2fc6e6b1dab84040ce235dfbd6bbb59ec
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92280
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-15 22:45:39 +02:00
Tamás Zolnai
aeed1138d5 cypress: disable this checkbox related snippet.
Checkboxes have wierd flickering on mobile wizard.

Change-Id: Ie9756f5dc7213a113ea6d05c7c02594a5d1eb1a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92308
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-15 18:13:54 +02:00
mert
744b1ced2a fix cypress failure due to id change of element
Change-Id: I1df07e10c4b3c5bdc88417eb785dc711fc6dd0e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92265
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-15 14:32:51 +02:00
Tamás Zolnai
dde40739f6 cypress: write out the command for running the test file in case of failure.
Change-Id: Iba856ee675a4a545e7f44d396a92638633ec9540
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92225
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-14 20:48:07 +02:00
Tamás Zolnai
2236c0040e cypress: mobile: disable these check state related parts.
It's a known issue, that these checkboxes have wrong state.

Change-Id: Idca61bc261d03e19e5aa9266bbf8727da94de642
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92214
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-14 19:37:59 +02:00
Tamás Zolnai
e73c240dd5 cypress: selectItemByContent() -> cy.contains()
This helper method was introduced as a reliable
alternative of cy.get(<selector>).contains(<content>).
However we can have the same result using contains()
differently: cy.contains(<selector>, <content>), which
works reliable.

Change-Id: I11553f7d280a0f3a94a8f353410308113dd1c825
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92194
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-14 16:45:31 +02:00