Commit graph

282 commits

Author SHA1 Message Date
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
Tamás Zolnai
96819f81cb cypress: generate test names dynamically for the parallel build.
Also improve afterAll(). Having test files with the same suffix
led to test failure. We can have better result with a regex.

Change-Id: I8d678aa17eb0e28e643cc86f584aab713ca153ca
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92157
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-14 16:22:35 +02:00
Tamás Zolnai
b394c5a8f7 cypress: introduce a second chance for the tests to pass.
In parallel build try to run the specific test files
for a second time if they fail. Let's be realist,
testing an online application always has some
unreliabilities, let's make things more reliable with
running test more times and abort the build only if
the test fails consistently.

This is enabled only for parallel builds now, so we
have it on Jenkins. A simple make check will be more
deterministic. I also added an option to disable second
chance for parallel build: see CYPRESS_NO_SECOND_CHANCE
make file variable.

Change-Id: Ib7c554a238ded7ee15908b9f0c2d2c92ef0dcf32
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91987
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-14 11:38:44 +02:00
Tamás Zolnai
bc9f0579e3 cypress: add run_iteratively.sh for catching inconsistent test failures.
It's useful to run a test suite more times, until it fails
when a failure comes up randomly.

Change-Id: I33708eff1db65f571c2cde323aaa683e6e1676e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92031
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-10 13:37:48 +02:00
Tamás Zolnai
fcd304ad5e cypress: mobile: fix random failure of 'Change line transparency' test.
Using an indicator after changing the trasnparency solves the issue.

Change-Id: I21f3f0571dbc42685594c868c056ce1b314df714
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92030
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-10 12:48:10 +02:00
Tamás Zolnai
649bf8545a cypress: mobile: it seems we have some flickering on pos&size panel.
Change-Id: I9347b3fefd44f8642ab151654cf063f66e2d19ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91986
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-09 18:24:57 +02:00
Tamás Zolnai
e6c81ec33b cypress: mobile: extract openInsertionWizard() and closeInsertionWizard().
Change-Id: I3ace4714d6848dfa1132240debe95ab63ac3d26b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91958
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-09 12:49:27 +02:00
Tamás Zolnai
6988c3306b cypress: try to fix random "Uncaught SyntaxError" failures.
I don't know why it happens, but I found a bug report about it
with a solution:
https://github.com/cypress-io/cypress/issues/4889

So let's check whether changing this setting solves this issue.

Change-Id: If1f1162d9c7cfb4f68f816285644dc88b35f872b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91956
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-09 12:31:04 +02:00
Tamás Zolnai
354f667c83 cypress: introduce selectItemByContent() method instead of contains().
cy.get().contains() behaves unexpectedly. With pseudo code:

// First find the item using the selector
do {
  item = get(selector)
} while (item == undefined)

// Then wait until it get's the right content.
// Item points to an object which can change it time.
do {
} while (item.content != specified_content)


What we actually need is something like this:
// Wait for an item which matches both the selector and content.
do {
  item = get(selector)
} while (item == undefined || item.content != specified_content)

The new selectItemByContent() method behaves like this.

It just looks wierd when you experience a test failure in the
interactive test runner and you check the DOM and you can see
the right item with the rigth content and the test still fails.

Change-Id: I0b1466a165451e831401e1f4b500ce16bd3f38b0
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91955
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-04-09 12:18:50 +02:00
Tamás Zolnai
803e9ee336 cypress: mobile: remove copy-pasted comment.
Change-Id: I459c0a7f068c1eabea9f5630bea3a718e31e044e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91922
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 15:26:27 +02:00
Tamás Zolnai
a795117f60 cypress: mobile: improve copying via context menu.
So we don't need to close the mobile wizard before copying.
The main issue was with contains() method, which first
selects the HTML items and waits until these items gets
the content 'Copy'. What we actually need is to wait until
an item appears with the content 'Copy'. Not the existing
items's content is updated with the 'Copy' text, but new
items are created.

Change-Id: I235d2756ce41a099267fa335c215d3eca6f468c2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91913
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 15:26:18 +02:00
Tamás Zolnai
56c6f5cc48 cypress: mobile: add some tests for alignment properties in Calc.
Change-Id: I6a0209a484041a3df44e5472a4b0679193dd38c1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91912
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 14:30:13 +02:00
Tamás Zolnai
4d270dffac cypress: mobile: calc: add more tests for number formatting.
Change-Id: I6720040a296ce9cb1185b428a4a062a7f61c27fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91884
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 13:06:25 +02:00
Tamás Zolnai
8986e8068f cypress: mobile: try to fix random failure in calc spellchecking test.
Change-Id: I0c4bda087a651e668ea0bbff285d11996768fc05
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91883
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 13:06:14 +02:00
Tamás Zolnai
bdef8193b8 cypress: simplify output error matcher.
Change-Id: I18392d8aabd9f3f4ba43139f9e951faead8b9667
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91876
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 11:24:38 +02:00
Tamás Zolnai
efdc8b25b4 cypress: run JS error check also for make run commands.
Change-Id: I0a00d64e2222cbad5fc7e89711a89bb3620f793f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91875
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-08 11:22:20 +02:00
Tamás Zolnai
82f022d8b9 cypress: try to fix TypeError: cy.waitUntil is not a function.
Import cypress-wait-until directly in the test file. This module
is not intended to use everywhere, so it's not a big issue
if we need to import it before use.

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