diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-09 16:19:57 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-09 19:10:10 +0100 |
commit | 87b74da15d2de7c6a8569ede8f2fc6abec7dbcb4 (patch) | |
tree | 54cdc47d826d027888f01e4ab2a6924226782542 /uitest | |
parent | 32fe60e489a6d5192c17ca534c1e19f84681c7cc (diff) |
uitest: pos must be of type str
Change-Id: Iea469066b11abefd889143d11f86c4cdcb5e03ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124923
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/uitest/uihelper/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uitest/uitest/uihelper/common.py b/uitest/uitest/uihelper/common.py index f6146c5e7729..2c0cd67a2152 100644 --- a/uitest/uitest/uihelper/common.py +++ b/uitest/uitest/uihelper/common.py @@ -16,6 +16,7 @@ def type_text(ui_object, text): ui_object.executeAction("TYPE", mkPropertyValues({"TEXT": text})) def select_pos(ui_object, pos): + assert isinstance(pos, str), "select_pos: POS must be of type str" ui_object.executeAction("SELECT", mkPropertyValues({"POS": pos})) def select_by_text(ui_object, text): |