summaryrefslogtreecommitdiff
path: root/uitest
AgeCommit message (Collapse)AuthorFilesLines
2016-11-21uitest: fix path to url conversion on windowsMarkus Mohrhard1-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
2016-10-26normalize existing emacs/vim mode-lines in python filesMichael Stahl37-75/+75
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-11forgot to actually remove the problematic importMarkus Mohrhard1-1/+0
Change-Id: Iac96719a36269dec173af4c9d6d7e88d67b5c24d
2016-10-11make it easier to read the logsMarkus Mohrhard1-1/+1
Not yet perfect but already better. Change-Id: I5309947333aa2cce6526335b603ef316226e490c
2016-10-11avoid infinite loop if the instance stopped alreadyMarkus Mohrhard1-0/+3
Change-Id: I03f78e592f3f182f34ea05829131357cabcc4c7b
2016-10-11pathlib is only in python 3.4+Markus Mohrhard3-13/+36
We still use 3.3 on windows. Change-Id: I32adabe1eb12d8803d61458fcb1a228b3ff045e0
2016-10-01add resizing support to drawinglayer ui test objectsMarkus Mohrhard1-0/+19
Change-Id: Ic17b32c25677855388ff49f2f7daeb1a84557fde Reviewed-on: https://gerrit.libreoffice.org/29419 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-01add initial test for handlign drawinglayer objectsMarkus Mohrhard1-0/+35
Change-Id: Idbf13ef748447120baa1709be0a9c24367d0887e Reviewed-on: https://gerrit.libreoffice.org/29418 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29add complete test for tdf#96453Markus Mohrhard1-1/+57
This is the fourth and final part of the UI test tutorial. The test combines the previous 3 items in the final test. The original test from the first tutorial is used as a template, the SvSimpleTable support is used to assert that the table contains the correct amount of entries, and the UNO helper methods that the document contains the correct amount of conditional formats. Change-Id: Ibe2047e10ff6368c145c88b2bcca9648aa7f8f54
2016-09-29add helper methods to deal with Calc UNOMarkus Mohrhard2-0/+25
This is the third part of the UI Test tutorial. The code in uitest/libreoffice is generally useful UNO code that allows to interact with LibreOffice. This code should be independent of the UI testing framework and provide external developers a helpful starting point to writer python extensions. Change-Id: Ia1429577affd98dcf3f1aee3da3a7256499a1c78
2016-09-29allow to listen to different eventsMarkus Mohrhard1-3/+3
Change-Id: I4121d35e8052cf25bc2e6089e45c62c3bbcc859a
2016-09-29use the new close dialog abstraction in impressMarkus Mohrhard1-6/+4
Change-Id: I6fef4bfa5b964c83b21c73ec406bf7fc10958a41
2016-09-29make use of the new event for closed dialogsMarkus Mohrhard1-0/+17
Change-Id: I59102fda8390d9594999ceaa45105e38ecbc970e
2016-09-29add test for tdf#96453 part 1Markus Mohrhard2-0/+37
This is the first part in the UI testing tutorial. The commit adds the skeleton for a UI test. Currently the test only opens the conditional format manager dialog and closes the dialog again. Change-Id: Iff1d662d0aa675efad6b9682bf86a246c7a5a8d3 Reviewed-on: https://gerrit.libreoffice.org/29373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29fix test failureMarkus Mohrhard1-2/+6
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-09-29add missing test filesMarkus Mohrhard2-0/+0
Change-Id: Idab1e1649b016d99ccd32158d36dc1d3e56a44b9 Reviewed-on: https://gerrit.libreoffice.org/29371 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-17uitest: add a complex math testMarkus Mohrhard1-2/+26
Change-Id: Ib246c3041f066ecedd1ebbe564566a1824d293bc
2016-07-17uitest: add demo for new element selector math wrapperMarkus Mohrhard1-0/+12
Change-Id: I64c98254c5d5ae1cc6c9729654028201f1773c90
2016-07-17uitest: add makefile part for new math testsMarkus Mohrhard2-0/+16
Change-Id: I90adb3bf9eefcf687e4a76d58aefb9a5775e5e88
2016-07-17uitest: add initial demo for math edit windowMarkus Mohrhard1-0/+10
Change-Id: I4fe1dc7fe2f5179dc97fc80a80604d54ae3ad333
2016-07-17uitest: add some initial math ui testsMarkus Mohrhard1-0/+43
Change-Id: Iad02a40b683d7b3bbbad0214c82ad4b5b6878ea9
2016-07-17uitest: add demo showing how to select active frameMarkus Mohrhard1-0/+15
Change-Id: I76bb79047b9d15228dc29379203300ccf50fc4f1
2016-07-17uitest: don't hard code my path in testMarkus Mohrhard1-2/+12
Change-Id: I65959552f74d860ee8773f1f5649bd160686f288
2016-07-17uitest: add demo for handling two filesMarkus Mohrhard1-0/+41
Change-Id: I03cbe67922df521a6cef5f3448c0c9dce10b662d
2016-07-17uitest: add some work to load several documentsMarkus Mohrhard1-0/+21
Change-Id: If9bf0e88fd7b223f10c31e3b0ed357da2bc4f9b0
2016-07-16uitest: remove some debug output from new testMarkus Mohrhard1-5/+0
Change-Id: Ib1342d4ea81885e4ca434f6f5f263af9a8a04e25
2016-07-16uitest: extend chart edit test to change chart through dialogMarkus Mohrhard1-3/+10
Change-Id: I9ffdddff84e290a4df25067be5bf574fac273ce7
2016-07-16uitest: provide a way to open a dialog through an action on an objectMarkus Mohrhard1-0/+15
This allows for example to open a dialog through clicking on a button or through a chart command. Change-Id: Iaca6faa3a1b26f4f677a3a670e2c9891373524d3
2016-07-16uitest: add first demo for editing the chartMarkus Mohrhard1-0/+73
Change-Id: I28e1c4d4726afc97fd1a42fe1d931b195231cb12
2016-07-13uitest: all files moved to the new directory layoutMarkus Mohrhard20-47/+15
Change-Id: Ib5a6fc98fafb774ca5c7cc1323dbe4eb8a1c4aff
2016-07-13uitest: move more parts to the new directory structureMarkus Mohrhard6-9/+17
Change-Id: I9dab4c0beef08b04e65dc0dae337a822041cf218
2016-07-13uitest: remove the imports for pyuno and timeMarkus Mohrhard14-148/+0
Change-Id: I384e9ee1a38aad80bf3a4906a4955c57e4895538
2016-07-13uitest: move more code into the new directory layoutMarkus Mohrhard21-20/+20
Change-Id: Ic5d08f08c1fccc74be09cea7887d3acb910e7636
2016-07-13uitest: remove unused importsMarkus Mohrhard1-3/+0
Change-Id: I620d01f2cfbc5327c2fcaf020d50e9184fc1d1b2
2016-07-13uitest: remove print statementMarkus Mohrhard1-1/+0
Change-Id: I1065acf0f2406881532e75459bfddbdb7967ad8b
2016-07-12remove my sleep statementsMarkus Mohrhard1-8/+0
Change-Id: I0fb35541863c1390c5a95e60539404547398cba3 Reviewed-on: https://gerrit.libreoffice.org/27156 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-07-10uitest: support the gdb param also in the uitest runnerMarkus Mohrhard1-1/+1
Change-Id: I86833d9fdf42199480f1d448c56e63ff22d4923e
2016-07-10uitest: support starting the LibO with gdbMarkus Mohrhard1-0/+9
Change-Id: I23fe7563b3d0fe8084541d702583bc38997413ac
2016-07-10uitest: handle the new template dialog in impressMarkus Mohrhard1-0/+27
Change-Id: I98507b0e810db88ad94ea093db2d7dc7f495e7ab
2016-07-09uitest: kill the LibreOffice instance if it ignores terminate requestMarkus Mohrhard1-1/+16
Change-Id: I47c69878ebaa834eb75208ce8e5c26544e3e62bd
2016-06-26uitest: move the EventListener to an own file in the new dir structureMarkus Mohrhard3-39/+51
Change-Id: I8d6c2d9f2a9386d8eec64780b7d197c9675764aa
2016-06-26uitest: add a way to have sleeps in some test runsMarkus Mohrhard4-5/+36
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 Mohrhard5-3/+3
Change-Id: Ic8289da6bd32ed9645253b996269be6e82bd1d7c
2016-06-26uitest: remove old test runnerMarkus Mohrhard1-75/+0
Change-Id: I5d29fb4c275223d00ca01f57f7fac0aa7b518740
2016-06-26uitest: bring some order into the file messMarkus Mohrhard22-22/+22
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
2016-06-25uitest: add special char widget demoMarkus Mohrhard1-0/+37
Change-Id: I513ae293cfed488723e221a7eec37f103efefa92
2016-06-25uitest: add a mode to just run one fileMarkus Mohrhard1-14/+20
Change-Id: I99906dfc34ebcb7ab0ce76ca446435ae0902443f
2016-06-24uitest: also print number of skipped testsMarkus Mohrhard1-0/+1
Change-Id: I7fbc6513358be252b091154b5ed44d10c8f51c4f
2016-06-24uitest: add execution time for each testMarkus Mohrhard1-0/+4
Change-Id: I056f739b97b03ce514ffa692bfe4bfeb62f76de8
2016-06-23uitest: improve the message of the ui test runnerMarkus Mohrhard1-1/+7
Change-Id: I5026590506b4ddf3db95fb14fe6b0890255a5a25