Commit graph

959 commits

Author SHA1 Message Date
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