summaryrefslogtreecommitdiff
path: root/uitest/uitest
AgeCommit message (Collapse)Author
2017-08-05Fix typosAndrea Gelmini
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 Mohrhard
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 Mohrhard
Change-Id: Ib54a12e9bce3f0be9b31c57550d01754323832c6
2017-07-20tdf#46852 fix spellcheck continue at beginningLuke Deller
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 Bergmann
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 Bergmann
...at least for my ASan+UBSan build, causing spurious 'make check' failures Change-Id: I6871e6fbc41790de1b38b1b7757b93d349154f47
2017-06-13uitest: extract the wait time for the dialogsMarkus Mohrhard
Change-Id: Ieb82b643de58523cef30f88363276874b6169021
2017-03-26uitest: add a decorator to document required revisionMarkus Mohrhard
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 simplify sending CTRL+AMarkus Mohrhard
Change-Id: I708cc0fdb416d3347e9e5c531d7720c902ec0a86
2017-02-27uitest: catch more exceptions during shutdownMarkus Mohrhard
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: handle crash reporter dialog correctly during start-upMarkus Mohrhard
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 Mohrhard
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-18use special method to close dialog through button clickMarkus Mohrhard
Change-Id: Id884cc75503cb433742f9316d9647cff801565f7 Reviewed-on: https://gerrit.libreoffice.org/34230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-24uitest: write a helper method for selecting based on positionMarkus Mohrhard
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 Mohrhard
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: add a way to execute blocking actionsMarkus Mohrhard
Change-Id: I312a835fd8de82d5f31e6ba09105b22587c43513
2016-12-22uitest: add method to get first componentMarkus Mohrhard
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-20uitest: we need the workaround for the race condition also for file loadingMarkus Mohrhard
Change-Id: I6988cebc4c005b3e80c2b552fb66398cba036cd8
2016-12-19uitest: work around race condition when starting multiple soffice instancesMarkus Mohrhard
Change-Id: I45b57f6789a6156b7f70b39bac624bab55dc17ff
2016-12-19make sure we are not leaving soffice around if python process crashesMarkus Mohrhard
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-02uitest: prevent deadlock when the test failsMarkus Mohrhard
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-11-21uitest: fix path to url conversion on windowsMarkus Mohrhard
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 Stahl
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-11pathlib is only in python 3.4+Markus Mohrhard
We still use 3.3 on windows. Change-Id: I32adabe1eb12d8803d61458fcb1a228b3ff045e0
2016-09-29allow to listen to different eventsMarkus Mohrhard
Change-Id: I4121d35e8052cf25bc2e6089e45c62c3bbcc859a
2016-09-29make use of the new event for closed dialogsMarkus Mohrhard
Change-Id: I59102fda8390d9594999ceaa45105e38ecbc970e
2016-09-29fix test failureMarkus Mohrhard
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-07-17uitest: add some work to load several documentsMarkus Mohrhard
Change-Id: If9bf0e88fd7b223f10c31e3b0ed357da2bc4f9b0
2016-07-16uitest: provide a way to open a dialog through an action on an objectMarkus Mohrhard
This allows for example to open a dialog through clicking on a button or through a chart command. Change-Id: Iaca6faa3a1b26f4f677a3a670e2c9891373524d3
2016-07-13uitest: all files moved to the new directory layoutMarkus Mohrhard
Change-Id: Ib5a6fc98fafb774ca5c7cc1323dbe4eb8a1c4aff
2016-07-13uitest: move more parts to the new directory structureMarkus Mohrhard
Change-Id: I9dab4c0beef08b04e65dc0dae337a822041cf218
2016-07-13uitest: move more code into the new directory layoutMarkus Mohrhard
Change-Id: Ic5d08f08c1fccc74be09cea7887d3acb910e7636
2016-06-26uitest: add a way to have sleeps in some test runsMarkus Mohrhard
Now adding a -d or --debug to the command line options will enable the sleeps in the uitest.debug part. This makes it much easier to debug a test in the visual mode. Only remaining part is now to add a test runner into the build system that makes use of that mode. Change-Id: I03d55b10f06dd12a63a8d87c135967901bef0fba
2016-06-26uitest: move for files into the new directory layoutMarkus Mohrhard
Change-Id: Ic8289da6bd32ed9645253b996269be6e82bd1d7c
2016-06-26uitest: bring some order into the file messMarkus Mohrhard
The uitest/uitest directory will be used for the actual uitest framework. The libreoffice directory should contain any common LibreOffice related code. Change-Id: I3f6394ff4be83b89a8764eab10a154e755237d35