From 702e09b4bcd1f3c6250c5e0e5569622841467d40 Mon Sep 17 00:00:00 2001 From: NissimHadar Date: Thu, 18 Oct 2018 16:43:50 -0700 Subject: [PATCH] Added no login option. --- tools/auto-tester/src/TestRunner.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/auto-tester/src/TestRunner.cpp b/tools/auto-tester/src/TestRunner.cpp index 8802307151..674cf6f8e8 100644 --- a/tools/auto-tester/src/TestRunner.cpp +++ b/tools/auto-tester/src/TestRunner.cpp @@ -322,11 +322,12 @@ void TestRunner::startLocalServerProcesses() { system(commandLine.toStdString().c_str()); #endif // Give server processes time to stabilize - QThread::sleep(12); + QThread::sleep(20); } void TestRunner::runInterfaceWithTestScript() { QString exeFile = QString("\"") + QDir::toNativeSeparators(_installationFolder) + "\\interface.exe\""; + QString snapshotFolder = QString("\"") + QDir::toNativeSeparators(_snapshotFolder) + "\""; QString url = QString("hifi://localhost"); if (_runServerless->isChecked()) { @@ -339,8 +340,8 @@ void TestRunner::runInterfaceWithTestScript() { QString testScript = QString("https://raw.githubusercontent.com/") + _user + "/hifi_tests/" + _branch + "/tests/testRecursive.js"; - QString commandLine = exeFile + " --url " + url + " --no-updater " + " --testScript " + testScript + - " quitWhenFinished --testResultsLocation " + _snapshotFolder; + QString commandLine = exeFile + " --url " + url + " --no-updater --no-login" + " --testScript " + testScript + + " quitWhenFinished --testResultsLocation " + snapshotFolder; interfaceWorker->setCommandLine(commandLine); emit startInterface();