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)
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)
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
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
cypress: updated the test with respect to changes
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I31c5d93260551986d43722ab606c4b9eee1de913
we receive that information by welding updates
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9ff7f5d26740b1f13d1f1cccd88793ca35a4ee76
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
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
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
Check the tiles are neither white nor invalid
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I08eb181ceea6d9e55ee31b564be56aff2fc5b56e
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
165s to 145s for impress/slide_properties_spec.js
Change-Id: I3dcce9a0d0c63123a0cde5cb89c074e6a08b8824
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
loleaflet: fix NB bug where tooltip doesnot disappear on click in some buttons
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I2ccb653d18e6b0ab5f0bcd3aadb36f52a718aaa3
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
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
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
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
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
- 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
and enabled cypress test mobile/writer/annotation_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If72e6f98acf5fcad1202332fa6521d7ad0e35e83
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
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
* 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)