forked from qt-creator/qt-creator
Squish: Exclude HTML when reading version from dialog
Change-Id: I2e73a27aaa3b8c28cdce93576a8cdfc861e37b8d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -27,7 +27,7 @@ source("../../shared/qtcreator.py")
|
|||||||
|
|
||||||
# test Qt Creator version information from file and dialog
|
# test Qt Creator version information from file and dialog
|
||||||
def getQtCreatorVersionFromDialog():
|
def getQtCreatorVersionFromDialog():
|
||||||
chk = re.search("(?<=Qt Creator)\s\d+.\d+.\d+\S*",
|
chk = re.search("(?<=Qt Creator)\s\d+.\d+.\d+[-\w]*",
|
||||||
str(waitForObject("{text?='*Qt Creator*' type='QLabel' unnamed='1' visible='1' "
|
str(waitForObject("{text?='*Qt Creator*' type='QLabel' unnamed='1' visible='1' "
|
||||||
"window=':About Qt Creator_Core::Internal::VersionDialog'}").text))
|
"window=':About Qt Creator_Core::Internal::VersionDialog'}").text))
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user