summaryrefslogtreecommitdiffstats
path: root/uitest
Commit message (Collapse)AuthorAgeFilesLines
* uitest: Test text directionXisco Fauli2017-06-151-0/+26
| | | | | | | Change-Id: I66943e432eadedaf4a1bc362861ea8be67b076c3 Reviewed-on: https://gerrit.libreoffice.org/38839 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: test page orientationXisco Fauli2017-06-151-4/+31
| | | | | | | Change-Id: I265730664cf7dfb1d4a105023ae1e3b4c1fca4f5 Reviewed-on: https://gerrit.libreoffice.org/38838 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Jenkins <ci@libreoffice.org>
* uitest: Using dimensions in assert isn't a good idea...Xisco Fauli2017-06-151-17/+10
| | | | | | | | | | ... as they're normally not equal across platforms and machines At least, check the paper format we choose Change-Id: I7f1047157f3b6135c2a037b9cc783889d17d3072 Reviewed-on: https://gerrit.libreoffice.org/38785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: Add test for insertPageHeader and tdf#107427Xisco Fauli2017-06-141-0/+72
| | | | | | | Change-Id: I8dd7c1a802b021392f25e92d25d9122082f17722 Reviewed-on: https://gerrit.libreoffice.org/38770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* disable UI test that does exact comparisonMarkus Mohrhard2017-06-141-0/+3
| | | | Change-Id: I3e66a0574f6833fcd45a95a336fc07b523c0011c
* uitest: Check default paper formatsXisco Fauli2017-06-131-25/+58
| | | | | | | Change-Id: Iaf889339f6a757fa5a3e992fb4438df842ea76eb Reviewed-on: https://gerrit.libreoffice.org/38738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: Use subtest hereXisco Fauli2017-06-131-6/+7
| | | | | | | Change-Id: I0e54b950412b4130bb4155d93af2ccafb03d2950 Reviewed-on: https://gerrit.libreoffice.org/38744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: extract the wait time for the dialogsMarkus Mohrhard2017-06-132-8/+11
| | | | Change-Id: Ieb82b643de58523cef30f88363276874b6169021
* Revert "uitest: disable failing part of manual_tests/calc.py"Miklos Vajna2017-06-121-1/+1
| | | | | | | | | | | This reverts commit 8c59cfb6aad60c06271ac7ae3c124132bdf223c9. Turns out this was a problem for non-English locales only, and Markus fixed this in general in the meantime. Change-Id: I4bb487345b9de4ee637538bbb9d53faa98c7ec5f Reviewed-on: https://gerrit.libreoffice.org/38698 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* remove debug print statementMarkus Mohrhard2017-06-121-1/+0
| | | | | | | | Change-Id: I419dd9311bc4fbb9fcd2e73a83c5272ecbec242d Reviewed-on: https://gerrit.libreoffice.org/38680 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
* uitest: set en_US.UTF8 for the LibreOffice instanceMarkus Mohrhard2017-06-101-1/+9
| | | | | | | Change-Id: If4726804c2b967582cbf1a4e816c1c7bee01aeeb Reviewed-on: https://gerrit.libreoffice.org/38626 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* improve descriptionMarkus Mohrhard2017-06-102-1/+13
| | | | | | | Change-Id: I59060690b7ed138987df07adf174cf43fadbae77 Reviewed-on: https://gerrit.libreoffice.org/38624 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: disable failing part of manual_tests/calc.pyMiklos Vajna2017-06-081-1/+1
| | | | | | | | | | | | | | | | Fails here on Linux dbgutil like this: ====================================================================== ERROR: test_validation (calc.ManualCalcTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "uitest/manual_tests/calc.py", line 133, in test_validation self.ui_test.execute_blocking_action(enter_text, "ok", args=("B6", "2.18")) File "uitest/uitest/test.py", line 191, in execute_blocking_action raise DialogNotExecutedException("did not execute a dialog for a blocking action") uitest.test.DialogNotExecutedException: Dialog not executed for: did not execute a dialog for a blocking action Change-Id: I2004eb52ce0846ada7ed38dc19d71258d2272ad5
* remove unused importsMarkus Mohrhard2017-06-081-3/+0
| | | | | | | Change-Id: I7efdbc1278d27ed75d8e48a35a9fac0358144214 Reviewed-on: https://gerrit.libreoffice.org/38548 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* prepare publishing the libreoffice-connection python codeMarkus Mohrhard2017-06-084-0/+42
| | | | Change-Id: I730207465e185a0b942b5636cd7ba3bebe7856f5
* Fix uitest failureXisco Fauli2017-06-071-1/+1
| | | | | | | | | It doesn't break for me locally Change-Id: I61957fe4e7699937d17b74e8655efe2a6d1f6e6a Reviewed-on: https://gerrit.libreoffice.org/38502 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: InsertBreak dialogXisco Fauli2017-06-071-0/+71
| | | | | | | Change-Id: Iab997ecedd11167cc079b3c5e3c4308383439448 Reviewed-on: https://gerrit.libreoffice.org/38468 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* uitest: Combine all table tests in one fileXisco Fauli2017-06-075-178/+121
| | | | | | | Change-Id: Ief374a02eabed4587874cb6182742ae86c084d62 Reviewed-on: https://gerrit.libreoffice.org/38474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* tdf#104649: Add uitestXisco Fauli2017-05-172-0/+35
| | | | | | | Change-Id: I0e1c757e4857ff11481230606a0f982d260c24c0 Reviewed-on: https://gerrit.libreoffice.org/33065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
* Related tdf#105922: step increment is a property of the shapeKatarina Behrens2017-04-131-2/+2
| | | | | | | | | | | not of the gradient. Therefore don't reset selection in the gradient list if step increment changes. This hopefully fixes also the failing UI test Change-Id: Ia3da23d80ee9601b40309a2f213bd3b2c850ff5a Reviewed-on: https://gerrit.libreoffice.org/36508 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
* uitest: disable failing assertMarkus Mohrhard2017-04-082-4/+4
| | | | | | Seems to be related to ff1f83dd08b7b0169301ffe0a53499a27af613b9 Change-Id: I75c750c1fced15c766dd7fce7eae675b57cba25e
* uitest: add method to get the row object from a calc documentMarkus Mohrhard2017-03-271-0/+11
| | | | | | | Change-Id: If24a995fe1e174d3ffc531021b290a455ae28512 Reviewed-on: https://gerrit.libreoffice.org/35729 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: add demo showing how to use auto filter popupMarkus Mohrhard2017-03-261-16/+11
| | | | | | | Change-Id: Id42c2856e4eee03dae374ea36d6dcba16419c70e Reviewed-on: https://gerrit.libreoffice.org/35700 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: add demo showing how to interact with autofilter popupMarkus Mohrhard2017-03-261-0/+24
| | | | | | | Change-Id: Icda3c00a3a8c593a8f3129662c7688be000e3c7e Reviewed-on: https://gerrit.libreoffice.org/35694 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: add initial autofilter testMarkus Mohrhard2017-03-262-0/+30
| | | | | | | Change-Id: I06029afbf9be93054ef932f8c37a56b929c3e436 Reviewed-on: https://gerrit.libreoffice.org/35693 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* uitest: add a decorator to document required revisionMarkus Mohrhard2017-03-261-0/+16
| | | | | | | | This is the first step in allowing easy bisecting with the UI testing framework. We now also need a script that can execute tests and a way to get the revision information back into the bisecting script. Change-Id: If59db62ba25162ae69360d5b8ae769a6d179c16c
* uitest: add method to get the column object from a spreadsheet docMarkus Mohrhard2017-03-181-0/+11
| | | | Change-Id: I594779ad7b3fe97a1055ad9c999fe6be126875fb
* uitest: add method to simplify sending CTRL+AMarkus Mohrhard2017-03-181-0/+13
| | | | Change-Id: I708cc0fdb416d3347e9e5c531d7720c902ec0a86
* 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>