summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-10-29 08:01:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-10-29 09:05:13 +0100
commit982663f2137195cffabbcb623e3199cbba658ab7 (patch)
treeedf1aa29d2204b0c2b50d17d53d1287a39967eee
parenta113aff7add62da5f2f8ffe0be453af4b1b79866 (diff)
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@redhat.com>
-rw-r--r--sw/qa/uitest/findReplace/findReplace.py7
1 files changed, 3 insertions, 4 deletions
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