uilogger: make vertical tab handling more robust
commitbcc83732f906bb7e89f8d67e4817fe0f4bf09b0e
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Thu, 17 Feb 2022 16:25:20 +0000 (17 18:25 +0200)
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Sat, 19 Feb 2022 07:03:31 +0000 (19 08:03 +0100)
treec3ee4182509c663cf81049af576ffe299c69c373
parent11a0e582ce4f4065c35fe0a12bc13bf53aaa1dd0
uilogger: make vertical tab handling more robust

For example hyperlink dialog does not have numeric ids for tabs.
Now the rule matches both integers and "common identifiers" as per
https://textx.github.io/textX/stable/grammar/#textx-base-types

Parent argument was removed as it does not seem to be used and
it was empty in the case of the hyperlink dialog, causing the DSL
parser to fail.

More work is needed as self.xUITest.getTopFocusWindow() in a
hyperlink dialog opening test does not contain the child "tabcontrol"
and thus it errors out.

Change-Id: I1637f7300884881ee4d869e8f04700e56935f2d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130111
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
uitest/ui_logger_dsl/UI_Object_commands.tx
vcl/source/control/ivctrl.cxx
vcl/source/uitest/logger.cxx