summaryrefslogtreecommitdiff
path: root/uitest
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-01-31 12:22:14 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2023-01-31 15:03:30 +0000
commit4f841e9a28a6f5d7ae9d5226cbc98db3cb992eb1 (patch)
tree19b57ef2f97dec893aff8e47c6c70efe536ba8f0 /uitest
parent3ac5bfec2f73c55e99c4410f7559db86b875a269 (diff)
uitest: remove wait_until_file_is_available
Introduced in 33a49a99c76ca1879dbb0202384aa939a6d44a75 "uitest: introduce wait_until_file_is_available" as a blind fix for https://gerrit.libreoffice.org/c/core/+/124654/5/sw/qa/uitest/writer_tests6/edit_file_properties_before_saving.py#91 It turned out the root problem was caused by another test and the fix is addressed in https://gerrit.libreoffice.org/c/core/+/146385 "uitest: Always change doc info setting back to false" Change-Id: I4b3d5e24e35a33de6c128dcbf2f144b4cf48a48c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146389 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r--uitest/uitest/test.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py
index 5ed20add799c..b718c84bee5e 100644
--- a/uitest/uitest/test.py
+++ b/uitest/uitest/test.py
@@ -7,7 +7,6 @@
import time
import threading
-import os.path
from contextlib import contextmanager
from uitest.uihelper.common import get_state_as_dict
@@ -65,13 +64,6 @@ class UITest(object):
else:
time.sleep(DEFAULT_SLEEP)
- def wait_until_file_is_available(self, fileName):
- while True:
- if os.path.isfile(fileName):
- return
- else:
- time.sleep(DEFAULT_SLEEP)
-
@contextmanager
def wait_until_component_loaded(self):
with EventListener(self._xContext, "OnLoad") as event: