forked from qt-creator/qt-creator
Before calling clickOnTab we used explicit waitForObject calls sometimes. Move these waitForObject calls into clickOnTab as the workaround inside clickOnTab lets assume that the call of waitForObject beforehand could fail. Change-Id: Iba3bd952bfeec3738417ab6e2ea735665acb504d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Robert Löhning <robert.loehning@qt.io>