summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/qa/uitest/impress_tests/exportToPDF.py2
-rw-r--r--sd/qa/uitest/impress_tests/save_readonly_with_password.py4
-rw-r--r--sd/qa/uitest/impress_tests2/tdf141297.py2
3 files changed, 0 insertions, 8 deletions
diff --git a/sd/qa/uitest/impress_tests/exportToPDF.py b/sd/qa/uitest/impress_tests/exportToPDF.py
index 72a8ac916a46..3621ad0fb8f5 100644
--- a/sd/qa/uitest/impress_tests/exportToPDF.py
+++ b/sd/qa/uitest/impress_tests/exportToPDF.py
@@ -71,8 +71,6 @@ class exportToPDF(UITestCase):
xFileName.executeAction('TYPE', mkPropertyValues({'KEYCODE':'BACKSPACE'}))
xFileName.executeAction('TYPE', mkPropertyValues({'TEXT': xFilePath}))
- self.ui_test.wait_until_file_is_available(xFilePath)
-
with self.ui_test.load_file(systemPathToFileUrl(xFilePath)) as document:
self.assertEqual("", document.DrawPages[0].getByIndex(0).String)
diff --git a/sd/qa/uitest/impress_tests/save_readonly_with_password.py b/sd/qa/uitest/impress_tests/save_readonly_with_password.py
index caca0126a8b8..485dedde10f4 100644
--- a/sd/qa/uitest/impress_tests/save_readonly_with_password.py
+++ b/sd/qa/uitest/impress_tests/save_readonly_with_password.py
@@ -51,8 +51,6 @@ class save_readonly_with_password(UITestCase):
with self.ui_test.execute_dialog_through_action(xOk, "CLICK", close_button="save"):
pass
- self.ui_test.wait_until_file_is_available(xFilePath)
-
with self.ui_test.load_file(systemPathToFileUrl(xFilePath)) as document:
self.assertTrue(document.isReadonly())
@@ -92,8 +90,6 @@ class save_readonly_with_password(UITestCase):
xConfirmPassword = xPasswordDialog.getChild("confirmropassEntry")
xConfirmPassword.executeAction("TYPE", mkPropertyValues({"TEXT": "password"}))
- self.ui_test.wait_until_file_is_available(xFilePath)
-
with self.ui_test.load_file(systemPathToFileUrl(xFilePath)) as document:
self.assertTrue(document.isReadonly())
diff --git a/sd/qa/uitest/impress_tests2/tdf141297.py b/sd/qa/uitest/impress_tests2/tdf141297.py
index c7a9e3057e2c..bd776253e7a2 100644
--- a/sd/qa/uitest/impress_tests2/tdf141297.py
+++ b/sd/qa/uitest/impress_tests2/tdf141297.py
@@ -65,8 +65,6 @@ class tdf141297(UITestCase):
xFileName.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
xFileName.executeAction("TYPE", mkPropertyValues({"TEXT": xFilePath}))
- self.ui_test.wait_until_file_is_available(xFilePath)
-
with self.ui_test.load_file(systemPathToFileUrl(xFilePath)):
self.xUITest.executeCommand(".uno:ManageLinks")