summaryrefslogtreecommitdiff
path: root/uitest
AgeCommit message (Collapse)AuthorFilesLines
2017-08-08Fix UITest_writer_demo with --enable-ext-languagetoolStephan Bergmann1-1/+7
...which would insert requests to fix duplicate "frog frog" and capitalize "frog" at the start of a paragraph, confusing test_tdf46852 Change-Id: I76704af9e2e87ffdb3093ae68f0949b67ef9bf9b
2017-08-05Fix typosAndrea Gelmini1-1/+1
Change-Id: Ib7f43bf17ab8b9fb9d961a908d7620b50826a975 Reviewed-on: https://gerrit.libreoffice.org/40688 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-07-31uitest: wait longer for the blocking action eventMarkus Mohrhard1-2/+2
Blocking actions are normal actions plus a modal dialog. So we need to wait quite some time before considering the action as failed. Change-Id: I76360b15f54abb1f957a1cddf5314359dfae2d25
2017-07-23uitest: wait twice as long for blocking actionsMarkus Mohrhard1-1/+2
Change-Id: Ib54a12e9bce3f0be9b31c57550d01754323832c6
2017-07-23uitest: handle the case without dictionaries in the UI testsMarkus Mohrhard2-0/+47
Change-Id: Icc63deeb182f0c380780332793a3af1f7a51577b
2017-07-20tdf#46852 fix spellcheck continue at beginningLuke Deller2-3/+92
When a spellcheck reaches the end of the document, it is supposed to be able to continue from the beginning of the document to the point at which the spellcheck was started. This was not working in the case where the word at the starting position was replaced due to a spelling correction, which causes the starting position to be lost. Fix this situation by recording the position immediately *before* the spellcheck starting position, so that it will not be affected by a spelling correction *at* the starting position. Change-Id: I9483fd5937dc1e235f6f9639d4856fe15e3d47a6 Reviewed-on: https://gerrit.libreoffice.org/40123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-20Propagate failure out from css.ui.test.XUITest::executeCommand/DialogStephan Bergmann1-3/+6
Change-Id: Id7bd2d6f35f45d9957facf56d66cfc57a1e0ef6a Reviewed-on: https://gerrit.libreoffice.org/39002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-06-20MAX_WAIT turns out to be too smallStephan Bergmann1-1/+1
...at least for my ASan+UBSan build, causing spurious 'make check' failures Change-Id: I6871e6fbc41790de1b38b1b7757b93d349154f47
2017-06-15uitest: Test text directionXisco Fauli1-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>
2017-06-15uitest: test page orientationXisco Fauli1-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>
2017-06-15uitest: Using dimensions in assert isn't a good idea...Xisco Fauli1-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>
2017-06-14uitest: Add test for insertPageHeader and tdf#107427Xisco Fauli1-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>
2017-06-14disable UI test that does exact comparisonMarkus Mohrhard1-0/+3
Change-Id: I3e66a0574f6833fcd45a95a336fc07b523c0011c
2017-06-13uitest: Check default paper formatsXisco Fauli1-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>
2017-06-13uitest: Use subtest hereXisco Fauli1-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>
2017-06-13uitest: extract the wait time for the dialogsMarkus Mohrhard2-8/+11
Change-Id: Ieb82b643de58523cef30f88363276874b6169021
2017-06-12Revert "uitest: disable failing part of manual_tests/calc.py"Miklos Vajna1-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>
2017-06-12remove debug print statementMarkus Mohrhard1-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>
2017-06-10uitest: set en_US.UTF8 for the LibreOffice instanceMarkus Mohrhard1-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>
2017-06-10improve descriptionMarkus Mohrhard2-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>
2017-06-08uitest: disable failing part of manual_tests/calc.pyMiklos Vajna1-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
2017-06-08remove unused importsMarkus Mohrhard1-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>
2017-06-08prepare publishing the libreoffice-connection python codeMarkus Mohrhard4-0/+42
Change-Id: I730207465e185a0b942b5636cd7ba3bebe7856f5
2017-06-07Fix uitest failureXisco Fauli1-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>
2017-06-07uitest: InsertBreak dialogXisco Fauli1-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>
2017-06-07uitest: Combine all table tests in one fileXisco Fauli5-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>
2017-05-17tdf#104649: Add uitestXisco Fauli2-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>
2017-04-13Related tdf#105922: step increment is a property of the shapeKatarina Behrens1-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>
2017-04-08uitest: disable failing assertMarkus Mohrhard2-4/+4
Seems to be related to ff1f83dd08b7b0169301ffe0a53499a27af613b9 Change-Id: I75c750c1fced15c766dd7fce7eae675b57cba25e
2017-03-27uitest: add method to get the row object from a calc documentMarkus Mohrhard1-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>
2017-03-26uitest: add demo showing how to use auto filter popupMarkus Mohrhard1-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>
2017-03-26uitest: add demo showing how to interact with autofilter popupMarkus Mohrhard1-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>
2017-03-26uitest: add initial autofilter testMarkus Mohrhard2-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>
2017-03-26uitest: add a decorator to document required revisionMarkus Mohrhard1-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
2017-03-18uitest: add method to get the column object from a spreadsheet docMarkus Mohrhard1-0/+11
Change-Id: I594779ad7b3fe97a1055ad9c999fe6be126875fb
2017-03-18uitest: add method to simplify sending CTRL+AMarkus Mohrhard1-0/+13
Change-Id: I708cc0fdb416d3347e9e5c531d7720c902ec0a86
2017-03-09uitest: test backgrounds in writerXisco Fauli1-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>
2017-03-08tdf#87199: Add uitestXisco Fauli1-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>
2017-03-08tdf#105677: Check the other kind of backgrounds as wellXisco Fauli2-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>
2017-03-07tdf#105677: Add uitestXisco Fauli1-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>
2017-03-01uitest: enable additional chart tests that seem to be stable nowMarkus Mohrhard1-2/+0
Change-Id: I9a41c29807cc47f570a9057435386e519a438289
2017-03-01uitest: the new code allows to enable the chart test againMarkus Mohrhard1-1/+0
Change-Id: I51ff48441d07c12f8019d282ab92f1835cec69cb
2017-02-27uitest: catch more exceptions during shutdownMarkus Mohrhard1-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>
2017-02-27uitest: use correct method to close a dialogMarkus Mohrhard1-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>
2017-02-27uitest: handle crash reporter dialog correctly during start-upMarkus Mohrhard1-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>
2017-02-27uitest: use the new dialog method in the python codeMarkus Mohrhard1-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>
2017-02-27uitest: remove old debug sleep statementsMarkus Mohrhard1-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>
2017-02-27uitest: move all the conditional format tests into an own testMarkus Mohrhard3-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>
2017-02-27uitest: increase the shutdown timeoutMarkus Mohrhard1-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>
2017-02-27uitest: document methods and pep8 fixesMarkus Mohrhard1-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>