aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2022-02-28 15:01:06 +0100
committerChristian Stenger <christian.stenger@qt.io>2022-03-01 08:54:43 +0000
commit869ad16d0463ca377ff74751b516038f04f0c197 (patch)
treeabffe7e599cd4ea2b0c33c7d4f0ebd9aec132c8f /tests
parent0803390a8375597a380ab06927b0dbe6d0e00ea8 (diff)
Squish: Remove outdated condition
Change-Id: I89029f50cc0a303111f9960eac3f3c17b4c05fb0 Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/system/suite_HELP/tst_HELP04/test.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/system/suite_HELP/tst_HELP04/test.py b/tests/system/suite_HELP/tst_HELP04/test.py
index 83941679b9..e78afa46b3 100644
--- a/tests/system/suite_HELP/tst_HELP04/test.py
+++ b/tests/system/suite_HELP/tst_HELP04/test.py
@@ -84,10 +84,9 @@ def main():
clickButton(waitForObject("{text='Search' type='QPushButton' unnamed='1' visible='1' "
"window=':Qt Creator_Core::Internal::MainWindow'}"))
resultWidget = waitForObject(':Hits_QResultWidget', 5000)
- if os.getenv("SYSTEST_BUILT_WITH_QT_5_13_1_OR_NEWER", "0") == "1":
- test.verify(waitFor("noMatch in "
- "str(resultWidget.plainText)", 2000),
- "Verifying if search did not match anything.")
+ test.verify(waitFor("noMatch in "
+ "str(resultWidget.plainText)", 2000),
+ "Verifying if search did not match anything.")
# workaround for "endless waiting cursor"
mouseClick(waitForObject("{column='0' container=':Qt Creator_QHelpContentWidget' "
"text='Qt Reference Documentation' type='QModelIndex'}"))
@@ -115,9 +114,8 @@ def main():
if not (searchKeyword == "QODBC" and JIRA.isBugStillOpen(10331)):
verifyUrl(urlDictionary[searchKeyword])
else:
- if os.getenv("SYSTEST_BUILT_WITH_QT_5_13_1_OR_NEWER", "0") == "1":
- test.verify(waitFor("noMatch in "
- "str(resultWidget.plainText)", 1000),
- "Verifying if search did not match anything for: " + searchKeyword)
+ test.verify(waitFor("noMatch in "
+ "str(resultWidget.plainText)", 1000),
+ "Verifying if search did not match anything for: " + searchKeyword)
# exit
invokeMenuItem("File", "Exit")