summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* uitest: test backgrounds in writerXisco Fauli2017-03-091-0/+147
| | | | | | | Change-Id: If3bf2848bb9437c7cb7ffec37c315888fef47c88 Reviewed-on: https://gerrit.libreoffice.org/35008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* tdf#87199: Add uitestXisco Fauli2017-03-081-0/+56
| | | | | | | Change-Id: Ib57d71777f3e8a1b17dfc8127365dbf2f6ad6102 Reviewed-on: https://gerrit.libreoffice.org/34981 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* tdf#105677: Check the other kind of backgrounds as wellXisco Fauli2017-03-082-50/+154
| | | | | | | Change-Id: I382f316f8f0b4a5fbcd0f438bff15e4f2b079231 Reviewed-on: https://gerrit.libreoffice.org/34959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* tdf#105677: Add uitestXisco Fauli2017-03-071-0/+50
| | | | | | | Change-Id: I00365541922785f4f33e762d034e921d5502d5f0 Reviewed-on: https://gerrit.libreoffice.org/34955 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: enable additional chart tests that seem to be stable nowMarkus Mohrhard2017-03-011-2/+0
| | | | Change-Id: I9a41c29807cc47f570a9057435386e519a438289
* uitest: the new code allows to enable the chart test againMarkus Mohrhard2017-03-011-1/+0
| | | | Change-Id: I51ff48441d07c12f8019d282ab92f1835cec69cb
* uitest: catch more exceptions during shutdownMarkus Mohrhard2017-02-271-7/+7
| | | | | | | Change-Id: Ie4bfc28c32b4b21c75ca92b95521c03a0683db32 Reviewed-on: https://gerrit.libreoffice.org/34692 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: use correct method to close a dialogMarkus Mohrhard2017-02-271-1/+1
| | | | | | | Change-Id: Ib62cc9465bb874d48b4e294a6f18d98de04a5518 Reviewed-on: https://gerrit.libreoffice.org/34672 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: handle crash reporter dialog correctly during start-upMarkus Mohrhard2017-02-271-1/+22
| | | | | | | Change-Id: I1db54ad2ad38642ac84211fd6d6505e171fc4423 Reviewed-on: https://gerrit.libreoffice.org/34671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: use the new dialog method in the python codeMarkus Mohrhard2017-02-271-3/+3
| | | | | | | Change-Id: I252310bc453450236b5b7de0ef292cfbba7ea64a Reviewed-on: https://gerrit.libreoffice.org/34670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: remove old debug sleep statementsMarkus Mohrhard2017-02-271-4/+0
| | | | | | | Change-Id: I3ee755325cbf506b785b962c06c777ca45c025d3 Reviewed-on: https://gerrit.libreoffice.org/34668 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: move all the conditional format tests into an own testMarkus Mohrhard2017-02-273-155/+0
| | | | | | | Change-Id: I5673341b05c8352bc1d46f1483c265ccdc6a1cc5 Reviewed-on: https://gerrit.libreoffice.org/34667 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: increase the shutdown timeoutMarkus Mohrhard2017-02-271-1/+1
| | | | | | | | | Seems that under really high load 5 seconds is not enough. Change-Id: Ia0b2f7ff7bf469d188c9ceea0edc7f1d2d4002d3 Reviewed-on: https://gerrit.libreoffice.org/34666 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: document methods and pep8 fixesMarkus Mohrhard2017-02-271-3/+35
| | | | | | | Change-Id: I90af25c89cb33d5dc75f73a3b4918605d47474f1 Reviewed-on: https://gerrit.libreoffice.org/34665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: remove old test methodsMarkus Mohrhard2017-02-271-6/+0
| | | | | | | Change-Id: I29296c90811f9a910c505a9dcd4db7f13a6130b8 Reviewed-on: https://gerrit.libreoffice.org/34664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* use special method to close dialog through button clickMarkus Mohrhard2017-02-1811-18/+18
| | | | | | | Change-Id: Id884cc75503cb433742f9316d9647cff801565f7 Reviewed-on: https://gerrit.libreoffice.org/34230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: use the correct method to close a dialog through a buttonMarkus Mohrhard2017-02-187-9/+44
| | | | | | | Change-Id: I210c1d9a99a93b7a21478f679f440c270375bedc Reviewed-on: https://gerrit.libreoffice.org/34398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* tdf#79236: Add uitestXisco Fauli2017-02-071-0/+124
| | | | | | | Change-Id: I916438d688ec24c67b581bf2e025215dda228e97 Reviewed-on: https://gerrit.libreoffice.org/34000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: some pep8 fixesMarkus Mohrhard2017-01-251-4/+9
| | | | Change-Id: Ib889604f1b6d11e874c27fb5d2757a792a687366
* uitest: document more UNO helper methodsMarkus Mohrhard2017-01-253-1/+21
| | | | Change-Id: I941f5ba20a7e3176e8d9f5f64c64ada6551d533a
* tdf#105466: Add uitestXisco Fauli2017-01-241-0/+31
| | | | | | | Change-Id: I21ba4b716b3b7d2c1c23db816701331ba462b379 Reviewed-on: https://gerrit.libreoffice.org/33494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* tdf#105411: Add uitestXisco Fauli2017-01-201-0/+35
| | | | | | | Change-Id: Iff93a61441aa13670903ef2dd82de38af4eb5320 Reviewed-on: https://gerrit.libreoffice.org/33347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: check the different layoutsXisco Fauli2017-01-171-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>
* tdf#80663 Add uitestXisco Fauli2017-01-151-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>
* tdf#92611: Add uitestXisco Fauli2017-01-151-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>
* tdf#96067 Add uitestXisco Fauli2017-01-141-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>
* Check number of columns and row in the inserted tableXisco Fauli2017-01-141-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>
* tdf#104158: Add uitestXisco Fauli2017-01-141-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>
* uitest: write a helper method for selecting based on positionMarkus Mohrhard2016-12-249-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>
* uitest: add a helper method for typing textMarkus Mohrhard2016-12-2410-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>
* uitest: convert random number manual test to automated testingMarkus Mohrhard2016-12-221-0/+39
| | | | | | http://manual-test.libreoffice.org/manage/case/143/ Change-Id: Iff337668834cc729398a79719701627689b56dfd
* uitest: convert cell recalculation manual test to automated testingMarkus Mohrhard2016-12-222-0/+23
| | | | | | http://manual-test.libreoffice.org/manage/case/151/ Change-Id: I6b4e857eb949b29b03817058f8fb3a93ace13309
* uitest: add reference to moztrapMarkus Mohrhard2016-12-221-0/+2
| | | | Change-Id: I5213a5a5356af8d80787dc023ac6eca64c456ff9
* uitest: convert transpose manual test to automated testMarkus Mohrhard2016-12-221-0/+36
| | | | | | http://manual-test.libreoffice.org/manage/case/187/ Change-Id: Ia15514127c91ad9391329e96ad23e72b39f9b5f0
* uitest: convert validation manual test to automated testMarkus Mohrhard2016-12-221-0/+31
| | | | | | http://manual-test.libreoffice.org/manage/case/191/ Change-Id: I5aa3dfd87e3de66f12b2a73a8c67cb01cbb56244
* uitest: add a way to execute blocking actionsMarkus Mohrhard2016-12-221-0/+18
| | | | Change-Id: I312a835fd8de82d5f31e6ba09105b22587c43513
* uitest: convert next manual calc test to an automatic oneMarkus Mohrhard2016-12-221-0/+44
| | | | | | Converts http://manual-test.libreoffice.org/manage/case/190/ Change-Id: I72fa202c55578f1163f0184fbedd8e470cee0ed7
* uitest: add method to get first componentMarkus Mohrhard2016-12-221-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
* uitest: add helper method to get XCell from UNOMarkus Mohrhard2016-12-221-0/+4
| | | | Change-Id: I1600a1e5d79b100a6469d9fa52c67e9e374258a2
* uitest: add a reference to the corresponding manual testMarkus Mohrhard2016-12-221-0/+1
| | | | Change-Id: I47c3a3947a9b0557f0eabaef4521c0abc5b743c5
* uitest: add initial test for converting manual tests to automated testsMarkus Mohrhard2016-12-214-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>
* uitest: add an optional way to print all received event namesMarkus Mohrhard2016-12-211-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>
* uitest: we need the workaround for the race condition also for file loadingMarkus Mohrhard2016-12-201-0/+3
| | | | Change-Id: I6988cebc4c005b3e80c2b552fb66398cba036cd8
* uitest: disable the one unreliable math test for nowMarkus Mohrhard2016-12-201-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
* uitest: work around race condition when starting multiple soffice instancesMarkus Mohrhard2016-12-191-0/+3
| | | | Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
* make sure we are not leaving soffice around if python process crashesMarkus Mohrhard2016-12-192-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>
* uitest: disable tests that deadlock with mutex problemsMarkus Mohrhard2016-12-192-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>
* uitest: prevent deadlock when the test failsMarkus Mohrhard2016-12-021-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>
* provide a way to limit the UI tests through envMarkus Mohrhard2016-12-021-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>
* uitest: fix path to url conversion on windowsMarkus Mohrhard2016-11-211-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