diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/uitest/writer_tests3/autoredactDialog.py | 4 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests6/tdf128431.py | 2 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests6/tdf131041.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/uitest/writer_tests3/autoredactDialog.py b/sw/qa/uitest/writer_tests3/autoredactDialog.py index 328b228b60bc..9f298bd31937 100644 --- a/sw/qa/uitest/writer_tests3/autoredactDialog.py +++ b/sw/qa/uitest/writer_tests3/autoredactDialog.py @@ -60,7 +60,7 @@ class AutoRedactDialog(UITestCase): xNewContentTxt=dialog.getChild("content") xTypeList = dialog.getChild("type") #0: Text, 1: Regex, 2: Predefined - select_pos(xTypeList, 0) #Text + select_pos(xTypeList, "0") #Text self.assertEqual(int(get_state_as_dict(xTypeList)["SelectEntryPos"]), 0) type_text(xNewNameTxt, targets_list[self.add_target_counter][0]) @@ -108,7 +108,7 @@ class AutoRedactDialog(UITestCase): xNewContentTxt=dialog.getChild("content") xTypeList = dialog.getChild("type") #0: Text, 1: Regex, 2: Predefined - select_pos(xTypeList, 0) #Text + select_pos(xTypeList, "0") #Text self.assertEqual(int(get_state_as_dict(xTypeList)["SelectEntryPos"]), 0) type_text(xNewNameTxt, "TestTarget") diff --git a/sw/qa/uitest/writer_tests6/tdf128431.py b/sw/qa/uitest/writer_tests6/tdf128431.py index af8003ea0e5d..60a4e4dfb381 100644 --- a/sw/qa/uitest/writer_tests6/tdf128431.py +++ b/sw/qa/uitest/writer_tests6/tdf128431.py @@ -18,7 +18,7 @@ class tdf128431(UITestCase): with self.ui_test.execute_dialog_through_command(".uno:PageDialog") as xDialog: tabcontrol = xDialog.getChild("tabcontrol") - select_pos(tabcontrol, 6) #borders + select_pos(tabcontrol, "6") #borders sync = xDialog.getChild("sync") bottomft = xDialog.getChild("bottommf") diff --git a/sw/qa/uitest/writer_tests6/tdf131041.py b/sw/qa/uitest/writer_tests6/tdf131041.py index 56a13b81efad..474e525ede42 100644 --- a/sw/qa/uitest/writer_tests6/tdf131041.py +++ b/sw/qa/uitest/writer_tests6/tdf131041.py @@ -14,7 +14,7 @@ class tdf131041(UITestCase): with self.ui_test.execute_dialog_through_command(".uno:PageDialog") as xDialog: tabcontrol = xDialog.getChild("tabcontrol") - select_pos(tabcontrol, 4) #header + select_pos(tabcontrol, "4") #header xHeaderOn = xDialog.getChild("checkHeaderOn") xMoreBtn = xDialog.getChild("buttonMore") |