[Libreoffice-commits] core.git: sc/qa
Xisco Fauli (via logerrit)
logerrit at kemper.freedesktop.org
Wed Aug 18 13:38:54 UTC 2021
sc/qa/uitest/csv_dialog/tdf142395.py | 3 +++
sc/qa/uitest/csv_dialog/tdf57841.py | 3 +++
sc/qa/uitest/csv_dialog/tdf60468.py | 3 +++
3 files changed, 9 insertions(+)
New commits:
commit e94444f8580f7e93604be816d49577a3bdf596ce
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Wed Aug 18 10:00:23 2021 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Aug 18 15:38:18 2021 +0200
uitest: make use option 'Separated by' is checked
Change-Id: I504e17ab015803662b051427a7e80aea2789ecf0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120625
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/sc/qa/uitest/csv_dialog/tdf142395.py b/sc/qa/uitest/csv_dialog/tdf142395.py
index ced11850fa05..77cabb688970 100644
--- a/sc/qa/uitest/csv_dialog/tdf142395.py
+++ b/sc/qa/uitest/csv_dialog/tdf142395.py
@@ -21,6 +21,9 @@ class Tdf142395(UITestCase):
xDialog = self.ui_test.wait_for_top_focus_window('TextImportCsvDialog')
+ xSeparatedBy = xDialog.getChild("toseparatedby")
+ xSeparatedBy.executeAction("CLICK", tuple())
+
# Remove the text delimiter
xTextDelimiter = xDialog.getChild("textdelimiter")
xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))
diff --git a/sc/qa/uitest/csv_dialog/tdf57841.py b/sc/qa/uitest/csv_dialog/tdf57841.py
index e098d72873a8..c384a4f9867b 100644
--- a/sc/qa/uitest/csv_dialog/tdf57841.py
+++ b/sc/qa/uitest/csv_dialog/tdf57841.py
@@ -27,6 +27,9 @@ class Tdf57841(UITestCase):
self.assertEqual('1', get_state_as_dict(xDialog.getChild("fromrow"))['Text'])
# Set text delimiter in case it's changed by another test
+ xSeparatedBy = xDialog.getChild("toseparatedby")
+ xSeparatedBy.executeAction("CLICK", tuple())
+
xTextDelimiter = xDialog.getChild("textdelimiter")
xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))
xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
diff --git a/sc/qa/uitest/csv_dialog/tdf60468.py b/sc/qa/uitest/csv_dialog/tdf60468.py
index 25d8b0a14e58..b9df3b369aba 100644
--- a/sc/qa/uitest/csv_dialog/tdf60468.py
+++ b/sc/qa/uitest/csv_dialog/tdf60468.py
@@ -27,6 +27,9 @@ class Tdf60468(UITestCase):
self.assertEqual('1', get_state_as_dict(xDialog.getChild("fromrow"))['Text'])
# Set text delimiter in case it's changed by another test
+ xSeparatedBy = xDialog.getChild("toseparatedby")
+ xSeparatedBy.executeAction("CLICK", tuple())
+
xTextDelimiter = xDialog.getChild("textdelimiter")
xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"}))
xTextDelimiter.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
More information about the Libreoffice-commits
mailing list