[Libreoffice-commits] core.git: sw/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 29 08:05:34 UTC 2018
sw/qa/uitest/findReplace/findReplace.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
New commits:
commit 982663f2137195cffabbcb623e3199cbba658ab7
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Oct 29 08:01:13 2018 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Oct 29 09:05:13 2018 +0100
Use copied test docs in sw/qa/uitest/findReplace/findReplace.py, too
No idea why this was initially commented out in
80d1ac7d55c22de20edeec30f8f56e09f8455f8d "uitest findReplace; tdf#116242;
tdf#98417; tdf#39022".
Change-Id: Ic1357118080bc117158bf23cd7bb14038a19169e
Reviewed-on: https://gerrit.libreoffice.org/62493
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sw/qa/uitest/findReplace/findReplace.py b/sw/qa/uitest/findReplace/findReplace.py
index 213e47d6c372..a20950ad51c6 100644
--- a/sw/qa/uitest/findReplace/findReplace.py
+++ b/sw/qa/uitest/findReplace/findReplace.py
@@ -12,12 +12,11 @@ from libreoffice.calc.document import get_cell_by_position
from libreoffice.uno.propertyvalue import mkPropertyValues
from uitest.uihelper.common import get_state_as_dict, type_text
from uitest.debug import sleep
-#import org.libreoffice.unotest
-#import pathlib
+import org.libreoffice.unotest
+import pathlib
from uitest.path import get_srcdir_url
def get_url_for_data_file(file_name):
-# return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
- return get_srcdir_url() + "/sw/qa/uitest/writer_tests/data/" + file_name
+ return pathlib.Path(org.libreoffice.unotest.makeCopyFromTDOC(file_name)).as_uri()
#tdf116242 ţ ț - DONE
#Bug 98417 - FIND & REPLACE: Add 'Find Previous' button - DONE
More information about the Libreoffice-commits
mailing list