forked from qt-creator/qt-creator
SquishTests: Fix accessing build dir line edit on Win
The respective line edit is hidden inside the collapsed details, so ensure we have expanded details instead. Change-Id: Ib6f6fab9f06c3250a71baf95a853d770bfa9b221 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
@@ -45,6 +45,10 @@ def main():
|
||||
if platform.system() in ('Microsoft' 'Windows'):
|
||||
switchViewTo(ViewConstants.PROJECTS)
|
||||
switchToBuildOrRunSettingsFor(kit, ProjectSettings.BUILD)
|
||||
detailsWidget = waitForObject("{type='Utils::DetailsWidget' unnamed='1' visible='1' "
|
||||
"summaryText~='^<b>Configure:</b>.+'}")
|
||||
detailsButton = getChildByClass(detailsWidget, "QToolButton")
|
||||
ensureChecked(detailsButton)
|
||||
buildDir = os.path.join(str(waitForObject(":Qt Creator_Utils::BuildDirectoryLineEdit").text),
|
||||
"debug")
|
||||
switchViewTo(ViewConstants.EDIT)
|
||||
|
Reference in New Issue
Block a user