Commit graph

1017 commits

Author SHA1 Message Date
Rash419
e6561ff816 cypress:added image_operation_spec for calc and slide_operation_spec for mobile
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I73032d2e855ddb5500867f1ec5fd7948d7798e5c
2021-06-07 14:39:28 +05:30
Rash419
68509f36ce cypress:added font spec for desktop writer,impress,calc
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iecd6671be39cd686f47129cde936b705a411f122
2021-06-05 12:35:23 +05:30
Rash419
5c91a25b9e cypress:added delay in delete_objects_spec and fullscreen_presentation_spec
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7333b6bd8a9de1d1f2f82041859374d1f65fc074
2021-06-01 12:41:37 +05:30
Rash419
d2cee95331 cypress: added delay before click on zoom level
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ie339287becf98d50a79d9c34e53b744bc5ae7c50
2021-05-31 12:37:08 +05:30
Andreas-Kainz
8dfd9dab66 Mobile BottomBar Calc Align Menu
Move Align settings into a drop down menu instead of buttons, cause calc has 7 align options.

Signed-off-by: Andreas-Kainz <kainz.a@gmail.com>
Change-Id: I1bbe1ed8b8ef7ada8e56486fef44b962e8dc50d7
2021-05-30 22:50:12 +02:00
Szymon Kłos
e588850786 cypress: fix impress annotation tests
Cypress error said annoration was covered by sidebar.
Hide sidebar and select 50% zoom to show annotations on screen.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6a63c4e95ea0de5ad0338344098e49b387b6c54b
2021-05-28 22:11:19 +02:00
Szymon Kłos
e0dab3246f sidebar: remove tunneled one
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6e915b4bfacb8bf86d84e910896babcd02e8a0af
2021-05-28 22:11:19 +02:00
Szymon Kłos
5c79418507 sidebar: introduce js based sidebar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iad92dfd61014b10453966d1d9c024a2ba61b3628
2021-05-28 22:11:19 +02:00
Szymon Kłos
df538b11d6 cypress: fix shape_properties_spec
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0afcbf2fd9ba0c271a54fae08ba5f3548a14ac44
2021-05-26 21:01:27 +02:00
Szymon Kłos
2e54ce8079 cypress: temporary no check for hidden field
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I173392ede27be7f6c624a16ddc085af433f78121
2021-05-26 21:01:27 +02:00
Szymon Kłos
45dd73ecf6 cypress: fix spinfield test
welded field doesn't switch by step, but always + 0,01

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I765348be2ecb8f5e7303fadd5407695d0fd6d224
2021-05-26 21:01:27 +02:00
Rash419
75e2bffb3d cypress:paragraph properties spec for impress and writer desktop
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I512e3472b07b0deaf08802fda7d6cbfa09e29ecd
2021-05-25 16:53:22 +05:30
Szymon Kłos
12486e4c57 cypress: fix not stable delete image tests
- menu was visible and covered center of the image
- sidebar was covering image in the impress - change zoom
- temporarily introduce delays so slower sidebar will not break tests

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I65eb7a7337880ce48f89669c038a88fde5c67493
2021-05-25 11:57:38 +02:00
Rash419
fe9e577f83 cypress:fix calc delete chart test failing
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If270c9400881292a6ebe54ed697fb70af6c80bb4
2021-05-25 13:30:10 +05:30
Rash419
6ffef3a7fc cypress:added searchbar spec for desktop impress,writer,calc
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If4a23c069c4fce9106b66fbb987f34cfddbb26f9
2021-05-24 16:41:24 +05:30
Rash419
171cacb764 cypress:added tests for track changes in writer
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ifad0ecc0527b4bb1f1c76e66c79285c045b7af9a
2021-05-24 16:39:24 +05:30
Rash419
6488118b73 fix:comment doesnot appear in wizard after reload in writer
and enabled cypress test mobile/writer/annotation_spec.js

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If72e6f98acf5fcad1202332fa6521d7ad0e35e83
2021-05-24 16:39:04 +05:30
Rash419
c961e73f10 cypress: added delete-objects test
added id field in table option of menubar and moved _refreshRowColumnHeaders to canvastilelayer from calctilelayer

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia2e492cb6edcd65ba2444da34795fe367b25e887
2021-05-24 15:54:31 +05:30
Pedro Pinto Silva
021760f751 Cypress: Toggle bulleted list test: scroll before testing
Default cypress view is too small, scroll first and then
attempt clicking in the bullet icon. This fixes failing tests
on this spec. No need to skip the test anymore.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idffbfec94f94c784b03815c21ece0b8d38a8ba0e
2021-05-20 14:18:53 +02:00
Rash419
d5412e7439 cypress:fix failing test temporarily
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I910dc2e6f8e99add6f7f46811d9c1a569c8d1fc1
2021-05-20 13:32:00 +05:30
Rash419
fb9e41af1f cypress:skip failing tests temporarily
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Icfdb53967eef14ad93ebfc6b1978304e9298db70
2021-05-19 14:41:21 +05:30
Dennis Francis
639846e3fe improve cell cursors and selections
* No AA bleeding: render pixel aligned (ie. 0.5 offset) for all hair-lines
* Two pixel wide line, around the cell - black; with the inner pixels /
  line exactly on top of the cell border.
* inside this breaking the outline - an internal white border which is
  exactly 1 pixel inside that black border - for a high contrast look.

The change introduces CPathGroup which is just an array of CPaths that
allows separate styling. CCellCursor and CCellSelection classes
specialize CPathGroup and implements the above three guidelines.

The view cell-cursors and view-selection also use the same
implementation with different styling.

The cypress tests are updated accordingly for the name change in the
test-div.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I8881337df6cf8d543bd48e8de4560d9aab681dff
(cherry picked from commit d12c8f24bcc2e9d00da7a2fef114f1522f478e93)
2021-05-13 11:30:26 +05:30
Szymon Kłos
04dd13672f cypress: Don't check cursor in formulabar
because it is tunneled now as drawing on the canvas

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I76c7d218abf155b2bd835d9f74b46d02e2808bbc
2021-05-07 20:00:19 +02:00
Rash419
a01e5fb4d8 fix:cypress failing randomly on master
when two or more tests share the same document one or both the test are failing

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I638a76f8f98eff019a298bcafcbe89155442bcde
2021-05-06 19:58:10 +05:30
Aron Budea
a601dca3e1 cypress: update cypress: 6.2.1 -> 6.8.0
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I8174ad69bde13df3a93ddbe7b8ace93b0b0aa44c
2021-05-06 12:16:09 +05:30
Pranam Lashkari
e8b50bab40 cypress: rearrange dependencies in package.json
problem:
every time running cypress test would change the properties,
in alphabetic order

this will make sure to avoid unintentional changes

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Id7b955ad2154ec6393a4cb9d115f369db25b5008
2021-05-05 04:41:57 +05:30
Aron Budea
41cf147bec cypress: update cypress-select-tests: 1.5.9 -> 1.7.0.
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I5181d78d73a88d1faaf1419a8315b44e034f5c97
2021-05-03 08:41:12 +02:00
Rash419
eaa4f29ebf fix:focus_spec failing in CI
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I9560ecde57faa194129dc1ad699745cb65582d3d
2021-04-30 16:51:56 +05:30
Rash419
7d9eefd370 cypress: added annotation tests for desktop
introduced annotation tests for mobile calc, move insertComment function to mobile-helper

added new classes in annotation edit fields to distinguish reply and modify

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I22072037c858c97250d50a8c323893cfbdc31b60
2021-04-28 16:34:46 +05:30
Rash419
04bb760497 cypress:added image operation for impress and writer
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I3db41c146bcab4ec90ae376909db0f50b4174704
2021-04-27 16:15:27 +05:30
Andras Timar
33be889652 now we initialize SSL unconditionally, we need to amend cypress test's Makefile
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I54c743fb0e8737b82e642ca87ef262f290c534f1
2021-04-21 11:19:36 +02:00
Marco Cecchetti
3317f6fe3e cypress tests for fullscreen presentation
Set up support for performing end-to-end tests on the fullscreen
presentation.

Added 2 tests:

1 - check text fields (slide number, slide name) are correct for the
current slide

2 - check the background for current slide is referenced correctly

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: If8d3cda49254a910aa0c5d2d672834aa5b029e0b
2021-04-14 15:02:48 +02:00
Rash419
4551482451 cypress: added tests for comment switching in desktop impress
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I0cd13c2555274e243ac60cceec0b3e00d2d929ef
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
2021-04-14 16:17:11 +05:30
Dennis Francis
40ff6989fe lint typescript files too
Fix some issues it found and disable the following checks for now. Some
of them needs module support to work and some of them needs project
compilation using tsc rather than per file compilation.

cypress_test/ extends loleaflet's eslintrc so, its package.json needs to
have the typescript lint plugin as well.

Disabled checks:

@typescript-eslint/no-unused-vars // This can be enabled after fixing
all places it finds.

@typescript-eslint/no-inferrable-types // Lets do explicit typing
whenever we can.

no-var  // This needs a lot of conversion of var to let.

@typescript-eslint/no-explicit-any

@typescript-eslint/no-namespace // ES5 has no module support

no-inner-declarations // ,,

no-constant-condition // This is sometimes useful

@typescript-eslint/triple-slash-reference // ES5 no module support.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib4fd8b4fcee42216d4322fd043a1873302db375a
2021-04-07 14:03:42 +05:30
Szymon Kłos
4a218d656e mobile-wizard: listbox prepared for partial updates
Change-Id: I778f7d46de1fc3c9c2eb61daaee690e8438d57d6
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Gökay Şatır
359ad0c80c Cypress test update.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ie6474f66e2996e8c6786b4b19c233361fe362334
2021-04-02 10:10:15 +03:00
Andras Timar
f356ab5b1d typo fixes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id97277cb47e5082f3a5b44709b5c9fe57d8a973c
2021-03-26 11:58:30 +01:00
Tamás Zolnai
dacffbc3ee cypress: remove this unreliable test.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I00467a0c0102b0a5022cf9c809c48f2a7965f7e9
2021-03-18 10:36:14 +01:00
Tamás Zolnai
35db23ea5a cypress: disable macro test for NC run.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iec4d50e4d883330707437e796d450d8325ba419b
2021-03-17 17:31:01 +01:00
Tamás Zolnai
58aaa8ebf4 cypress: remove this unreliable test.
Resolved comments hamburger menu item behaves inconsistantly.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I9e32cd3c71d17cea551ce2a5aba5b20f8fae832d
2021-03-17 15:16:03 +01:00
Szymon Kłos
986e062fff cypress: test macro execution warning
- split helper method for loading document into 2 pieces
  because in case of interactive dialogs on doucment load
  we need to perform some action before we can check if document
  is already loaded

Change-Id: If6caf2168498a6d185c4a5199cf4b10b32ca23b7
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-16 16:56:20 +01:00
Tamás Zolnai
2e47fa2e1e cypress: extract resetZoomLevel() helper method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3eed9e51460d39c4e12bf838077239488724e337
2021-03-15 19:34:51 +01:00
Tamás Zolnai
7d47393845 cypress: this workaround is not needed anymore.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I0fd44d7a0d5cd484739a7f85cce89266980a5151
2021-03-12 13:31:47 +01:00
mert
0a9b93df43 Selection marker should be enough for search test
Now we hide selection handlers while typing due to
not being able to use them, these tests fail to find
rotation marker. When text is found on mobile selection marker
wraps the found text and they become visible. when not found they
become hidden again. Checking the selection marker for this test cases
should be enough.

Change-Id: I6037450bc17438e4819ae3b724849f74f26910d4
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-09 09:59:20 +03:00
Tamás Zolnai
ea5983e957 cypress: remove this redundant logging.
cy.visit() logs this URI anyway.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idbab1d0cd8cc0f9f0b62b194fb7f1a526c8b9f97
2021-03-08 19:08:25 +01:00
Tamás Zolnai
e034866430 cypress: make: spec can be optional here.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I98448dbb8710ea869618b341b251a0f8657386da
2021-03-08 19:08:25 +01:00
Tamás Zolnai
cfc0f73f91 cypress: php-proxy: make sure that the preferred port is available.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I62c707c1b36e026f0f90a7109b040437acd34d26
2021-03-05 13:11:24 +01:00
Tamás Zolnai
b358cb3477 cypress: php-proxy: port was changed: 9982 -> 9983.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I6e5135cdc89c5790f11e1cf7fb4ee497e7a43078
2021-03-04 15:39:34 +01:00
Dennis Francis
39622c282c cypress: calc: pick the correct svg to test
For calc we have 5 svg nodes inside the overlay pane (fixed, top-left,
top-right, bottom-left, bottom-right). The shape selections will be in
all panes except the 'fixed' pane. The 'fixed' was used to contain the
split/freeze lines but that got moved to canvas. Before this patch the
'fixed' svg was getting selected by the selector...

'.leaflet-pane.leaflet-overlay-pane svg'

...which is empty in this case. Lets always select the bottom-right one
which is covers the whole view area when there aren't any active freezes.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iea2bbeff3c492a82e75ecdeb1aa70fa3c33f3426
2021-03-04 15:06:02 +05:30
Dennis Francis
e7129398e1 cypress: now cursor is not in overlay pane div
but in a dedicated div inside the canvas container div, covering the
canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ie43a4cb98c9cdb7e3ca81faa78bcc2419fa90a32
2021-03-04 15:06:02 +05:30
Tamás Zolnai
d4f4abde02 cypress: avoid "detached from DOM" failure in statusbar tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I48696c4b7bba68b176ab948dcac9d7728a9c7831
2021-03-03 14:34:14 +01:00
Tamás Zolnai
fd481bf669 cypress: fix spec existence check usage.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ie71828942e0f67df7e33be51f4727af8edbd1340
2021-03-03 14:34:14 +01:00
Tamás Zolnai
87c6c7d81d cypress: extract typeIntoInputField() method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I8dc89dc6abad9106ffae42fc52723e503ddc0cca
2021-03-02 17:58:52 +01:00
Tamás Zolnai
45300cc51b cypress: make: fix typo in function name.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Id72466486ed8c1ea13e61db4bcc03a98096bbad3
2021-03-02 17:58:52 +01:00
Gökay Şatır
ae0c2bb813 Cypress Test: Update some mobile writer test.
Some tests were relying the cursor position for checking the document
dimensions. Those code lines are removed from the tests.

Document size is not able to checked from html elements. Instead, a unit
test may be prepared for that task.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Idd4fd52656b2969bf0bfa9534a807a7a8bd3f987
2021-03-02 09:25:41 +03:00
Tamás Zolnai
b14c3b3441 cypress: fix overlay tests with php-proxy.
php-proxy slows down things and make it visible, that
cellA1Bounds and cellC3Bounds can be initialized to the same
value. So let's wait fo the cell cursor to be updated before
we set the cellC3Bounds value. Changed the toString() function
to exactly match with the json in the overlay items' text attribute.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idde0f516ff568cb14b5d53224fd75ebc6167abe9
2021-03-01 11:28:04 +01:00
Tamás Zolnai
706206948c cypress: alias -> local variable change in moveCursor helper method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3b52648ae9d9396d4cd3eb7dacfe9248fdbc2b52
2021-03-01 11:28:04 +01:00
Tamás Zolnai
953c21b995 cypress: alias -> local variable change in formula bar tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I2ef937b29673e8f6f4c301989b464ca0a991267a
2021-03-01 11:28:04 +01:00
Tamás Zolnai
3486923e6b cypress: alias -> local variable change in form field tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic8460a2db6648874f5a22998394666706b31da1b
2021-03-01 11:28:04 +01:00
Tamás Zolnai
5554133f59 cypress: document some more helper methods.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I004bbb33167bfeee9f7f332516cb4b4a805a5885
2021-02-26 14:19:31 +01:00
Tamás Zolnai
432da7fc1e cypress: document desktop helper methods.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I4851c7c471b565968bca153635d9672d41894fe3
2021-02-26 14:19:31 +01:00
Tamás Zolnai
ad301743e2 cypress: make sure we don't do test retry in interactive test runner.
In the cypress.json we configure retries for headless mode only,
however when we run 'cypress run' with 'headed' flag we still have
retries, that we would like to avoid for consistency.
Cypress differentiate modes based on the command: e.g. 'cypress open' or
'cypress run'. We however differentiate based on headless or headed mode,
whether we run the test in an opened browser or in the background.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib34ac3de105dfe410116019e3c3c2afe253636f2
2021-02-26 14:19:31 +01:00
Tamás Zolnai
fdaacc4faa cypress: add tests for statusbar (impress, desktop).
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I5615c78d146510ce1f755d77a5d618bf3476522b
2021-02-26 14:19:31 +01:00
Tamás Zolnai
1a910e137f cypress: add tests for statusbar (calc, desktop).
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1346790c4285121d54c670f399b3fc90f3572746
2021-02-26 14:19:31 +01:00
Tamás Zolnai
fc574b49ef cypress: remove some old disabled tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I275d794bbb74e2fe8e1fd845061c0cb17f939c11
2021-02-26 11:19:32 +01:00
Tamás Zolnai
887b4cc5b2 cypress: use new zoom helper methods in form field tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idf39561c57ba8b4ebee23623ceab9db1f3a2b134
2021-02-26 11:19:32 +01:00
Tamás Zolnai
5926cf1445 cypress: add tests for statusbar (writer, desktop).
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ia8e01d8d7841d4941d1a98c5e9b9b29bcbf5219d
2021-02-26 11:19:32 +01:00
Tamás Zolnai
50101968e2 cypress: update shape related tests: TextShape -> SVGTextShape.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I67d09062313de939efb6bf2a83ad6fbf4fb7313c
2021-02-22 17:11:57 +01:00
Tamás Zolnai
19234449bc cypress: interfer: don't need to select the first cell.
We always have a cell selected, so we can move the cell
cursor left and right anyway.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I11c255bd38fb927652c9afd2f111ce9e2acce103
2021-02-19 16:44:46 +01:00
Tamás Zolnai
cee3e40bb1 cypress: add clearer error message when the specified spec file does not exist.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I10bc046639a997385256c006f9a7127fd71030a5
2021-02-19 16:44:46 +01:00
Tamás Zolnai
fb2a22d0f6 cypress: use cellcursor overlay inside clickOnFirstCell() method.
Using autofill marker as an indicator is not that reliable,
because it's missing by document load. The cell cursor overlay
however is always there.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I87e92efe78d492b3c66fb04e3b2ca25d4f122584
2021-02-19 16:44:46 +01:00
Tamás Zolnai
91a215b11e cypress: document interference testing in README.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I728545c0cbcee36a401140c8e362d1a0e079fb4c
2021-02-19 11:46:45 +01:00
Tamás Zolnai
7d6df05332 cypress: interfer: update description.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I82dc08f889faf90606f8a99d12ae1cf530dde8eb
2021-02-19 11:46:45 +01:00
Tamás Zolnai
a180d01154 cypress: don't mention video recoring option for interference testing.
cypress video recoring does not work when we have two cypress
instances at the same time.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib807a001aa497ec9c7ef98df4f8f40236890879c
2021-02-19 11:46:45 +01:00
Tamás Zolnai
5b4fa4ed32 cypress: update tests after recent change of core UNO string changes.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I440db4de4846879b279c2f34dae365de484eff33
2021-02-18 13:13:42 +01:00
Dennis Francis
2d169bf32a add cypress checks for canvas-overlay items
Currently only the cell-cursor and document selections are part of the
canvas overlay. The others are still part of svg layer.

For now only the bounds of the canvas-overlay items are asserted. The
canvas overlay items update their bounds data as JSON text on cypress
only divs inside the overlay section div every time there is any change.

Unlike cell cursors, the selections need not be always a single
rectangle. To add tests for the more general cases, the json format of
test data is helpful.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I70e6328116c44317f31deb9c8bea62e781d8c421
2021-02-17 19:13:49 +05:30
Tamás Zolnai
f8f6509745 cypress: put wsd related logs into cypress folder.
Workdir folder is for the build system, and for copies
of data files. cypress folder it for output of tests, like
videos, screenshots, cypress logs. So let's put wsd related
logs here too.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Icdb757d50d3c2bfef6013b92055b49ba222193e2
2021-02-17 13:37:31 +01:00
Tamás Zolnai
5dadd2c545 cypress: put copy of a test file under data subfolder of workdir
To make workdir structure easier to understand.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1d0d8a16bd12cf9fc9abf9d350509f20ad322a7a
2021-02-17 13:37:31 +01:00
Tamás Zolnai
f265803d19 cypress: fix wrong description.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I224800daefca34e8c415ad251c7583b4cec34a50
2021-02-17 13:37:31 +01:00
Tamás Zolnai
219af45449 Revert "cypress: print out test failure output online during parallel build."
It can be confusing to have the same error message twice.

This reverts commit 6786f563f8.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I66f0495262fc5e5c0a228fdfc417e2e3301ad03e
2021-02-16 16:06:48 +01:00
Tamás Zolnai
27dba59e10 cypress: add a test case which triggers assert related to sidebar cache.
This assertion is triggered by interference testing:
make check-interfer-desktop spec=calc/tunneled_dialog_spec.js

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib16c97d7c45192a493720d028f38eb5efba4346f
2021-02-15 12:46:41 +01:00
Tamás Zolnai
6aa4cdfece cypress: interfer: save before closing the document.
To avoid issues coming from the delayed autosave.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib98b35396efb4fdfdf84846dd23619c666accbdb
2021-02-10 16:51:30 +01:00
Dennis Francis
3a40feda4a migrate text/cell-area selections to canvas overlay
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia9d1adb942fd0a0e1ea23805b2edbc76f9537b17
2021-02-10 15:26:14 +05:30
Andras Timar
8b4911ec93 cypress: typo fix
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4c9468ae01620bb0e56dc63e359e00bd1951e4d5
2021-02-09 08:41:53 +01:00
Tamás Zolnai
384d5692a1 cypress: update eslint: 7.12.0 -> 7.19.0.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I4d23f5aba844e9398543a7763543098be4e8fb12
2021-02-05 17:31:09 +01:00
Tamás Zolnai
44272f6d01 cypress: update wait-on: 5.2.0 -> 5.2.1.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ifc0fa803dd16aa2381578919bd9c313aa19d4535
2021-02-05 17:31:09 +01:00
Tamás Zolnai
3d1b7a7d58 cypress: update cypress-select-tests: 1.5.8 -> 1.5.9.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ia7ed3f4519872aba6c44181bb768110a29be10b3
2021-02-05 17:31:09 +01:00
Tamás Zolnai
7eac3a62c2 cypress: update cypress-file-upload: 4.1.1 -> 5.0.2.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1cf3841763958bccc7f1f6f0b98e81802e181da8
2021-02-05 17:31:09 +01:00
Tamás Zolnai
c89440b369 cypress: update cypress-failed-log: 2.7.0 -> 2.9.1.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I24279fd77c51bc7c4cbd04e46bb97da060d55861
2021-02-05 17:31:09 +01:00
Tamás Zolnai
8cb2e53761 cypress: document some extra run option in the README.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I49597e73d675ab9e916f7f73e740d5a89d2884b8
2021-02-05 17:04:36 +01:00
Tamás Zolnai
c8c96a76f2 cypress: fix some typos in helper method documentation.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I098ee52a5ca03b58399a1c81690b0521f3d91743
2021-02-05 16:38:23 +01:00
Tamás Zolnai
6ba82fa3c0 cypress: split canvasShouldBeFullWhiteOrNot() method.
So we have separate canvasShouldBeFullWhite() and
canvasShouldNotBeFullWhite() methods, which might make
the code more readable, then having it controlled by
a bool parameter.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I0932a7615c84c35293c2cc8dade0db6468de8224
2021-02-05 16:38:23 +01:00
Tamás Zolnai
f4c4b7091a cypress: split imageShouldNotBeFullWhiteOrNot() method.
So we have separate imageShouldBeFullWhite() and
imageShouldNotBeFullWhite() methods, which might make
the code more readable, then having it controlled by
a bool parameter.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I2ada6b9e6f6d93b8a48e9ddd3c851ef3e6fcd632
2021-02-05 16:38:23 +01:00
Tamás Zolnai
53642adf96 cypress: remove getLOVersion() method.
By now, we don't run the same online branch against more
core branches, so this code is obsolete.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I90768d16628e735129880cc4cf823bf0b7d9ad1e
2021-02-05 16:38:23 +01:00
Tamás Zolnai
fcaff1a32e cypress: simplify clearAllText() helper method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I595e3594a9e624249cbb039e509fe12772ef904e
2021-02-05 16:38:23 +01:00
Tamás Zolnai
9ec53994f2 cypress: simplify selectAllText() helper method.
We use this method in various contexts, where it's not
necessary that we have the cursor of the focus. Focus can
be tested in focus related tests.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic27de45917657d4ac1734565d81d5bbf190ad333
2021-02-05 16:38:23 +01:00
Tamás Zolnai
cc37bd5786 cypress: helper: add some documentation to helper methods.
Also do some renaming.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1796181085ff245090589d3680fa3d90bb085d3f
2021-02-05 16:38:23 +01:00
Tamás Zolnai
aa7bcc0490 cypress: make: generate better error message for interference tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ie6347999debc6be0c11672dda29afed0c05e4059
2021-02-05 15:14:45 +01:00
Tamás Zolnai
cd1095028f cypress: make: replace some duplicated paths.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iec87086864938203169fba0460cd216438221b28
2021-02-05 15:14:45 +01:00
Tamás Zolnai
efdda663e4 cypress: rename run_iteratively.sh -> run_repeatedly.sh.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ida3f90fb01893c13de2086cf6ba0ec95c67a3bef
2021-02-04 17:45:16 +01:00
Tamás Zolnai
ca65e63da6 cypress: dont mention video recording option for multi-user tests.
It does not work when two cypress instances running at the
same time.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iae7fe4c4dcc4bb0a970763001e4f966b60f988f2
2021-02-03 14:56:32 +01:00
Tamás Zolnai
0b8973696d cypress: interfer: we can enable retries for the test user.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I40172946709fc50290b568be26d510b4cbb12531
2021-02-02 16:00:46 +01:00
Tamás Zolnai
81dda79b94 cypress: interfer: move cell cursor instead of text cursor in calc.
It's not necessary to have any text in the first cell, so
double click won't work for every test document. However the
spreadsheet is always there so we can move the cursor through
the different cells.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Icea63a971fb77d915e027569a80c9a8a8b855a01
2021-02-02 16:00:46 +01:00
Tamás Zolnai
e0421d5090 cypress: reenable master view related tests.
Now that it was fixed in core branches.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iaccc994b0e58402dc173941357af43517dd0178b
2021-02-02 16:00:46 +01:00
Tamás Zolnai
df8144d44c Revert "cypress: make sure the cell selection is visible before run test steps."
This reverts commit 129ae61684.

This is actually undefined, whether the cell cursor would be there
or not. We get cell cursor messages after loading the document,
so if we step into editing mode before these messages, then we
will have the cell cursor, but if we wait some seconds after
opening the document, then the cell cursor won't be displayed.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I7a4e9e5adbbbe312f21789fe872726bbf67565e6
2021-02-02 13:49:50 +01:00
Tamás Zolnai
0671c687a1 cypress: update writer field tests.
There is no more span inside the HTML representation
of a text field. After this commit:
b982d0e6f94ca70765231ff4242c829f5bec5def

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic64a20dcb0534876af062a1fb40cb0e39fd27f10
2021-02-02 12:10:21 +01:00
Gökay Şatır
855c7aaf7c Cypress: Make column & row header tests work with canvas sections.
CanvasSectionContainer has now capability of creating divs below sections, for testing.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ia735758ce27af558718da50935502723112e838e
2021-02-02 09:49:48 +01:00
Tamás Zolnai
3b05151641 cypress: move formulabar related check into beforeAll() helper method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I46b05c8533b4f323e181d3d4fd2acc1e4626e164
2021-02-01 22:11:32 +01:00
Tamás Zolnai
0cd14ef422 cypress: use checkDialogAndClose() helper method here.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iec8be699d10640154d711b47a9d11400e2aefa1b
2021-02-01 16:07:15 +01:00
Tamás Zolnai
c69b163c38 cypress: let's be more specific here about the cursor.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: If9d475374fb27a727f5cf7f38f3a0b4b47f142f6
2021-02-01 13:28:54 +01:00
Tamás Zolnai
64a22ea2dd cypress: make dblClickOnFirstCell() method closer to real mouse events.
It causes an issue for calc to use cypress's dblclick() method
and it will select the wrong cell. In the log, I see only a
double click when we simulate user events with cypress, however
when I do double click manually, first I see a single click and
then a double click in the log. So let's do the same with cypress
simulation too.


Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I18e92fc354558e09bb5cb3a12e45cbb669ac97bc
2021-02-01 13:28:54 +01:00
Tamás Zolnai
02e22e20f3 cypress: make dblClickOnFirstCell() more stable.
Visibility of the blinking cursor is not good enough
on dekstop, beacuse it changes position after it is
displayed. So let's wait some time to step cell editing
mode.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I86fe7fd5be68f36126ba3d390b29740b33cf3d8e
2021-02-01 11:59:43 +01:00
Tamás Zolnai
6d62c32950 cypress: add a selector parameter to cursor related methods.
So we can specify which cursor we need here. The default is
the document cursor, but this methods can be used for
formulabar cursor or dialog cursor too. More cursors might
exists at the same time, that's why simple '.blinking-cursor'
selector does not work.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1fd04e188ab53e70d0e8303fd7502f183c18bef3
2021-02-01 11:59:43 +01:00
Tamás Zolnai
129ae61684 cypress: make sure the cell selection is visible before run test steps.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3ce151f8ebe9405c5830630e941c94ab9ef2f7ae
2021-01-29 12:42:46 +01:00
Tor Lillqvist
989d57b580 In Cypress tests throw error if dialog image cache is inconsistent wrt server
We have a dummy spreadsheet document with a column of cells each in a
different font size. The font size of the current cell is displayed in
the sidebar.

In the test we step through the cells first downwards and then back.
Thus the sidebar image that contains the font size will be updated as
we step through the cells. At first nothing will be found in cache,
but when returning, the images should be found in the cache. If the
cache in the JS client is not consistent with that in the server we
will throw an exception.

Change-Id: I439263c7923d985679fafa0125cd2d7f635e0995
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-01-29 12:08:58 +02:00
Tamás Zolnai
18169d795b cypress: mention video recording option in failure log.
It's a useful option to create a video during headless run.
It's much closer to the headless build wrt. timing, than
interactive test runner.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic9889209ac07b9fe0a9b6e326e60513412950780
2021-01-29 11:04:49 +01:00
Tamás Zolnai
0db412ccf0 cypress: add new Save/Print test to php-proxy/NC blacklists.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Id494a522e0961894cdf9e5ce56b19b781a724974
2021-01-28 15:27:51 +01:00
Tamás Zolnai
c2620ce5cf cypress: update 'Check disabled elements in master view.' test.
In master view, the 'Master Slide' list should be empty and so it's
not shown on mobile wizard. No, I disable this test, because
it needs the core code to be updated.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I12562c453673ac85e050303ebb5803fee6f1892a
2021-01-28 13:47:59 +01:00
Tamás Zolnai
cb62773468 cypress: make chart test more stable.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I621538e1a6d17eb1ec10f13f2559a0b48a8e6918
2021-01-27 14:08:09 +01:00
Tamás Zolnai
d18d3a5381 cypress: update 'Enable text wrapping.' test.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iac566958e3820376a991d06c1ad5c03f81efd36a
2021-01-27 14:08:09 +01:00
Ezinne
6490e45131 Created cypress tests for the Save and Print features on the Calctop-toolbar
Signed-off-by: Ezinne <nnamani.ezinne@collabora.com>
Change-Id: I1a0424c5ddfc7714475818fba029c6bb238db1f1
2021-01-27 14:07:56 +01:00
Ezinne
4e96492041 Created a cypress test for Text Wrap feature in Calc top_toolbar
Signed-off-by: Ezinne <nnamani.ezinne@collabora.com>
Change-Id: I873654c21649f849739cd25461f3d52335ecba8b
2021-01-27 11:34:44 +01:00
Pranam Lashkari
f144df98c8 leaflet: blacklist language selection on misspelled words in mobile
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I149539983897d20828dc6e32ed053c9b7e279ad4
2021-01-22 01:34:30 +05:30
Tamás Zolnai
dbad4b2c0c Update cypress: 6.1.0 -> 6.2.1.
It fixes a hang related to retries. It might be useful
in our case too. I've seen hangs on Jenkins, which might be
related.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I8320f9b38c59074d2b5dd3d7b0cad0c5828b0849
2021-01-20 09:18:59 +01:00
Tamás Zolnai
5eb8e5448f cypress: fix up and enable chart test.
It crashes if the mobile wizard is closed before exiting
chart editing mode.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I47143543220aaebf474e1d1aa560c7df2c2a14f5
2021-01-19 15:21:45 +01:00
Tamás Zolnai
6643b57f4a cypress: reenable writer/simultaneous_typing multi-user test.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ibcbff205000b60c86699b04e1cd95b5bc05f7b1e
2021-01-18 20:39:03 +01:00
Tamás Zolnai
b52d169686 Revert "cypress: remove workaround for multi-user test cases."
This reverts commit c3e1986d63.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib0d6d0972262b2ec82bc60672bf5ae27be32fb2e
2021-01-15 23:01:30 +01:00
Tamás Zolnai
9e9e9f3117 cypress: improve selectFullTable() helper of table properties tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I9362c0b8d528d0e7cd5841a50584f866a4432b3f
2021-01-15 15:16:28 +01:00
Tamás Zolnai
c3e1986d63 cypress: remove workaround for multi-user test cases.
We had an issue with loading two views to the same document
at the same time.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I8b1ba92eca5e59bfa50cbcd637f1076d5e15c664
2021-01-14 15:04:13 +01:00
Tamás Zolnai
efb96f0700 cypress: reenable paragraph_prop multi-user test.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: If57964320d2615c81b0bcbc57c0f942e463c60ea
2021-01-14 15:04:13 +01:00
Miklos Vajna
78f192399d Revert "wsd: disable ssl by default, enable ssl termination by default"
This reverts commit f6bf6f49ed. I did not
consider that this makes it harder to do a local developer setup with
reverse proxy + make run; also that if you don't read the doc to set up
a reverse proxy, then the default now serves http content and advertises
https, which is not helping sysadmins.

This needs more thinking how to improve one scenario without hurting
others.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ic789faa2dc5bb19a79d651dc81d4eaaf0b48607a
2021-01-14 13:59:44 +01:00
Tamás Zolnai
6786f563f8 cypress: print out test failure output online during parallel build.
Before this commit failure logs were gathered inside an error log
file and they were displayed after all tests are finsihed.
After this commit we print this failures logs when the error occurs
and also at the end of the test run. Sometimes Jenkins does not finish
the whole build because of timeout abortion. In this case, it would
be helpful to see some failure logs.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ibe7cb6aa2c9f99912d604c4b642cda363352ffcd
2021-01-14 12:57:41 +01:00
Tamás Zolnai
db0e7e9973 cypress: simplify typeIntoDocument() method.
cy.click() will grab the focus to the textarea.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I20f0df2fd8a31d3ff4b85ba38fdc503c10987dbb
2021-01-13 16:43:35 +01:00
Miklos Vajna
f6bf6f49ed wsd: disable ssl by default, enable ssl termination by default
The intention is to have defaults which are close to how people
typically use Online in production.

However, keep using ssl for 'make run', so that the https environment in
the browser is unchanged.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I7fd725a83b0e9ca1012f2c0e0c3bf038e5fa0059
2021-01-13 13:33:44 +01:00
Tamás Zolnai
6352574018 cypress: remove duplicate selectFirstColumn() helper method.
Now we have it in the general calc helper file.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Id7f12441b9612a630f6b348a9e6db6235f4b6c45
2021-01-13 05:00:19 +01:00
Ezinne Nnamani
74f14cccdf Created Cypress test for Merge cells in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: Iba89ea0a2bc5b788c9202247d5cada801fc6d5f6
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2021-01-12 13:44:07 +01:00
Tamás Zolnai
0a0d185258 cypress: NC: disable failing spellchecking tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3d48a5069eb0bfad8168826b6ab79ccd7f207b32
2021-01-11 12:28:48 +01:00
Tamás Zolnai
7887056213 cypress: make: remove unneeded run_interactive_multi() funtcion.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib6642b57a11d0ae181358fe74f0be48cbd65f774
2021-01-08 13:24:11 +01:00
Tamás Zolnai
1276580794 cypress: make: restructure and document desktop interference test functions.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I20c170a8da84191f333d7a9584ba073a3feebf40
2021-01-08 13:24:11 +01:00
Tamás Zolnai
45f1211899 cypress: make: restructure and document mobile interference test functions.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I5540d537672ff0384354d25a7c92111fa45fe927
2021-01-08 13:24:11 +01:00
Tamás Zolnai
ce43db6ec9 cypress: make: document multi-user test functions.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I304fc0e44c64f7eccf35f75f8eed6d9c1810bced
2021-01-08 13:24:11 +01:00
Tamás Zolnai
6672170932 cypress: make: remove unneeded '\' character.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ifb20a849e5f3e9115d6453eba63257d281cdbf9b
2021-01-08 13:24:11 +01:00
Tamás Zolnai
7fe262127e cypress: make: restructure and document run_multiuser_test() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic4623cb89a97f32e88020c61996eddbe060e389e
2021-01-08 13:24:11 +01:00
Tamás Zolnai
66282b1030 cypress: make: move this echos to the rigth place.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic77663a9c3debbe39e34ba5575cda381fa4d70ef
2021-01-08 12:24:03 +01:00
Tamás Zolnai
31fee645fc cypress: make: restructure and document run_desktop_tests() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1c8138ae400e25ab198ea10acf438813b2b7eb6a
2021-01-08 12:24:03 +01:00
Tamás Zolnai
54ff9bf7ad cypress: make: restructure and document run_interactive_desktop() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib409f724a8a4214fb473c96cda37fa54cf626df2
2021-01-08 12:24:03 +01:00
Tamás Zolnai
5dbf5a9c56 cypress: make: restructure and document run_mobile_tests() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I41b1dd78fb98897b11fd03f3e9778011b4faaa31
2021-01-08 12:24:03 +01:00
Tamás Zolnai
7413a298e4 cypress: make: restructure and document run_interactive_mobile() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I9ebd5f765f37757c310e2963ddbc0ca9b55668fc
2021-01-08 12:24:03 +01:00
Tamás Zolnai
9796f47994 cypress: make: extract run_test_headless() function.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Id1592c418e54a50c06db1ecb5d8f106b95b2502e
2021-01-08 12:24:03 +01:00
Tamás Zolnai
5398ef8591 cypress: make: fix build failure caused by not expected parallel build.
By now 'make check-mobile' and 'make check-desktop' commands
are not supposed to run in parallel. So 'make check-mobile -j3'
won't run mobile tests in parallel (three tests at once).
However, before this commit running these make rules with more
jobs, led to build failure. With this commit the build does not
fail, but still ignores the jobs and run the tests on a single job.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I13e13fdefcfb393ae5a42b4e065bbfe00278236a
2021-01-08 12:24:03 +01:00