test: Let compilation finish

This commit is contained in:
Sirius Bakke
2020-05-02 00:22:41 +02:00
parent 6523b936c0
commit 1238a76f90
@@ -262,6 +262,13 @@ void instDialogCompileTest::testCompile()
QVERIFY(waited < 10000);
}
while (!finish->isEnabled()) {
waited = 0;
QTest::qWait(500);
waited += 500;
QVERIFY(waited < 10000);
}
for(int i=0; i<list->topLevelItemCount(); i++)
{
QVERIFY(list->topLevelItem(i)->text(1).contains("Success"));