diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py index bdd64fcdcd8..7f9a9cbc598 100644 --- a/tests/system/shared/utils.py +++ b/tests/system/shared/utils.py @@ -650,6 +650,11 @@ def getChildByClass(parent, classToSearchFor, occurrence=1): def getHelpViewer(): try: return waitForObject(":Qt Creator_Help::Internal::HelpViewer", 3000) + except: + pass + try: + return waitForObject("{type='QWebEngineView' unnamed='1' " + "visible='1' window=':Qt Creator_Core::Internal::MainWindow'}", 1000) except: return waitForObject("{type='Help::Internal::TextBrowserHelpWidget' unnamed='1' " "visible='1' window=':Qt Creator_Core::Internal::MainWindow'}", 1000)