Check whether setup detection has not timed out in wizard tests

This commit is contained in:
Martchus 2023-01-11 19:21:58 +01:00
parent 9fe89aa82f
commit c81bb178a7
1 changed files with 4 additions and 0 deletions

View File

@ -191,7 +191,11 @@ void WizardTests::testConfiguringLauncher()
if (!setupDetection.launcherError.has_value() || setupDetection.launcherExitCode.value_or(-1) != 0) {
qDebug() << "launcher output: " << setupDetection.launcherOutput;
}
if (setupDetection.launcherExitCode.has_value()) {
qDebug() << "launcher exit code: " << setupDetection.launcherExitCode.value();
}
// -> verify whether the launcher setup detection is in the expected state before checking UI itself
QVERIFY(!setupDetection.timedOut);
QVERIFY(setupDetection.launcherExitCode.has_value());
QCOMPARE(setupDetection.launcherExitCode.value(), 0);
QVERIFY(!setupDetection.launcherError.has_value());