Commit graph

1017 commits

Author SHA1 Message Date
Rash419
2ce0627466 cypress: fix: writer/mobile_wizard_state_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6db2ce276bf6038d2aac86611d7e06731ca47be9
2021-11-18 15:16:58 +05:30
Mert Tumer
5ebabf9f58 rename: loolwsd -> coolwsd only binary
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ia44f7f96bcad7200031ad87f6a6fdd3e361f2808
2021-11-17 18:08:19 +03:00
Henry Castro
4784ca2afe browser: rename 'loleafletframe' -> 'coolframe'
in html/debug.html

Change-Id: I7e14bf9deb140090fbb39c8facfaf9360e5a1a7d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-15 12:21:59 +01:00
Rash419
ba92424ff4 cypress: fix: calc/scrolling_spec.js and disabled image_operation and annotation_spec
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibc65ca6668e59e6d348c8c3167e6fd4e5959c43a
2021-11-12 18:47:41 +05:30
Henry Castro
5e023c745e cypress: rename loleaflet -> browser
Change-Id: I2a68f397e2ef8e392ccea421020a2d3cfaf9d3b5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
ec4772be6f cypress: update Makefile.am
rename loleaflet -> browser

Change-Id: I2d3c309a75147fc6442f0781c7821a39891e3faa
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
a3a567f5b0 cypress: update README file
rename loleaflet -> browser

Change-Id: If8b43f77d21d7f475257f3013642c79737c94fe3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
b8b1c1a7c4 cypress: update .eslintrc
rename loleaflet -> browser

Change-Id: I56f0d506c65dbb095a4259b0d262e2de45e286dd
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
99ac2038bb cypress: update CSS class name
rename loleaflet -> cool

Change-Id: I2eef3661e210e04b89e51ba52e707f16617ec87b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e0fe47be5f rename loleaflet.html -> cool.html
Change-Id: Iaa28f1269f8192755ec323396ae4ff054529f412
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Rash419
6b4dc708ad cypress: disable all writer undo-redo and repair document specs temporarily
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I1870ba3d9111694e2df756bd9a5b06c54aa8aab3
2021-11-09 17:12:58 +01:00
Rash419
c9f8f32e64 cypress: added scrolling tests for desktop calc,impress and writer
loleaflet: added test-div for horizontal and vertical scrollbar to get position

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I61f5823c26e1dc0a1ec96257bc58cb51bb29024f
2021-11-08 12:49:56 +05:30
Rash419
e6a2a43e72 cypress: added delay in annotation_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibfc46e24054cb042c27611397295d80e31c25eb3
2021-11-08 11:56:20 +05:30
Rash419
09fd9e6b1d cypress: added clone formatting test in calc/top_toolbar_spec
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7e7b0376ab4dfa27e5e8fb7035717e9958272e2c
2021-11-08 11:35:18 +05:30
Szymon Kłos
035620c912 Simplify comments switching to bubbles
- now we switch to minified mode also depending on document size
  (not only window size) so when zoom is used we will also switch.
- no longer needed to use minSize property as comments section doesn't
  change it's size

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie9ac822ec6fcac7722035083653dd4e90f970559
2021-11-06 13:38:51 +01:00
Henry Castro
e3088abe35 cypress: makefile: add capabilities parameter
This is useful to run cypress with the preference
"capabilities" parameter of the developer.....

Change-Id: I1f365ff7cc9790debef44d522c54d0f222680583
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-01 09:15:56 -04:00
Rash419
05552c3d99 cypress: fix: unstable delete_objects, sheet_operation, sidebar tests
cypress: skip: failing multiuser/writer/track_changes_spec.js due to bug

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iff736140cb7331d29ab0462a8a542559e98b48af
2021-10-29 17:17:44 +05:30
Rash419
46cbc58c8d cypress: disable tests multiuser and writer
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibcf0cdb6ce86671e379c5b6d4df8f96a3e10434c
2021-10-28 09:52:26 +05:30
Rash419
2460f0d162 cypress: fix: close sidebar so elements don't overlap
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iab554b3866edb4dec0c42f501b9d62e2b5369929
2021-10-25 19:28:27 +05:30
Tomaž Vajngerl
c3b87df81f fix mobile undo_redo cypress test to reflect text edit undo changes
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: Icb71622beb55ba67815aab17d9d9869204ac188f
2021-10-23 11:20:22 +02:00
Tomaž Vajngerl
23a3958b24 fix repair_doc cypress test to reflect text edit undo changes
Undo/redo behavior changed in core so that text editing has its
own undo/redo stack and the change is applied to the document
stack when text edit mode ends. This test has been changed to
reflect the undo/redo behavior change in the core.

Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: I6cf427a279aefb79f2f331357731a32c0296c0cd
2021-10-23 11:20:22 +02:00
Tomaž Vajngerl
ecf8177efc fix undo_redo cypress test to reflect text edit undo changes
Undo/redo behavior changed in core so that text editing has its
own undo/redo stack and the change is applied to the document
stack when text edit mode ends. This test has been changed to
reflect the undo/redo behavior change in the core.

Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: I4a94470543183bb904b095517809e9fd45b63b8f
2021-10-23 11:20:22 +02:00
Rash419
1ac96994cf cypress:fix: use backspace instead of delete key
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iffe2f6f9d1586a4ce3ec13558f5d6000f28920fe
2021-10-15 16:12:39 +02:00
Rash419
c082c80d8f cypress: fix: make calc tests more stable
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I36b6744890a5210db40a78395335fd15c758054a
2021-10-13 11:35:51 +05:30
Dennis Francis
5830137075 add cypress test for sheet-switch view area fix
Conflicts:
	cypress_test/integration_tests/common/helper.js
	loleaflet/src/layer/tile/CanvasSectionContainer.ts

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I9aeb06f1b137ec15061dfa18c40e54a2324703d8
(cherry picked from commit cea7112d29775c4c7c42876a4c3638aad524fe24)
2021-10-12 12:29:09 +05:30
Rash419
0535e21a7c cypress: increase the stability of delete table, save comment tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6e4d467224a9d7f1565fe9d895c4a40fda331824
2021-10-11 17:31:48 +05:30
Rash419
793bb33044 Fix: CI failing so added individual files
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Id9043f3e56e56457448f9362727d8b4f7facfbd4
2021-10-11 17:31:48 +05:30
Rash419
a76680c24b cypress: fix: writer/annotation_spec.js failing for NB
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibf80c954036cd98c0da09f45b3ff9ce13acc9e44
2021-10-08 10:50:56 +05:30
Dennis Francis
c696a78b58 cypress: restore writer shape properties tests
Make the shape path tests more readable and debuggable by asserting the
coordinates in path commands of the shape path rather than on the whole
string. The pixel positions are not stable across the branches (eg.
co-2021 vs cp-6-4 in core) so were are doing "approximate" asserts.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4ad0c9db32bf0397f1086b3039c7604385e7ca73
(cherry picked from commit c75b7925107664e7e74592eba5efe2dc89e8d09d)
2021-10-07 10:00:14 +02:00
Rash419
5a0738ff0a cypress:fix: unstable calc/repair_document_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I1e0f02e380589058a2631c7a40cdd7f63987831d
2021-10-05 13:45:58 +05:30
Dennis Francis
954f96be4e cypress: restore shape text alignment test
There is a problem with slides that does not fit into cypress tests
viewport.  Use the center of the visible area of the svg to
click/dblclick else clicking on the true center the event will not end
up in the svg. For example the click event could hit the slide
sorter(empty space in this case) or the invisible area outside the
viewport.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iefa73f56b67be0b4c251921aa91404dbbfbed671
2021-10-04 18:10:03 +02:00
Dennis Francis
0314da3647 cypress: restore text in shape tests
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id9039082f19b41caf96c9e737cb8067b9ef749f1
2021-10-04 13:46:29 +02:00
Szymon Kłos
400f7ec916 comments: use vex insertion dialog when collapsed and fix cypress
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I134f3de1d16621e849fd414c634da717d3f8dc17
2021-09-23 11:08:17 +02:00
Szymon Kłos
0c44da74d3 comments: fix cypress
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I78e1855488f9c048c8f47357aeb29ab067c510b4
2021-09-23 11:08:17 +02:00
Rash419
41ee4a9997 loleaflet: fix: TypeError: window.onUpdateParts is not a function
cypress: skip tests temporarily

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I3cdd3914e31a2e5b1952e20ec1c2cbbb2668133a
2021-09-22 13:42:44 +05:30
Rash419
ab9860acba cypress: updated formulabar_spec, calc_focus tests
loleaflet: change z-index of test-divs to -1 so it doesnot interfer with cypress
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ifbc21ee14ae71d8afc90051a86ad376458111e0d

Change-Id: Ib1734245631cff46055568cbe449a8fbf096cf7f
2021-09-15 17:12:01 +02:00
Rash419
6c66b1756d cypress: calc: added row and column operation
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5f6fefad5dfcfc41f2d5d6f40dc1aec182c75d7e
2021-09-14 12:47:44 +05:30
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