summaryrefslogtreecommitdiff
path: root/uitest
AgeCommit message (Collapse)AuthorFilesLines
2017-01-17uitest: check the different layoutsXisco Fauli1-0/+43
Change-Id: I08f69742569a0129d505726632f8b88eaebed953 Reviewed-on: https://gerrit.libreoffice.org/33195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-01-15tdf#80663 Add uitestXisco Fauli1-0/+40
Change-Id: Icc9d7d84b44ecbd0531f538ec227b37998b1f5e2 Reviewed-on: https://gerrit.libreoffice.org/33097 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-01-15tdf#92611: Add uitestXisco Fauli1-0/+27
Change-Id: I9b07b185fd1c3f43c06713d4e5fde8d97b2991ef Reviewed-on: https://gerrit.libreoffice.org/33099 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-01-14tdf#96067 Add uitestXisco Fauli1-0/+45
Change-Id: Iac2690789c5a82bfdf140067c1b0dcdaa423a8ab Reviewed-on: https://gerrit.libreoffice.org/33066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-01-14Check number of columns and row in the inserted tableXisco Fauli1-0/+6
Change-Id: I6c6c9b38a9eb1a2912373008564b4838bd3fc3f8 Reviewed-on: https://gerrit.libreoffice.org/33067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-01-14tdf#104158: Add uitestXisco Fauli1-0/+31
Change-Id: If2391365e71df0e95dc1be177e3595a62e0d6eab Reviewed-on: https://gerrit.libreoffice.org/33057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2016-12-24uitest: write a helper method for selecting based on positionMarkus Mohrhard9-22/+21
Change-Id: Ia7c4450f83a5a7cebd9d518c9ccac1ce07045570 Reviewed-on: https://gerrit.libreoffice.org/32407 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-24uitest: add a helper method for typing textMarkus Mohrhard10-51/+37
Change-Id: If450e3f0ff1e2a8f33db05e9512a13e5771115a8 Reviewed-on: https://gerrit.libreoffice.org/32406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-22uitest: convert random number manual test to automated testingMarkus Mohrhard1-0/+39
http://manual-test.libreoffice.org/manage/case/143/ Change-Id: Iff337668834cc729398a79719701627689b56dfd
2016-12-22uitest: convert cell recalculation manual test to automated testingMarkus Mohrhard2-0/+23
http://manual-test.libreoffice.org/manage/case/151/ Change-Id: I6b4e857eb949b29b03817058f8fb3a93ace13309
2016-12-22uitest: add reference to moztrapMarkus Mohrhard1-0/+2
Change-Id: I5213a5a5356af8d80787dc023ac6eca64c456ff9
2016-12-22uitest: convert transpose manual test to automated testMarkus Mohrhard1-0/+36
http://manual-test.libreoffice.org/manage/case/187/ Change-Id: Ia15514127c91ad9391329e96ad23e72b39f9b5f0
2016-12-22uitest: convert validation manual test to automated testMarkus Mohrhard1-0/+31
http://manual-test.libreoffice.org/manage/case/191/ Change-Id: I5aa3dfd87e3de66f12b2a73a8c67cb01cbb56244
2016-12-22uitest: add a way to execute blocking actionsMarkus Mohrhard1-0/+18
Change-Id: I312a835fd8de82d5f31e6ba09105b22587c43513
2016-12-22uitest: convert next manual calc test to an automatic oneMarkus Mohrhard1-0/+44
Converts http://manual-test.libreoffice.org/manage/case/190/ Change-Id: I72fa202c55578f1163f0184fbedd8e470cee0ed7
2016-12-22uitest: add method to get first componentMarkus Mohrhard1-0/+7
Note that this method should be improved to allow selecting a specific component. However for now this works will all tests that start only one document. Change-Id: Iaba47b3dc5996abbfc3fca54dfefa48df5a603d8
2016-12-22uitest: add helper method to get XCell from UNOMarkus Mohrhard1-0/+4
Change-Id: I1600a1e5d79b100a6469d9fa52c67e9e374258a2
2016-12-22uitest: add a reference to the corresponding manual testMarkus Mohrhard1-0/+1
Change-Id: I47c3a3947a9b0557f0eabaef4521c0abc5b743c5
2016-12-21uitest: add initial test for converting manual tests to automated testsMarkus Mohrhard4-0/+74
Change-Id: I76637b76151a33c9f9f4b218aa01b5e813e9da1f Reviewed-on: https://gerrit.libreoffice.org/32283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21uitest: add an optional way to print all received event namesMarkus Mohrhard1-1/+5
Change-Id: I8180d131c2f4dbc9759ca1166192970bc06231c0 Reviewed-on: https://gerrit.libreoffice.org/32280 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20uitest: we need the workaround for the race condition also for file loadingMarkus Mohrhard1-0/+3
Change-Id: I6988cebc4c005b3e80c2b552fb66398cba036cd8
2016-12-20uitest: disable the one unreliable math test for nowMarkus Mohrhard1-0/+3
I still need to research what is going wrong there. It seem to happen when the starting instance has the startup problem with the active frame. Change-Id: I903f758dbf02072decf88d5d30c358eb742aeb8e
2016-12-19uitest: work around race condition when starting multiple soffice instancesMarkus Mohrhard1-0/+3
Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
2016-12-19make sure we are not leaving soffice around if python process crashesMarkus Mohrhard2-12/+37
Change-Id: Idac32c3d788714533ee760782d2b6a328262f3f8 Reviewed-on: https://gerrit.libreoffice.org/31996 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-19uitest: disable tests that deadlock with mutex problemsMarkus Mohrhard2-1/+5
This seems to be a race condition that is not really related to the UI testing. It should happen any time with out-of-process UNO. Change-Id: I86e42fc6c3848c4522e6f4e5db72e92917e19286 Reviewed-on: https://gerrit.libreoffice.org/31995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-02uitest: prevent deadlock when the test failsMarkus Mohrhard1-0/+9
when the test fails it was possible that the terminate call was trying to close all the open windows which could show the query close dialog. The new approach is to close all remaining documents in tearDown. Change-Id: I0078eaf1995c3085af0bbbb072f636b316003c02 Reviewed-on: https://gerrit.libreoffice.org/31515 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-02provide a way to limit the UI tests through envMarkus Mohrhard1-0/+4
Change-Id: If0af462f20f3541a183e00732944b0650d94639d Reviewed-on: https://gerrit.libreoffice.org/31512 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-21uitest: fix path to url conversion on windowsMarkus Mohrhard1-1/+1
Our windows path is stored e.g. as D:/libo1 which os.path.path2url converts to D://libo1. UNO does not recognize the URL as a valid file URL. Change-Id: Iad4c4a3944d26312bb79bfeefaf55f697c0afd1c
2016-10-26normalize existing emacs/vim mode-lines in python filesMichael Stahl37-75/+75
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-11forgot to actually remove the problematic importMarkus Mohrhard1-1/+0
Change-Id: Iac96719a36269dec173af4c9d6d7e88d67b5c24d
2016-10-11make it easier to read the logsMarkus Mohrhard1-1/+1
Not yet perfect but already better. Change-Id: I5309947333aa2cce6526335b603ef316226e490c
2016-10-11avoid infinite loop if the instance stopped alreadyMarkus Mohrhard1-0/+3
Change-Id: I03f78e592f3f182f34ea05829131357cabcc4c7b
2016-10-11pathlib is only in python 3.4+Markus Mohrhard3-13/+36
We still use 3.3 on windows. Change-Id: I32adabe1eb12d8803d61458fcb1a228b3ff045e0
2016-10-01add resizing support to drawinglayer ui test objectsMarkus Mohrhard1-0/+19
Change-Id: Ic17b32c25677855388ff49f2f7daeb1a84557fde Reviewed-on: https://gerrit.libreoffice.org/29419 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-01add initial test for handlign drawinglayer objectsMarkus Mohrhard1-0/+35
Change-Id: Idbf13ef748447120baa1709be0a9c24367d0887e Reviewed-on: https://gerrit.libreoffice.org/29418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29add complete test for tdf#96453Markus Mohrhard1-1/+57
This is the fourth and final part of the UI test tutorial. The test combines the previous 3 items in the final test. The original test from the first tutorial is used as a template, the SvSimpleTable support is used to assert that the table contains the correct amount of entries, and the UNO helper methods that the document contains the correct amount of conditional formats. Change-Id: Ibe2047e10ff6368c145c88b2bcca9648aa7f8f54
2016-09-29add helper methods to deal with Calc UNOMarkus Mohrhard2-0/+25
This is the third part of the UI Test tutorial. The code in uitest/libreoffice is generally useful UNO code that allows to interact with LibreOffice. This code should be independent of the UI testing framework and provide external developers a helpful starting point to writer python extensions. Change-Id: Ia1429577affd98dcf3f1aee3da3a7256499a1c78
2016-09-29allow to listen to different eventsMarkus Mohrhard1-3/+3
Change-Id: I4121d35e8052cf25bc2e6089e45c62c3bbcc859a
2016-09-29use the new close dialog abstraction in impressMarkus Mohrhard1-6/+4
Change-Id: I6fef4bfa5b964c83b21c73ec406bf7fc10958a41
2016-09-29make use of the new event for closed dialogsMarkus Mohrhard1-0/+17
Change-Id: I59102fda8390d9594999ceaa45105e38ecbc970e
2016-09-29add test for tdf#96453 part 1Markus Mohrhard2-0/+37
This is the first part in the UI testing tutorial. The commit adds the skeleton for a UI test. Currently the test only opens the conditional format manager dialog and closes the dialog again. Change-Id: Iff1d662d0aa675efad6b9682bf86a246c7a5a8d3 Reviewed-on: https://gerrit.libreoffice.org/29373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29fix test failureMarkus Mohrhard1-2/+6
Change-Id: Ia963b3930b5d2d0ab612619e0165dadd058b3fda Reviewed-on: https://gerrit.libreoffice.org/29372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29add missing test filesMarkus Mohrhard2-0/+0
Change-Id: Idab1e1649b016d99ccd32158d36dc1d3e56a44b9 Reviewed-on: https://gerrit.libreoffice.org/29371 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-17uitest: add a complex math testMarkus Mohrhard1-2/+26
Change-Id: Ib246c3041f066ecedd1ebbe564566a1824d293bc
2016-07-17uitest: add demo for new element selector math wrapperMarkus Mohrhard1-0/+12
Change-Id: I64c98254c5d5ae1cc6c9729654028201f1773c90
2016-07-17uitest: add makefile part for new math testsMarkus Mohrhard2-0/+16
Change-Id: I90adb3bf9eefcf687e4a76d58aefb9a5775e5e88
2016-07-17uitest: add initial demo for math edit windowMarkus Mohrhard1-0/+10
Change-Id: I4fe1dc7fe2f5179dc97fc80a80604d54ae3ad333
2016-07-17uitest: add some initial math ui testsMarkus Mohrhard1-0/+43
Change-Id: Iad02a40b683d7b3bbbad0214c82ad4b5b6878ea9
2016-07-17uitest: add demo showing how to select active frameMarkus Mohrhard1-0/+15
Change-Id: I76bb79047b9d15228dc29379203300ccf50fc4f1
2016-07-17uitest: don't hard code my path in testMarkus Mohrhard1-2/+12
Change-Id: I65959552f74d860ee8773f1f5649bd160686f288