From 3eeaf965e8f7fb00044a623c2236cab803abb2b4 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 16 Apr 2018 14:40:59 +0200 Subject: [PATCH] Squish: Fix property name in tst_WELP03 Squish 6.2 still accepts both property names but Squish 6.3 is more strict. Change-Id: I390af974425242d1f766853b80870dcb1948ef92 Reviewed-by: Christian Stenger --- tests/system/suite_WELP/tst_WELP03/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/suite_WELP/tst_WELP03/test.py b/tests/system/suite_WELP/tst_WELP03/test.py index 34d0de76aa0..b6d4e1c9400 100644 --- a/tests/system/suite_WELP/tst_WELP03/test.py +++ b/tests/system/suite_WELP/tst_WELP03/test.py @@ -80,7 +80,7 @@ def main(): expect = (("QTableView", "unnamed='1' visible='1' window=':Qt Creator_Core::Internal::MainWindow'", "examples list"), ("QLineEdit", "placeholderText='Search in Examples...'", "examples search line edit"), - ("QComboBox", "text~='.*Qt.*' visible='1'", "Qt version combo box")) + ("QComboBox", "currentText~='.*Qt.*' visible='1'", "Qt version combo box")) search = "{type='%s' %s}" test.verify(all(map(checkIfObjectExists, (search % (exp[0], exp[1]) for exp in expect))), "Verifying: 'Examples' topic is opened and the examples are shown.")