diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-18 10:53:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-18 17:36:33 +0200 |
commit | 42fa7c8a25d5a2b67c56c91ecbdaeef31f9f7a1d (patch) | |
tree | 217a838b36480cbc8705144851ffade18303d14c | |
parent | f827b5fd7f5add45868b2527006856d902a4e550 (diff) |
executeAction("BACKSPACE") doesn't do anything
tests are working because of the previous ctrl+a
Change-Id: Ib44351da1680484c3d4a9d0a8d6cb6ba6002d63b
Reviewed-on: https://gerrit.libreoffice.org/60673
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/qa/uitest/calc_tests/formatCells.py | 3 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests2/formatBulletsNumbering.py | 1 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests2/formatCharacter.py | 3 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests2/formatParagraph.py | 3 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests3/insertEnvelope.py | 4 |
5 files changed, 0 insertions, 14 deletions
diff --git a/sc/qa/uitest/calc_tests/formatCells.py b/sc/qa/uitest/calc_tests/formatCells.py index a69028614b58..23f19bf6ed49 100644 --- a/sc/qa/uitest/calc_tests/formatCells.py +++ b/sc/qa/uitest/calc_tests/formatCells.py @@ -107,13 +107,10 @@ class formatCell(UITestCase): xLangFontCTL = xDialog.getChild("ctllanglb") xSizeFont.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSizeFont.executeAction("BACKSPACE", tuple()) xSizeFont.executeAction("TYPE", mkPropertyValues({"TEXT":"18"})) #set font size 18 xSizeFontEast.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSizeFontEast.executeAction("BACKSPACE", tuple()) xSizeFontEast.executeAction("TYPE", mkPropertyValues({"TEXT":"18"})) #set font size 18 xSizeFontCTL.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSizeFontCTL.executeAction("BACKSPACE", tuple()) xSizeFontCTL.executeAction("TYPE", mkPropertyValues({"TEXT":"18"})) #set font size 18 select_pos(xLangFont, "0") select_pos(xLangFontEast, "0") diff --git a/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py b/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py index 7e6026b01414..435407b8e9a0 100644 --- a/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py +++ b/sw/qa/uitest/writer_tests2/formatBulletsNumbering.py @@ -129,7 +129,6 @@ class formatBulletsNumbering(UITestCase): xcharstyle.executeAction("SELECT", actionProps2) xprefix.executeAction("TYPE", mkPropertyValues({"TEXT":"o"})) xsuffix.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xsuffix.executeAction("BACKSPACE", tuple()) xsuffix.executeAction("TYPE", mkPropertyValues({"TEXT":"a"})) xallsame.executeAction("CLICK", tuple()) diff --git a/sw/qa/uitest/writer_tests2/formatCharacter.py b/sw/qa/uitest/writer_tests2/formatCharacter.py index 03dc11278024..01d97ed3c548 100644 --- a/sw/qa/uitest/writer_tests2/formatCharacter.py +++ b/sw/qa/uitest/writer_tests2/formatCharacter.py @@ -34,13 +34,10 @@ class formatCharacter(UITestCase): xLangFontCTL = xDialog.getChild("ctllanglb") xSizeFont.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSizeFont.executeAction("BACKSPACE", tuple()) xSizeFont.executeAction("TYPE", mkPropertyValues({"TEXT":"18"})) #set font size 18 xSizeFontEast.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSizeFontEast.executeAction("BACKSPACE", tuple()) xSizeFontEast.executeAction("TYPE", mkPropertyValues({"TEXT":"18"})) #set font size 18 xSizeFontCTL.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSizeFontCTL.executeAction("BACKSPACE", tuple()) xSizeFontCTL.executeAction("TYPE", mkPropertyValues({"TEXT":"18"})) #set font size 18 select_pos(xLangFont, "0") select_pos(xLangFontEast, "0") diff --git a/sw/qa/uitest/writer_tests2/formatParagraph.py b/sw/qa/uitest/writer_tests2/formatParagraph.py index 0cdc32ed2ac8..22f985caed9e 100644 --- a/sw/qa/uitest/writer_tests2/formatParagraph.py +++ b/sw/qa/uitest/writer_tests2/formatParagraph.py @@ -344,14 +344,11 @@ class formatParagraph(UITestCase): xDecimal.executeAction("CLICK", tuple()) xDecimalTxt.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xDecimalTxt.executeAction("BACKSPACE", tuple()) xDecimalTxt.executeAction("TYPE", mkPropertyValues({"TEXT":"i"})) xFill.executeAction("CLICK", tuple()) xFillTxt.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xFillTxt.executeAction("BACKSPACE", tuple()) xFillTxt.executeAction("TYPE", mkPropertyValues({"TEXT":"p"})) xED_TABPOS.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xED_TABPOS.executeAction("BACKSPACE", tuple()) xED_TABPOS.executeAction("TYPE", mkPropertyValues({"TEXT":"1"})) xNewButtn.executeAction("CLICK", tuple()) diff --git a/sw/qa/uitest/writer_tests3/insertEnvelope.py b/sw/qa/uitest/writer_tests3/insertEnvelope.py index 356dbbb5d7b2..a7ccb64e55bf 100644 --- a/sw/qa/uitest/writer_tests3/insertEnvelope.py +++ b/sw/qa/uitest/writer_tests3/insertEnvelope.py @@ -27,15 +27,11 @@ class WriterInsertEnvelope(UITestCase): xSenderCheckBox = xDialog.getChild("sender") xAddrTxt.executeAction("SELECT", mkPropertyValues({"FROM": "1", "TO": "200"})) - xAddrTxt.executeAction("BACKSPACE", tuple()) xAddrTxt.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xAddrTxt.executeAction("BACKSPACE", tuple()) xAddrTxt.executeAction("TYPE", mkPropertyValues({"TEXT":"Address"})) xSenderTxt.executeAction("SELECT", mkPropertyValues({"FROM": "1", "TO": "200"})) - xSenderTxt.executeAction("BACKSPACE", tuple()) xSenderTxt.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) - xSenderTxt.executeAction("BACKSPACE", tuple()) xSenderTxt.executeAction("TYPE", mkPropertyValues({"TEXT":"Sender"})) xInsBtn = xDialog.getChild("user") |