summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Update Cypress tests.Gökay Şatır2023-08-163-12/+12
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I7bc9bca411f8caade56a56e9de16ad31921db16c
* Cypress updates.Gökay Şatır2023-08-142-26/+16
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ieefdcae70be0fce920e2e2b3d3b6ba1b179a6857
* Update cypress tests.Gökay Şatır2023-08-144-46/+42
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I1c60f89d6ab68e4a61861d77383010dd7f22480a
* cypress: fix svg text-decoration detectionSzymon Kłos2023-08-122-11/+11
| | | | | | | | | this was changed in the core: commit 0a549b2c9595cd076e3b503b67df93bff380885a svg: export text decoration for text run not paragraph Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I8906ee07c7ff88c9dcdbebe73d2c620e797a8b3a
* a11y: provide info about current table and cell to screen readerMarco Cecchetti2023-08-101-0/+95
| | | | | | | | | | | | | | When we get in one or more tables screen reader reports row and column count. When we get out one or more table screen report reports "out of table" for each table. When the fosused cell changes screen reader reports new row/col index. Screen reader reports cell paragraph content, too. Added also cypress tests for checking that the table/cell description string is correct. Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I078b29a2f76f91df479f75db76113c80405f7169
* cypress tests for accessibility toggle uiMarco Cecchetti2023-07-102-0/+39
| | | | | | | | | | | | | | | | | | | | Helper functions: checkAccessibilityEnabledToBe check accessibility state independently from current desktop ui setAccessibilityState set accessibility state independently from current desktop ui Both helper functions check that ui state and a11y support in text input element are in sync. Enable/Disable Accessibility Support test state toggling and state preservation when switching ui Typing after switching accessibility state check editable area content after toggling accessibility support Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: Icce5ae148024a8abf9b65a90229915f28f720554
* cypress tests when editing with a11y disabledMarco Cecchetti2023-06-291-0/+250
| | | | | Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I54ae4515ba1b59711cfbd719db777d02f4735d7a
* cypress: expectTextForClipboard helper function never failsMarco Cecchetti2023-06-292-4/+8
| | | | | | | | | | | | | | | | expectTextForClipboard(expectedText) never fails for any passed expectedText string The value returned by the function passed to `then` cypress construct must not be regarded as an implicit assertion. I don't see anymore the '\n TEXT" case. It seems that comparing for equality against the selected plain content is enough. Fixed some cypress test that was failing after modifying expectTextForClipboard. Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I64ce31fa2127efcc70bbc3da3ac45fe456e66803
* a cypress env var for enable/disable a11y on testing + a a11y tagsMarco Cecchetti2023-06-291-8/+8
| | | | | | | | | | | Now you can use CYPRESS_A11Y for enable/disable accessibility state on testing. Moreover you can use the taga11yenabled tag for tests that should be run only when accessibility is enabled, and the taga11ydisabled tag for test that should be run only when accessibility is disabled Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I4c44e78e5394477b64cc17ac6b815d9d70b059f5
* cypress: adjust values for '#copy-paste-container' elementsHenry Castro2023-06-281-4/+4
| | | | | | | | The element '#copy-paste-container' according to the documentation it is only to prevent flickering, so check only if has children. Change-Id: I11ecdf156c6fee8657e5cd42c2c7daf9f206410b Signed-off-by: Henry Castro <hcastro@collabora.com>
* a11y: editable area: cypress tests for list editingMarco Cecchetti2023-06-151-0/+195
| | | | | | | | | | | | | New tests: - Check content - Moving between entries - Add entries - Typing <backspace> at entry beginning - Typing <delete> at entry end - Selecting at entry beginning Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: Ib831bb9f44f9fe3828e8f77fcdaf7f12ef901644
* refactored cypress tests for editable areaMarco Cecchetti2023-06-152-969/+902
| | | | | | | | | | | | Helper functions has been moved to external file: contenteditable_helper.js Tests have been subdiveded in groups. Spec file renamed from editing_spec to editable_area_spec Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: Ifdb18b0de4851a2fc927b3a8fb3b1472165f2b7f
* Force notebookbar ui when a11y is enabledMarco Cecchetti2023-06-1517-4/+30
| | | | | | | | When accessibility is enabled in coolwsd.xml, overrides setting in <user-interface> section by force to use the notebookbar UI. Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I98f4b288439b21110214ca2a67df639b397184c9
* Disable navigator tests for now.Gökay Şatır2023-06-064-5/+5
| | | | | | | There will be a setting for them. Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I75264e7de14f79642cfd33a7d798ec78188f9213
* a11y: populating editable area with focused paragraphMarco Cecchetti2023-05-312-0/+970
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We handle notification from core about currently focused paragraph: content, caret position, text selection start/end. Notifications are sent on any text changes, even when the text has been modified in another view. Moreover we can request such info to core at any time. That allows AT software to read focused paragraph and selected text. All that keeping editing still working. A set of new cypress tests for checking clipboard content has been developed. failing cpp unit test: - HTTPWSTest::testInactiveClient 'unexpected message' assertion was failing since an idle client can receive an a11yfocuschanged message when the same paragraph has focus in both view and the active view is editing the paragraph. failing cypress tests: desktop - calc/autofilter_spec.js - added more wait time before performing clickOnFirstCell - impress/undo_redo_spec.js - Repair Document was broken - we need to select 'Hello world' in order to overwrite it mobile - impress/spellchecking_spec.js - Apply suggestion - better use selectTextOfShape instead of Ctrl-A Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com> Change-Id: I070d390543fa66fe786c4a0661fa09f891b9883e
* Navigator: cypress test for drawAttila Szűcs2023-05-301-0/+119
| | | | | | | Added Desktop tests for draw Signed-off-by: Attila Szűcs <attila.szucs@collabora.com> Change-Id: I94a5048c8bf6082059375c5742fb781263c643f4
* Navigator: more cypress testsAttila Szűcs2023-05-302-0/+214
| | | | | | | Added Desktop tests for calc and impress. Signed-off-by: Attila Szűcs <attila.szucs@collabora.com> Change-Id: I80616cc9e8a9dd7160e9b33fa50047db83911590
* Navigator: cypress testsAttila Szűcs2023-05-301-0/+101
| | | | | | | Added Desktop, and Multiuser tests for writer. Signed-off-by: Attila Szűcs <attila.szucs@collabora.com> Change-Id: I1bbb32303c66eb499cb837289a51caafdf2055a8
* navigator: fix switching in compact modeSzymon Kłos2023-05-252-4/+4
| | | | | Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ia5582f36df528235e6ca3f8df583412becd47203
* jsdialog: use minial size of a dialog neededSzymon Kłos2023-05-151-2/+2
| | | | | | | | Use 'position: absolute' in jsdialog-window and jsdialog-container so we don't stretch the dialog. It will use minimal needed size. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I7b38b9200e190cfc184bf4bfe8b7bd814c60d5a6
* Enable one writer desktop test in track changes spec.Gökay Şatır2023-05-131-31/+8
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I3d465f331bda1f2619939e8d6d9ca89ef95a0026
* Enable skipped tests in desktop writer top toolbar spec.Gökay Şatır2023-05-131-256/+87
| | | | | | | Remove notebookbar tag and use switch UI functionality. Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I49cfc7340b7ef07d06b0b7c37d24d88127c03735
* Replace notebookbar tag of writer desktop image operation spec with desktop tag.Gökay Şatır2023-05-131-1/+3
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ic9ff5eaeafa75d2968b7b0a9a4acc6960c28a079
* Replace tagnotebookbar tag with tagdesktop tag in calc image operation spec.Gökay Şatır2023-05-131-1/+3
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ic09bb64a06b6287a3c953ee4ea1f8fbb46c854b6
* Replace calc annotation tagnotebookbar with tagdesktop.Gökay Şatır2023-05-131-1/+3
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Icacf4d387e9c8df4d0e5defa2fec0cdcc8899aae
* Replace notebookbar tag in table operation writer desktop spec.Gökay Şatır2023-05-111-1/+2
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I15a53f8d1b70152646d7799821de10a8df4fdc60
* Writer desktop enable one test in scroll spec.Gökay Şatır2023-05-111-1/+1
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ief09792894d4a2dc7d11eaa90bfc3286598cfa41
* Enable 1 desktop writer file properties test.Gökay Şatır2023-05-111-29/+0
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Iad0e4959d79c2394d6174fd81e5e349460fe5246
* Enable desktop writer complex image operation spec.Gökay Şatır2023-05-111-2/+2
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Iebd862ff5c01078e07f1af93e81c4e528f24d978
* Enable desktop writer annotation tests.Gökay Şatır2023-05-111-28/+25
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I5ee91f32da271b5fdb209262f52a6828aa248500
* Enable impress delete objects spec.Gökay Şatır2023-05-111-54/+19
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ib26227b453a8e21e9c5393872aaa04fe6142fd77
* Enable desktop impress undo redo spec.Gökay Şatır2023-05-111-19/+3
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I71f5d43bb1e52e1962db0dfd9e66c6a4a4726e51
* Enable 1 test in desktop calc table operation spec and remove notebookbar tag.Gökay Şatır2023-05-111-57/+30
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I36bf9b14d44c6cde651da78808c4c783ebf794b2
* enable 1 desktop impress test in sidebar spec.Gökay Şatır2023-05-111-9/+3
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I711c8a771aa6f6830da69888646ed66cd7ffb4b9
* Add tag to searchbar spec.Gökay Şatır2023-05-111-18/+9
| | | | | | | Tests are failing on a valid reason. Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I029f9d1079b81a79a6ecb0aca4ed930c75b29c90
* Remove tagnotebbokbar and use switchUI function on image operation spec ↵Gökay Şatır2023-05-111-1/+4
| | | | | | | (impress). Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I4f2097cbfd0e2401783b065b63f70b34d1d9d3b1
* Enable calc text editing mode test.Gökay Şatır2023-05-111-1/+1
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ib03f0aa24268a104b6815c813a795c9a21e8e932
* Enable calc switch sheets test.Gökay Şatır2023-05-111-1/+1
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I1adda596e402a3be116459b3669080844f79ade7
* Enable calc row_column_operation_spec.js.Gökay Şatır2023-05-111-46/+19
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Iebda9cb893602e827f945c08e5a6b05e5c1c6d5d
* Enable impress text paragraph props test.Gökay Şatır2023-05-101-20/+16
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I75540d483b71b4d61ad274097c61b3f974be1393
* Remove notebookbar tag and add switchUIToNotebookbar to impress desktop ↵Gökay Şatır2023-05-101-12/+6
| | | | | | | annotation spec. Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I19140e62566cd341ebb035ee0c4e43271661fb30
* Enable desktop pdf spec.Gökay Şatır2023-05-101-2/+4
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I3b37aeca2d8c6f28412c2161abd6336558a82ac7
* Enable desktop calc add-delete decimal places spec.Gökay Şatır2023-05-101-3/+1
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I6d665c7e7561f5096b5b860f5a8cdea5a86e2b00
* Enable calc desktop focus spec.Gökay Şatır2023-05-101-10/+8
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I5d11a05acbe512c2fd13be8816dbdca7c2464ad9
* Enable one more desktop calc test.Gökay Şatır2023-05-101-20/+8
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I754c98f91aa5a8a4791e017e59432c08759b2355
* Enable disabled cell appearance tests.Gökay Şatır2023-05-091-147/+96
| | | | | | | | | | | Add switch UI to notebookbar function to desktop helper. Remove tagnotebookbar. Remove clickonidle function calls. Tests should be more reliable and faster now - tested locally. Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: I8b05f0b7cf3755ce6e1fe35a26a4ec1154bb2510
* Skip some tests for now.Gökay Şatır2023-05-082-3/+3
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Idb21db8f295c960b7bed64372060d1590ec1da35
* Skip some tests.Gökay Şatır2023-05-064-5/+5
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ia8a2f1d58a3a083c38d259450343b597c64c5919
* Disable some unstable tests for now.Gökay Şatır2023-05-053-26/+26
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Ib527fbd70c0c50d31fb984b2f379d252aa7badc1
* Enable notebookbar tests and skip some of them.Gökay Şatır2023-05-057-17/+17
| | | | | Signed-off-by: Gökay Şatır <gokaysatir@gmail.com> Change-Id: Icddd2300874d99118603561e5c140e86fbe2829e