Age | Commit message (Collapse) | Author |
|
I used solenv/gbuild/Trace.mk to measure where the time is spent at the
end of an incremental 'make check'. The last 141 seconds is spent
executing UITest_writer_demo alone.
If that test is executed in isolation, it takes 289 seconds. I measured
the cost of all the individual .py suites and arranged them into 8
separate UITests, this way the make -j8 cost is 101 seconds (i.e. 35% of
the baseline). IOW this is supposed to speed up 'make check' with 3m13s,
provided you have the code already built.
Change-Id: I1ffee3a06b8fd84d7b9a0295547900df11f11f68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89835
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
Change-Id: I21672c9b78e52c3c9b2687cb2c0ab21dcf67f19a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86538
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
|
|
Two problems were present:
1. If local system default locale is not en_US, then in created document,
text has some other language initially; and instrted text also gets this
language. This may result in no replacement suggestions for the spelling
errors, and "changeall" is not active, so expected sequence of changes
and clicks does not happen. Fixed by setting language at cursor before
paste explicitly.
2. On Windows, the returned text has \r\n paragraph breaks, which didn't
match the regex having \n. Fixed by postprocessing the text before match.
Change-Id: I320fc62c3c27dfe699fb45669c081df30cb66d6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85877
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
The 'is' operator should not be used for comparison on some types of
literals. In CPython this works by accident and CPython 3.8 introduced a
SyntaxWarning (see https://bugs.python.org/issue34850).
Change-Id: Ic4ba481579d13fd1496431ded59dd626a05fc0c6
Reviewed-on: https://gerrit.libreoffice.org/83033
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Change-Id: Id2b95d21799f8fa4b55a304afda739219fee06ff
Reviewed-on: https://gerrit.libreoffice.org/82323
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Open a dialog, close it by the given button e.g. "cancel" or "close".
If the dialog has an enabled "OK" button open the dialog again
and try to close it also using the OK button.
For every dialog a complete new document is opened to ensure test-separation,
otherwise one action could hamper the next action.
For dialogs that already have other tests a "cancel/close" test was added to
the previous test. As far as possible opening new documents was avoided in those
cases. And in some cases a simple check was added to check if the "cancel" button
does not change anything.
Simmilar tests for calc have been renamed and code dublication has been
removed by moving main part of the code to a helper file
Change-Id: I01f197cae8bc6fe0345661fe042b655f16229485
Reviewed-on: https://gerrit.libreoffice.org/75124
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
|
|
Change-Id: I105ce2e5f4d72369b05f776624979c3e82950757
Reviewed-on: https://gerrit.libreoffice.org/75469
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Includes:
* test_open_AutoRedactDialog_writer()
* test_add_target()
Change-Id: Ia70f4cdf01f8a69aa42d0514eecc20d2a2ada530
Reviewed-on: https://gerrit.libreoffice.org/75429
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
|
|
Change-Id: I166ac6c0be8461ea38db711796d1e14fc5b78998
Reviewed-on: https://gerrit.libreoffice.org/68889
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I00109ef54ec7cfc1f4976794daa92ded3cd6ce4b
Reviewed-on: https://gerrit.libreoffice.org/53119
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
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>
|
|
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>
|
|
...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>
|
|
Change-Id: Icc48efc2f6c085ccf0754620dc1cbf5132a7f824
Reviewed-on: https://gerrit.libreoffice.org/49551
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
|
|
Change-Id: I4390c3d33d69ddd93880545f58d0ef81469c960d
Reviewed-on: https://gerrit.libreoffice.org/47865
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
|
|
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
|
|
Change-Id: I3088bb4b802b533db46dc3ab1d9d2fd241aa1fb0
Reviewed-on: https://gerrit.libreoffice.org/45009
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
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
|
|
...which would insert requests to fix duplicate "frog frog" and capitalize
"frog" at the start of a paragraph, confusing test_tdf46852
Change-Id: I76704af9e2e87ffdb3093ae68f0949b67ef9bf9b
|
|
Change-Id: Icc63deeb182f0c380780332793a3af1f7a51577b
|
|
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>
|
|
Change-Id: I66943e432eadedaf4a1bc362861ea8be67b076c3
Reviewed-on: https://gerrit.libreoffice.org/38839
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: I265730664cf7dfb1d4a105023ae1e3b4c1fca4f5
Reviewed-on: https://gerrit.libreoffice.org/38838
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
... 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>
|
|
Change-Id: I8dd7c1a802b021392f25e92d25d9122082f17722
Reviewed-on: https://gerrit.libreoffice.org/38770
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: I3e66a0574f6833fcd45a95a336fc07b523c0011c
|
|
Change-Id: Iaf889339f6a757fa5a3e992fb4438df842ea76eb
Reviewed-on: https://gerrit.libreoffice.org/38738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: I0e54b950412b4130bb4155d93af2ccafb03d2950
Reviewed-on: https://gerrit.libreoffice.org/38744
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
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>
|
|
Change-Id: Iab997ecedd11167cc079b3c5e3c4308383439448
Reviewed-on: https://gerrit.libreoffice.org/38468
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: Ief374a02eabed4587874cb6182742ae86c084d62
Reviewed-on: https://gerrit.libreoffice.org/38474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: I0e1c757e4857ff11481230606a0f982d260c24c0
Reviewed-on: https://gerrit.libreoffice.org/33065
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
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>
|
|
Seems to be related to ff1f83dd08b7b0169301ffe0a53499a27af613b9
Change-Id: I75c750c1fced15c766dd7fce7eae675b57cba25e
|
|
Change-Id: If3bf2848bb9437c7cb7ffec37c315888fef47c88
Reviewed-on: https://gerrit.libreoffice.org/35008
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: Ib57d71777f3e8a1b17dfc8127365dbf2f6ad6102
Reviewed-on: https://gerrit.libreoffice.org/34981
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: Ib62cc9465bb874d48b4e294a6f18d98de04a5518
Reviewed-on: https://gerrit.libreoffice.org/34672
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I916438d688ec24c67b581bf2e025215dda228e97
Reviewed-on: https://gerrit.libreoffice.org/34000
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: Icc9d7d84b44ecbd0531f538ec227b37998b1f5e2
Reviewed-on: https://gerrit.libreoffice.org/33097
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: I9b07b185fd1c3f43c06713d4e5fde8d97b2991ef
Reviewed-on: https://gerrit.libreoffice.org/33099
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: Iac2690789c5a82bfdf140067c1b0dcdaa423a8ab
Reviewed-on: https://gerrit.libreoffice.org/33066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: I6c6c9b38a9eb1a2912373008564b4838bd3fc3f8
Reviewed-on: https://gerrit.libreoffice.org/33067
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: If2391365e71df0e95dc1be177e3595a62e0d6eab
Reviewed-on: https://gerrit.libreoffice.org/33057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
|
|
Change-Id: If450e3f0ff1e2a8f33db05e9512a13e5771115a8
Reviewed-on: https://gerrit.libreoffice.org/32406
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
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
|
|
Change-Id: I9dab4c0beef08b04e65dc0dae337a822041cf218
|
|
Change-Id: I384e9ee1a38aad80bf3a4906a4955c57e4895538
|
|
Change-Id: Ic5d08f08c1fccc74be09cea7887d3acb910e7636
|
|
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
|
|
Change-Id: Ic4c4ba74701303df1ff38c5ed6ed7d521b369053
|