Commit graph

1030 commits

Author SHA1 Message Date
Rash419
9b9c6420fb cypress: fix: unstable desktop/impress/sidebar_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ic4d814112b97863ee4d812efa61869e059d705ee
2021-08-31 13:08:44 +05:30
Rash419
cc59ceeed2 cypress: added a new target for notebookbar
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I77ca43368942c38e51b0cb9cdf903d259d5af496
2021-08-30 17:23:07 +05:30
Rash419
b04e6c4544 cypress: make annotation specs compaitable with NB
loleaflet: added annotation button to impress classic

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I76f70262c13896ccb5bd41f68ac12b337db7f7c2
2021-08-30 17:23:07 +05:30
Rash419
02e774f381 cypress: fix: unstable calc/repair_document_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibec3df9ec8fe08143f0ed2206140a5b1655438c0
2021-08-27 15:31:52 +05:30
Rash419
57485718f9 cypress: increase stability of some tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I10532dc3307810476882944682928622dedd3994
2021-08-24 14:34:39 +05:30
Rash419
843d8aedb4 cypress: undo,redo,repair tests for single and multiuser
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I802d9e29a72ea71a88c1d4d736b743866a227c19
2021-08-21 19:53:36 +05:30
Rash419
526b32bb98 loleaflet: added recent color section in colorPicker
cypress: updated the test with respect to changes

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I31c5d93260551986d43722ab606c4b9eee1de913
2021-08-10 09:41:54 +02:00
Pranam Lashkari
a7b7118b39 cypress: fixed broken mobile annotation tests
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I9d467a0d35c7e57e3737c8175537f9dddcdaad1e
2021-08-06 17:21:04 +02:00
Szymon Kłos
9fc8f7d94f cypress: add simple sidebar tests
- test menubuttons
- test toolbutton popups
- test deck switch

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia928345982b855e9dbf850e969165566cc74f9d5
2021-07-28 08:46:04 +02:00
Rash419
74844c3dc8 cypress: introducing multiuser tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib6c86d74dd7f0414f3c63ed66e99504c870516a3
2021-07-27 14:58:09 +05:30
Gökay ŞATIR
8a4fe5a766 Calc status bar cypress: Test is passing on local and failing on the server.
Disabling temporarily.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I6ce0f65b9863751eb3e32176e28c1728fb4489d0
2021-07-21 23:07:47 +03:00
Gökay ŞATIR
275fad0dc3 Cypress Calc top bar: Add a wait for stability.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Id686eb045b8bd65dd270677d0c6ff06b32d49274
2021-07-21 23:07:47 +03:00
Gökay ŞATIR
7ca0730e58 Calc annotation: Add a wait for stability.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I3e34b84386d4b5abcb625c3d792375f153614f63
2021-07-21 23:07:47 +03:00
Gökay ŞATIR
725376e878 Cypress: Disable some lines for now.
These tests are passing on local build.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I459b46ae249ce799d7c825a936eb3e12d7d610ab
2021-07-20 13:43:22 +03:00
Gökay ŞATIR
fb50ef5b1a cypress impress: disable coordinate based test for now.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I458d229213a850e64339b81f68ddeff971f3b27c
2021-07-20 13:43:22 +03:00
Rash419
506509cdcd cypress: make some tests more stable
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I61b963771c05d8f45140404c58325638b4e03b58
2021-07-16 12:23:17 +05:30
Rash419
5ea11097b9 cypress: enabled some tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I34473c4b471b30d05be61e27ecb33d5ad430f2c3
2021-07-16 12:23:17 +05:30
Gökay ŞATIR
82d5a9c185 Cypress: Workaround for a bug inside the library.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: If8689bbc9505d05d8343b624cb0213a583f362a2
2021-07-15 18:18:11 +03:00
Rash419
046dbb72f9 cypress: disabled failing tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia302f05f2524c446f32b7baccdd86d25766b1707
2021-07-15 17:54:02 +05:30
Szymon Kłos
8152a3f9b5 mobile-wizard: don't use uno status updates
we receive that information by welding updates

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9ff7f5d26740b1f13d1f1cccd88793ca35a4ee76
2021-07-14 18:29:23 +02:00
Szymon Kłos
76733b7e79 cypress: fix mobile color picker tests
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5c8f705e3ca69780ed0c441e7a82bf257da33bda
2021-07-13 20:39:57 +02:00
Rash419
0d412e1b4f cypress: disabled tests temporarily
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I781767d457a97c0974ecf8b6a369fd03303ffb3b
2021-07-13 19:04:01 +03:00
Rash419
e823c8d407 cypress: fix: apply_paragraph_props_shape/text fails due to core changes
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I82fdc04ffa21699066529f556170596791323539
2021-07-12 16:21:51 +05:30
Gökay ŞATIR
2612b7285c Calc mobile cypress: Update test to not rely on coordinates.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I8fcc25a640b68c381906fdb8947bdd3e1fde7f46
2021-07-09 21:05:40 +03:00
Gökay ŞATIR
931ed6f683 impress cypress: impress is not well aligned vertically for now.
there is a slight difference from the verticak middle. It will be adjusted when all commits are ported into master.

Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ic4ae4e0f89cbced2340e9bb8c7e5dda90c24109e
2021-07-09 21:05:40 +03:00
Gökay ŞATIR
e21637e6be Comments cannot be saved for some reason for now.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I7d2fec06974762d38e1442f38f0087f6b7eb9e2c
2021-07-09 21:05:40 +03:00
Gökay ŞATIR
39ee64ab50 PDF View: Added Cypress test for page up & down functionality.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Icc6f752e1cb406fb7c90e6d32520be531515d6eb
2021-07-09 21:05:40 +03:00
Gökay ŞATIR
54d19cc51a Skip impress paragraph tests.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I61e880b7495009214dac8192bf4ea505fdba0816
2021-07-09 21:05:40 +03:00
Gökay ŞATIR
efef51006d Impress Cypress: Skip the test instead of commenting the lines.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: Ied243fc06cc8bc43379024f7fca0181623a76032
2021-07-09 21:05:40 +03:00
Gökay Şatır
f6fa4c12e7 writer shape spec.
Comment coordinate based checks.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iaabe175c4f7ddb0c208f2caac1718812532ee14a
2021-07-09 21:05:40 +03:00
Gökay Şatır
390bb72d85 Impress insertion wizard: Disable coordinate based tests.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Icf9d2b4971fe77a10e4b3363766ea168ec479723
2021-07-09 21:05:40 +03:00
Gökay Şatır
7627cc35a4 Update formulabar_spec.
It was using coordinates.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I6ae380229e3339a216dccdcf7a4598c6e6f13833
2021-07-09 21:05:40 +03:00
Gökay Şatır
f256b81268 Update insertion_wizard_spec for comments.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I8339b943f79a0e0c039dda89d1fa3553a1cee6b7
2021-07-09 21:05:40 +03:00
Gökay Şatır
41a66129e5 Impress desktop: Update comment scroll test.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I38a9ff845ff04dabc854ee57499d0e1cc06418b3
2021-07-09 21:05:40 +03:00
Gökay Şatır
336e409ec5 Impress desktop: Disable last test.
Test is coordinate based and also page doesn't fit in the view.

Other changes are white space deletions.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ie9918f684922c686093422fa77b2249b8fd826f3
2021-07-09 21:05:40 +03:00
Gökay Şatır
6872f4d991 Writer mobile: Update insert object test for comments.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I984455562491cd64234f2e06d4940503ae287a15
2021-07-09 21:05:40 +03:00
Gökay Şatır
6802a7d9e1 Writer mobile: Update focus spec.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I4226ea2925402e2b2cead8bdc9938b62d2a70af9
2021-07-09 21:05:40 +03:00
Gökay Şatır
0a6f7cbee2 Writer: Update top toolbar spec for comments.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Icc314e6e0936016102f1f98bb80067e733ff1279
2021-07-09 21:05:40 +03:00
Gökay Şatır
53027b4c40 Writer Mobile: Integrate comments with cypress tests.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ie6878c9ec606103e25afde1b60145e6b50291c7b
2021-07-09 21:05:40 +03:00
Gökay Şatır
f82f70ad0b Calc Mobile: Integrate with cypress tests for comments.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: If18ad7fa42b5323370a7451444ae92cd3ef648c3
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
2021-07-09 21:05:40 +03:00
Gökay Şatır
c16cbefbf3 Calc: Integrate cypress tests with comments.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I6c4e7075f2341ba546f50dd0523882a401af3f42
2021-07-09 21:05:40 +03:00
Gökay Şatır
e059ede2ca Impress: Re-activate comment scrolling.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Iff75586ac9ccff05990e6f3b7091b4cad964b2ea
2021-07-09 21:05:40 +03:00
Gökay Şatır
d96bdb3ed8 Cypress Impress: Use ids instead of class names.
For testing comments.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I7124aac8f1f625db5e320483e1f72e0e6ada1ac6
2021-07-09 21:05:40 +03:00
Gökay Şatır
bc0a4c4341 Writer: Cypress test integration.
Make cpyress tests for comments use ids instead of classes.

Increase the width of the comment section so comment menu is visible
while the sidebar is open.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I17a81d15c440cd198eb02086be3d9fc65487d9f8
2021-07-09 21:05:40 +03:00
Rash419
dd5e6ce7c1 fix: sheetoperation spec failing
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I548ad9aa56883c7a0ec70d2a51fced420d0c2d1d
2021-07-07 22:31:39 +05:30
Rash419
fe6c622d23 cypress:sheetoperation tests for calc
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Idb2dfdce34cdff5901281637bf05882935344fdb
2021-07-07 14:36:20 +05:30
Szymon Kłos
2d6bf89806 cypress: Fix Delete Table desktop/impress/delete_objects_spec.js
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I18875e762581ab3b7cb23c4d52fe44e699d7243b
2021-07-07 07:44:43 +02:00
Szymon Kłos
0d508cb643 cypress: fix Delete Image desktop/impress/image_operation_spec.js
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibe6bae5655230c22bad83b85c414980132e1a0f8
2021-07-07 07:44:43 +02:00
Mert Tumer
9212e4a338 cypress: Validate Complex Image tiles
Check the tiles are neither white nor invalid

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I08eb181ceea6d9e55ee31b564be56aff2fc5b56e
2021-07-06 12:54:55 +03:00
Pedro Pinto Silva
e469a5ce10 Cypress: Fix Insert, Remove image
Do not click blindly again in the insert menu once again in the hopes
of closing it in the case it's still opened, instead:
- Check if the menu is open (has highlighted)
- And if it's opened go ahead and click it again to close it

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I326848b396916dd6b2113f92c31d31d44920fc4c
2021-07-05 11:28:59 +02:00
Rash419
623f34e2ef cypress: enable some tests to check
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I9243769df3dadd4a8dfa07eaceb7e9a8d8f42950
2021-07-05 12:52:41 +05:30
Rash419
2bda36868f cypress: disable tests temporarily
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Idfe418f20b57c55dceb1b49996ab7134088d47de
2021-07-01 21:11:27 +05:30
Michael Meeks
d04547da1b cypress: reduce interval in waitUntil to speedup tests.
165s to 145s for impress/slide_properties_spec.js

Change-Id: I3dcce9a0d0c63123a0cde5cb89c074e6a08b8824
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-06-29 17:12:01 +01:00
Rash419
70afec5bfb cypress:added table_operation tests for writer and impress
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ife9398bc6b2fe92aafe9df3b26a99c47b04f8a16
2021-06-22 13:15:32 +05:30
Rash419
02c28640bb cypress:added cell_apearance_spec for desktop classic and NB calc
loleaflet: fix NB bug where tooltip doesnot disappear on click in some buttons

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I2ccb653d18e6b0ab5f0bcd3aadb36f52a718aaa3
2021-06-21 17:59:53 +05:30
Szymon Kłos
712d5c9fa1 cypress: adjust apply_font tests to recent core changes
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0664a4a2d1d52703cbd249ad72af2f0646f89848
2021-06-15 19:38:24 +02:00
Szymon Kłos
7097860112 cypress: fix apply_paragraph_props_shape_spec
calculation of positions are now calculated sligthly different way
in the core - rounding error

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I199ce78fe826aa50d90e63fd8c0abc9276ffa441
2021-06-12 11:10:18 +02:00
Szymon Kłos
a9a3ac7008 Fix apply_font_shape_spec
broken in 48ca25a1b1

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibf15f6eb898be94ca93961ef75009edc38b7b399
2021-06-12 11:10:18 +02:00
Rash419
4ab08eea1b cypress: introducing notebookbar tests
fix: image_operation test unstable

leaflet: fix: scroll button not available in top toolbar of notebookbar when it is directly opened in small window

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib27f3019fbee4ad87239eb659912074f41d42874
2021-06-12 11:28:57 +05:30
Szymon Kłos
1bcf31d7de cypress: reuse selectFormatting helper for number format test
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I052efcf8fcbf0d5058f0c94186ac55b44b2207aa
2021-06-10 11:04:26 +02:00
Szymon Kłos
655bc04ff2 cypress: use entry from the correct combobox
use parent's selector to be sure we use visible entry
and not similar from the hidden combobox

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I16902946e62fd91d6b8d753b79ca20836f806a08
2021-06-10 11:04:26 +02:00
Andreas-Kainz
48ca25a1b1 Mobile Sidebar Character remove Grow and Shrink #2488
Mobile Sidebar Remove Grow Shrink commands

Signed-off-by: Andreas-Kainz <kainz.a@gmail.com>
Change-Id: Ia6de337d7f06efdca40e18359adb88b6b21fd58d
2021-06-10 08:22:29 +02:00
Rash419
e30c8f3e57 cypress:fix number_format_spec and cell_appearance_spec
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I8c3d6bab4c0647cc8fd250ef61792053aa3e51cd
2021-06-07 14:39:28 +05:30
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