forked from qt-creator/qt-creator
Squish: Stabilize tst_HELP02
Depending on the sizes of the treeview and its contents, the click might hit the scroll bar and result in a script error. Change-Id: Ic3658b1f180d1aa5a792d6664d2d7f56d8d0c353 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -78,6 +78,7 @@ def setKeyboardShortcutForAboutQtC():
|
||||
modelIndex = waitForObject("{column='0' text='AboutQtCreator' type='QModelIndex' "
|
||||
"container={column='0' text='QtCreator' type='QModelIndex' "
|
||||
"container=%s}}" % objectMap.realName(treewidget))
|
||||
treewidget.scrollTo(modelIndex)
|
||||
mouseClick(modelIndex)
|
||||
shortcutGB = "{title='Shortcut' type='QGroupBox' unnamed='1' visible='1'}"
|
||||
record = waitForObject("{container=%s type='Core::Internal::ShortcutButton' unnamed='1' "
|
||||
|
Reference in New Issue
Block a user