summaryrefslogtreecommitdiff
path: root/uitest
AgeCommit message (Collapse)AuthorFilesLines
2018-05-09Typos in change 53934heiko tietze2-2/+2
Change-Id: I7d2dd64beb70d44113c3c548ff6e13ff1d766614 Reviewed-on: https://gerrit.libreoffice.org/54017 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-05-09tdf#114006 - New default set of gradient presetsheiko tietze2-5/+5
New set of gradients incl. l10n and ui test Change-Id: Iee303a39ad721b5a4e8b9adb78ee5a82227b84f4 Reviewed-on: https://gerrit.libreoffice.org/53934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-04-03Create temp copies of test docs in Python/UITestsStephan Bergmann4-4/+17
...where necessary, so the tests will succeed if SRCDIR is a read-only tree. Change-Id: Iea4c52d5982d3eba079088ef1670ff557ce30c3f Reviewed-on: https://gerrit.libreoffice.org/52122 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-07uitest: add demo showing how to select different sheetMarkus Mohrhard1-0/+17
Change-Id: I1ddc8e9855832df7176d768e73d062e7f601a62c Reviewed-on: https://gerrit.libreoffice.org/50854 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-21Revert "uitest: add timeout for blocking actions"Stephan Bergmann1-6/+2
This reverts commit fb4d5885f3c8d00ae528ddf57b2abaa4aabfbcf3: "For one, as Michael already responded, many builds (local, Gerrit/Jenkins, other tinderboxes) now fail UITest_writerperfect_epubexport with what looks like random 'raise DialogNotClosedException()'. Gut feeling is that it's way more than used to fail UITest_writerperfect_epubexport with a deadlock." (<https://lists.freedesktop.org/archives/libreoffice/2018-February/079494.html> "Re: UITest_writerperfect_epubexport hang (only sometimes)") For example, <https://gerrit.libreoffice.org/#/c/50070/> "tdf#115853: save current custom property when adding line" Jenkins linux_clang_dbgutil_64 now failed twice in a row with what looks like random "raise DialogNotClosedException()" failures in UITest_writerperfect_epubexport. And for another: "As long as its unclear what the underlying problem is, what benefit does it have to add a timeout failure path in the test? Without the added timeout, a local failed test will be ready to be inspected (and moggi now gave suggestions what exactly to inspect in another mail in this thread). And failed tests on the tinderboxes will eventually time out either way." (<https://lists.freedesktop.org/archives/libreoffice/2018-February/079491.html> "Re: UITest_writerperfect_epubexport hang (only sometimes)") Change-Id: I36db7526b68a1cf6be596aa82c57095e4067c150 Reviewed-on: https://gerrit.libreoffice.org/50080 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-18uitest: add timeout for blocking actionsMarkus Mohrhard1-2/+6
Change-Id: I796d4ea0034ddae0427418f0d53a00c3dfa66871 Reviewed-on: https://gerrit.libreoffice.org/49939 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-18tdf#114817 new bitmap presets for Area Fillandreas kainz2-2/+2
Change-Id: Icc48efc2f6c085ccf0754620dc1cbf5132a7f824 Reviewed-on: https://gerrit.libreoffice.org/49551 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-02-06uitest: improve conditional test suppression to limit by class and by functionMiklos Vajna1-2/+4
Example: make UITest_writerperfect_epubexport UITEST_TEST_NAME="epubexport.EPUBExportTest.testUIComponent" Change-Id: I7960a71574d8d3d9cb06399813c7370700579c3d Reviewed-on: https://gerrit.libreoffice.org/49246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-02-05tdf#107501 automatize EN-8 manual test, related tdf#84810Saurav Chirania1-0/+52
This test is to check that paste special combined with some options and link is ok. Change-Id: Ifffca8033b195d64d310d9d063ee95bbc8e8ad5d Reviewed-on: https://gerrit.libreoffice.org/49164 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-02uitest for tdf#114724 headings outline tracking in NavigatorJim Raykowski2-0/+41
Change-Id: I4390c3d33d69ddd93880545f58d0ef81469c960d Reviewed-on: https://gerrit.libreoffice.org/47865 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-08uitest: add a shared helper method for selecting textMarkus Mohrhard2-2/+5
Change-Id: I15d059ea51ec1e7f0923dab5326a9bb8433e664c Reviewed-on: https://gerrit.libreoffice.org/47550 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-01-08uitest: add demo showing how to select text in EditMarkus Mohrhard1-1/+25
Change-Id: I8abb09e7e7b22934648bf0f295155a85da151cf8 Reviewed-on: https://gerrit.libreoffice.org/47549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-11-25fix uitest/writer_tests/data/3pages.odtRene Engelhard1-0/+0
This in uitest/writer_tests/goToPage.py is supposed to be a uitest for "go to page 2 and 3" but uses hardoded enters until page flips over. Looks overly flaky to me. Replaced by proper page breaks Change-Id: I8c0ea5809bd24d4122cfd956fcd048af97c01480
2017-11-24uitest - writer Go to page dialogZdeněk Crhonek2-0/+40
Change-Id: I3088bb4b802b533db46dc3ab1d9d2fd241aa1fb0 Reviewed-on: https://gerrit.libreoffice.org/45009 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-11-21tdf#112650 Disable 'background settings for all pages'heiko tietze1-10/+0
Code removed to set images as background Change-Id: I3bad649b503420e2561483fbce1775e4aebdd3a3 Reviewed-on: https://gerrit.libreoffice.org/45001 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-10-13don't assume concrete spelling substitutionsDavid Tardon1-9/+11
E.g., on my F-27 with system hunspell 1.5.4, the substitutions are dogg -> dodgy catt -> cat frogg -> frog which causes the test to fail... Change-Id: I6d192fcc74629c2f3b9d4780576499c47de96b26
2017-10-02solenv: support gb_UITest_DEBUGRUN for ui testsMiklos Vajna1-1/+1
This is similar to gb_JunitTest_DEBUGRUN, i.e. allows running soffice in gdb, and then connecting to that soffice from the test, instead of starting an own one. Change-Id: I023d6b0ede146837666c946cb865feb9046e5a94 Reviewed-on: https://gerrit.libreoffice.org/42756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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>