summaryrefslogtreecommitdiff
path: root/sc/qa/uitest/calc_tests3
AgeCommit message (Collapse)Author
2024-12-20UITest_calc_tests3: fix indent in insertQrCodeGenMiklos Vajna
Similar to commit 36047855334fb7bf988386eb7cdc140a31617c0c (UITest_writer_tests3: fix indent in insertQrCode, 2024-12-19). Change-Id: Ic20f60ee7adae45ddfaea301d0029cc2af34a3a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178869 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2024-12-18More --disable-zxing fixingStephan Bergmann
...in the same vein as ff20399edf0e8ab4c15e802e5b1aa400db42d33c "Some --disable-zxing fixes", this time for UITest_calc_tests3 Change-Id: I836f366ebe0f60a8b2c316ebfcc6782e28046ba5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178732 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2023-10-11tdf#132293 remove unused imports from uitestAnkit_Jaipuriar
Change-Id: I3c76c6f1e3561aaf0b4bb719a89feebecc65027a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157482 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-06-07Resolves tdf#146928 - Redesign charnamedialogHeiko Tietze
Dialog was changed in d73602dc51aa8829fc88e5e67e2b0c4da6b8f715 to fit vertical size on small screens by placing Western/CJK/CTL into a notebook. But for CJK and CTL it's required to have Western fonts visible in parallel. * dual solution for western with nocjk and cjk dropped western scales to the dialog width if no CJK nor CTL is enabled * CJK and CTL placed in a notebook, Western as well for proper alignment * font names are presented in lists but size and style per simple dropdowns * info text sized at 80% * variables renamed to keep track of controls (old names kept in l10n descriotion) * UITests adjusted for variable names and tab positioning Change-Id: I45b40e9bc37565f6364f1dfc1b5d837270fe4644 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134666 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-05-30sc uitests: Cleaning up unused variablestagezi
Removed unused variables in the 'with' statement as the syntax allows the statement to be used without a variable. Removed variables like 'xcomments' and 'xseedspin', which seem to have been copied and not cleaned up. Removed variables 'gridwin' and 'xCalcDoc' if 'gridwin' is not used. Change-Id: Ia97692a0fb2e2af1d2693e09ac8f7c614360ade8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135042 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-05-23tdf#132293: Removing unused imports from uitests files.tagezi
It seems, the most imports were copy-pasted from a file to a new one. Additionally, the import block and surrounding area made more readable. Change-Id: Ie1f31c489cb1e744b5d01d35e3908f1071313e90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134413 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-04-19tdf#97361 - make unit tests more pythonic.Hannah Meeks
Change-Id: I853cda76522ebf3c9a8f7389d5b2b6fc9611f502 Signed-off-by: Hannah Meeks <hmeeks4135@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133136 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-03-14uitest: sc: move external links tests to their own placeXisco Fauli
Change-Id: Ie02318a502ec9baf8c27c9a353b070ae113672f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131531 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-14tdf#147767: sc: Add UItestXisco Fauli
Change-Id: I87d94c33af9676a147a07380b5f39add59b26038 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131530 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-02-28uitest: simplify tests even moreXisco Fauli
- No need to open the dialog to click the cancel button - Avoid repeated calls to document.DrawPage.getByIndex(0). Similar to 26298f29e9d36313be527b785a9bb96089582037 this might fix the different failures these tests sometimes have Change-Id: I4e175b6c5d48c4651e5877ec2a72c4858b590321 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130727 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-02-28uitest: remove duplicated testsXisco Fauli
They are pretty much the same as the other one in the same file Besides, the 'with self.assertRaises(IndexOutOfBoundsException)' nonsense Change-Id: I0ad9aaf80721eb49080d94a34deb43b0bc39724c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130718 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-02-10tdf#63805: sc: Move UItest to CppUnittestXisco Fauli
Change-Id: I8b2192c1944299b92f82cc6179fcdb0842de9803 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129779 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-02-07tdf#96499: sc: Add UItestXisco Fauli
Change-Id: Ie81d5cfd493cb25698b48f406f5eaaa68e14e2e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129604 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-01-24tdf#139974: sc: fix testXisco Fauli
See https://gerrit.libreoffice.org/c/core/+/128651 Change-Id: Ib38890351d7fb83ab4bffebfa9564427c16b6bcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128874 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-31tdf#114995: sc: Add UItestXisco Fauli
Change-Id: I351f080f56b5e6183d932463ea2faf13bb666ba2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127765 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30tdf#127484: sc: Add UItestXisco Fauli
Change-Id: I7c15750ae42d78bfb714638e44c7b761f5c22b47 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127759 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30uitest: sc: reintroduce code incorrectly removedXisco Fauli
Change-Id: I18ad03632950530d7ae2c24608936dba325b0a48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127758 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30tdf#95217: sc: simplify testXisco Fauli
Rechecking again, I found out that the encoding problem described in tdf#95217 was actually fixed by the same commit that fixed tdf#146048 ( 3392f567be8d52804b187b0bced47204ef38fa3c < tdf#146048: detect UTF-16 without BOM > ) This commit partially reverts d7fb6b22cf7e66eb2594001cc42c6bff8b5a49e2 < tdf#95217, tdf#142600: sc: Add UItest > since we don't have to create any http server to reproduce the issue Change-Id: I2f0177f8450f77de5df756354d48505193a6ba3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127742 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-30tdf#95217, tdf#142600: sc: Add UItestXisco Fauli
for that, launch an http server in a separate thread Change-Id: I9d78c9a4349620a9de31b3963f2a31ff1d354f86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127592 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-10tdf#102506: sc: Add UItestXisco Fauli
Change-Id: I3b104623289bb18d13f75b90bffcda4e65c6707d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126653 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-12-01uitest: fix license headersXisco Fauli
Change-Id: I6b1a2808af9e6bb4d3240a83798c3c5958ef38e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126183 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2021-11-24uitest: remove print leftoversXisco Fauli
Change-Id: I9b0cef7a8a536a8db7d0b840dfe69714fdbf2cd4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125779 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-10-29tdf#141193 Added support for bar codes in qrcode dialog box[API Change].homeboy445
Change-Id: I6b79ece1d5419ef92b76755d3bd921a64d6e38fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113989 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-09-13uitest: combine execute_modeless_dialog_through_command methodsXisco Fauli
Change-Id: Idada1927f6b8b55133e1ff8c776a987699df1dc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122012 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-09-13uitest: guard execute_modeless_dialog_through_command in scXisco Fauli
Change-Id: Ifd03ae26659ff56d36bfe8d4938d690ada761d5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121912 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-07-12uitest: sc: move textToColumns tests to their own folderXisco Fauli
Change-Id: I20742a89544859f397c8ae45db0c91f4abe1e940 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118687 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-07-09tdf#143008: sc: Add UItestXisco Fauli
Change-Id: I2797d67e675d1e2a53e9ddd1c81a29947182c54b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118683 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-07-05uitest: sc: move pasteSpecial tests to their own folderXisco Fauli
Change-Id: I19dcb65937bb25ccc74f347788a554450fb291f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118410 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-07-02tdf#142932: sc: Add UItestXisco Fauli
Change-Id: Idecfa40358d13d1bc921ba7250dda56ccf5e0646 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118331 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-30uitest: combine create_doc_in_start_center methodsXisco Fauli
Change-Id: I59ea0d0dbd203590e7cedec51d0481c953e5172b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118155 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-30uitest: guard create_doc_in_start_center in scXisco Fauli
Mostly done by a script for motivation, see 89aaa17a0a4413f07da2bc5084b0164f15dc01ac < UITest: introduce guarded context managers > Change-Id: I9392c56e6efccde958f0cdd497376b3939b75be4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118152 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-29uitest: combine execute_dialog_through_command methodsXisco Fauli
Change-Id: Iaa03d37a9ac3862b8cb08a81e37a611632433880 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118077 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-29uitest: guard execute_dialog_through_command in scXisco Fauli
Mostly done with a script for motivation, see 89aaa17a0a4413f07da2bc5084b0164f15dc01ac < UITest: introduce guarded context managers > Change-Id: Id49eb66ba2827a6e2d0a737e48726a1d1c49c814 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118029 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-27uitest: remove duplicated calls to get_component()Xisco Fauli
after 8298aa62726312eee6f8fbb64a9fc9b12680447f < uitest: guard execute_blocking_action > Change-Id: I954c11c42620660afd48a585f5c59ff2196f4b6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117738 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-24Revert "uitest: guard create_doc_in_start_center"Xisco Fauli
This reverts commit 374baf308979306aa35575118c40ccd7caae1e29. Many uitests are failing randomly in jenkins for no apparent reason Change-Id: I5960330fab4967518bfeea32b3b8c5f8bfbea57e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117752 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-22uitest: guard create_doc_in_start_centerXisco Fauli
Mostly done by a script for motivation, see 89aaa17a0a4413f07da2bc5084b0164f15dc01ac < UITest: introduce guarded context managers > Change-Id: I75ef7712af3676363a9a464acf83f6f68ffc4f85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117617 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-22uitest: guard load_fileXisco Fauli
Mostly done by a script for motivation, see 89aaa17a0a4413f07da2bc5084b0164f15dc01ac < UITest: introduce guarded context managers > Change-Id: Ia924293dc2a12230fd13f69fd734875ced86be8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117593 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-21uitest: guard execute_blocking_actionXisco Fauli
so even if an assert fails, the dialog is closed afterwards for motivation, see 89aaa17a0a4413f07da2bc5084b0164f15dc01ac < UITest: introduce guarded context managers > Change-Id: I9a3adb52546238d960eeaaaf03b6bdbbd5718cf8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117392 Tested-by: Jenkins Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-04-08tdf#132293 removed all the unused imports from the folder swVatsal32
Change-Id: I5a37f30941a73c276bc238fa9fbdfcfd8381791f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112563 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-24QR Code Dialog: Change term 'border' to 'margin'homeboy445
This adds a margin around the qr code (white space), not a border. Change-Id: If3e74dfe19dd7f9c063eaa6439810d617a99cb45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112831 Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2021-03-22uitest: sc: improve test a bitXisco Fauli
Change-Id: Ifdb1436ceef08efe4cdd56feccce338168fb16d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112864 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Jenkins
2021-03-21select_by_text helper method for uitestsNoel Grandin
reduce the boilerplate associated with selecting an item in a combobox Change-Id: I035967d7b45c84788d67b9ab5bebf2dbfc13fdf9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112817 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-16uitest: sc: assert text in entriesXisco Fauli
Change-Id: Iabb83856f3362efd23408688b239637729fc48e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112564 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-12tdf#64001: sc: move UItest to CppUnittestXisco Fauli
Change-Id: I8d1e2cddc95d723f02c18b94ce9c7cbe4cdcef8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112376 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-12tdf#89754: sc_ucalc: Fix testXisco Fauli
The original UItest added in 3ba901f050d262cdeccefa5b21b0d32aa7332dc7 < tdf#89754 - don't increment non different consecutive date cells > didn't fail without the fix in place Change-Id: I297f9b3fe713910c1ed40b2de560171911b1ba79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112357 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-03-11tdf#89754 - don't increment non different consecutive date cellsAndreas Heinisch
Change-Id: I6fedc0fe286ebe8b0110360391e8d3325fc2ca25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112054 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2021-03-01uitest: sc: re-enable test to see if it still failsXisco Fauli
it doesn't fail for me, let's see for others. Change-Id: I7650cfe8378ed6876472e108b6a658f2955f1cb3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111744 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-25tdf#68290: sc: Move UItest to CppUnitTestXisco Fauli
Change-Id: I150a7d514ce9c39fe2ac21aa2bc1f0af79cb0a39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109915 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-21tdf#131407: Move UITest to Cppunitdiwanshu885
Change-Id: Ib3afe3ac26a348f47aa566e7b2e7986c42112a0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108991 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-01-14uitest: sc: factor out common code ( part 2 )Xisco Fauli
Change-Id: Ia2a707f1df513e067c8e34b263ad336fed6d14dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109235 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>