summaryrefslogtreecommitdiff
path: root/sw/qa/uitest
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-13 11:19:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-15 16:24:49 +0200
commitbcaeebd98a697d6bcf891990c3b13de5da1790e7 (patch)
treebec2ffd6f4d4cb17dd427966f8bdd8564d9a33c0 /sw/qa/uitest
parent183206ee091c589a93b90a6a24cc4bdbe2d01062 (diff)
Related: tdf#125531 use RemoveTabPage for removing a tab page
which removes the tab cross-platform Change-Id: If2584cc75350fb0106f1a1f5190abb74b0ee0ccf Reviewed-on: https://gerrit.libreoffice.org/78871 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r--sw/qa/uitest/writer_tests2/documentProperties.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/uitest/writer_tests2/documentProperties.py b/sw/qa/uitest/writer_tests2/documentProperties.py
index 0230decef350..40366d2303b5 100644
--- a/sw/qa/uitest/writer_tests2/documentProperties.py
+++ b/sw/qa/uitest/writer_tests2/documentProperties.py
@@ -53,12 +53,12 @@ class documentProperties(UITestCase):
#Font tab
- select_pos(xTabs, "5") #tab Fonts
+ select_pos(xTabs, "4") #tab Fonts
xFontEmbedCheckbox = xDialog.getChild("embedFonts")
xFontEmbedCheckbox.executeAction("CLICK", tuple())
#Security tab
- select_pos(xTabs, "4") #tab Security
+ select_pos(xTabs, "3") #tab Security
xReadOnlyCheckbox = xDialog.getChild("readonly")
xReadOnlyCheckbox.executeAction("CLICK", tuple())
xRecordChangesCheckbox = xDialog.getChild("recordchanges")
@@ -80,7 +80,7 @@ class documentProperties(UITestCase):
xAddBtn = xDialog.getChild("add")
xAddBtn.executeAction("CLICK", tuple())
- select_pos(xTabs, "6") #tab Statistics
+ select_pos(xTabs, "5") #tab Statistics
xUpdateBtn = xDialog.getChild("update")
xUpdateBtn.executeAction("CLICK", tuple())
@@ -115,4 +115,4 @@ class documentProperties(UITestCase):
self.ui_test.close_doc()
-# vim: set shiftwidth=4 softtabstop=4 expandtab: \ No newline at end of file
+# vim: set shiftwidth=4 softtabstop=4 expandtab: