David Tardon
a00520d3cc
don't assume concrete spelling substitutions
...
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-13 10:29:11 +02:00
Miklos Vajna
0fd2e78797
solenv: support gb_UITest_DEBUGRUN for ui tests
...
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-10-02 20:05:23 +02:00
Stephan Bergmann
a9e1262047
Fix UITest_writer_demo with --enable-ext-languagetool
...
...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-08 15:59:55 +02:00
Andrea Gelmini
35a2d88288
Fix typos
...
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-08-05 00:32:50 +02:00
Markus Mohrhard
0163984ce7
uitest: wait longer for the blocking action event
...
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-31 01:18:34 +02:00
Markus Mohrhard
fadf31b325
uitest: wait twice as long for blocking actions
...
Change-Id: Ib54a12e9bce3f0be9b31c57550d01754323832c6
2017-07-23 21:37:25 +02:00
Markus Mohrhard
3c077e587d
uitest: handle the case without dictionaries in the UI tests
...
Change-Id: Icc63deeb182f0c380780332793a3af1f7a51577b
2017-07-23 21:09:56 +02:00
Luke Deller
8b321625d5
tdf#46852 fix spellcheck continue at beginning
...
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-07-20 21:27:04 +02:00
Stephan Bergmann
37c157340f
Propagate failure out from css.ui.test.XUITest::executeCommand/Dialog
...
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-20 19:47:45 +02:00
Stephan Bergmann
32dd79ba45
MAX_WAIT turns out to be too small
...
...at least for my ASan+UBSan build, causing spurious 'make check' failures
Change-Id: I6871e6fbc41790de1b38b1b7757b93d349154f47
2017-06-20 14:16:48 +02:00
Xisco Fauli
0254e70f99
uitest: Test text direction
...
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-15 20:01:30 +02:00
Xisco Fauli
134effd249
uitest: test page orientation
...
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-15 20:01:15 +02:00
Xisco Fauli
3459f77801
uitest: Using dimensions in assert isn't a good idea...
...
... 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-15 11:45:17 +02:00
Xisco Fauli
6db84250d1
uitest: Add test for insertPageHeader and tdf#107427
...
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-14 13:51:32 +02:00
Markus Mohrhard
e05f16e6bf
disable UI test that does exact comparison
...
Change-Id: I3e66a0574f6833fcd45a95a336fc07b523c0011c
2017-06-14 07:34:31 +02:00
Xisco Fauli
a7309f17b3
uitest: Check default paper formats
...
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-13 19:19:00 +02:00
Xisco Fauli
3c641c9c1f
uitest: Use subtest here
...
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-13 18:27:39 +02:00
Markus Mohrhard
144edb88d2
uitest: extract the wait time for the dialogs
...
Change-Id: Ieb82b643de58523cef30f88363276874b6169021
2017-06-13 10:04:28 +02:00
Miklos Vajna
6e9f0d3e68
Revert "uitest: disable failing part of manual_tests/calc.py"
...
This reverts commit 8c59cfb6aa
. 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-12 17:06:05 +02:00
Markus Mohrhard
21f5966f12
remove debug print statement
...
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-12 09:50:15 +02:00
Markus Mohrhard
b96180cb9b
uitest: set en_US.UTF8 for the LibreOffice instance
...
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-10 09:33:23 +02:00
Markus Mohrhard
7071589519
improve description
...
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-10 08:33:56 +02:00
Miklos Vajna
8c59cfb6aa
uitest: disable failing part of manual_tests/calc.py
...
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-08 12:31:11 +02:00
Markus Mohrhard
a87b001abd
remove unused imports
...
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-08 02:24:04 +02:00
Markus Mohrhard
8af868e287
prepare publishing the libreoffice-connection python code
...
Change-Id: I730207465e185a0b942b5636cd7ba3bebe7856f5
2017-06-08 00:30:53 +02:00
Xisco Fauli
afb8a2f491
Fix uitest failure
...
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-07 16:40:57 +02:00
Xisco Fauli
ed11b38a7e
uitest: InsertBreak dialog
...
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-07 12:28:44 +02:00
Xisco Fauli
dcd407d522
uitest: Combine all table tests in one file
...
Change-Id: Ief374a02eabed4587874cb6182742ae86c084d62
Reviewed-on: https://gerrit.libreoffice.org/38474
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org >
2017-06-07 10:25:29 +02:00
Xisco Fauli
cdf6330ebc
tdf#104649: Add uitest
...
Change-Id: I0e1c757e4857ff11481230606a0f982d260c24c0
Reviewed-on: https://gerrit.libreoffice.org/33065
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org >
2017-05-17 17:21:13 +02:00
Katarina Behrens
93d58279cd
Related tdf#105922: step increment is a property of the shape
...
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-13 11:58:38 +02:00
Markus Mohrhard
77997d2fb2
uitest: disable failing assert
...
Seems to be related to ff1f83dd08
Change-Id: I75c750c1fced15c766dd7fce7eae675b57cba25e
2017-04-08 22:45:27 +02:00
Markus Mohrhard
d6861b8f38
uitest: add method to get the row object from a calc document
...
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-27 00:51:38 +00:00
Markus Mohrhard
aaea953b6e
uitest: add demo showing how to use auto filter popup
...
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-26 03:01:06 +00:00
Markus Mohrhard
b3ebb89421
uitest: add demo showing how to interact with autofilter popup
...
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-26 02:58:17 +00:00
Markus Mohrhard
8d65a2076e
uitest: add initial autofilter test
...
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-26 02:55:25 +00:00
Markus Mohrhard
646be83e93
uitest: add a decorator to document required revision
...
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-26 04:15:42 +02:00
Markus Mohrhard
a22bec478a
uitest: add method to get the column object from a spreadsheet doc
...
Change-Id: I594779ad7b3fe97a1055ad9c999fe6be126875fb
2017-03-18 04:52:35 +01:00
Markus Mohrhard
58323be71c
uitest: add method to simplify sending CTRL+A
...
Change-Id: I708cc0fdb416d3347e9e5c531d7720c902ec0a86
2017-03-18 02:04:24 +01:00
Xisco Fauli
3a639085a4
uitest: test backgrounds in writer
...
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-09 18:19:01 +00:00
Xisco Fauli
bc327c15cc
tdf#87199: Add uitest
...
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-08 20:58:05 +00:00
Xisco Fauli
ca0d1f127d
tdf#105677: Check the other kind of backgrounds as well
...
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-08 00:18:05 +00:00
Xisco Fauli
c10088a535
tdf#105677: Add uitest
...
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-07 20:06:13 +00:00
Markus Mohrhard
aa5241dfd6
uitest: enable additional chart tests that seem to be stable now
...
Change-Id: I9a41c29807cc47f570a9057435386e519a438289
2017-03-01 02:41:37 +01:00
Markus Mohrhard
fb090555c9
uitest: the new code allows to enable the chart test again
...
Change-Id: I51ff48441d07c12f8019d282ab92f1835cec69cb
2017-03-01 02:41:37 +01:00
Markus Mohrhard
08750abc64
uitest: catch more exceptions during shutdown
...
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-27 23:31:13 +00:00
Markus Mohrhard
42122e1e59
uitest: use correct method to close a dialog
...
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-27 09:45:30 +00:00
Markus Mohrhard
48c8675b03
uitest: handle crash reporter dialog correctly during start-up
...
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-27 09:45:00 +00:00
Markus Mohrhard
c932653787
uitest: use the new dialog method in the python code
...
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-27 09:44:31 +00:00
Markus Mohrhard
2a28579053
uitest: remove old debug sleep statements
...
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-27 09:43:30 +00:00
Markus Mohrhard
c873f8d75a
uitest: move all the conditional format tests into an own test
...
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-27 09:42:46 +00:00