diff --git a/tools/auto-tester/src/Test.cpp b/tools/auto-tester/src/Test.cpp index 0f38a9c619..1cfc32e481 100644 --- a/tools/auto-tester/src/Test.cpp +++ b/tools/auto-tester/src/Test.cpp @@ -411,13 +411,15 @@ void Test::createRecursiveScript(const QString& topLevelDirectory, bool interact textStream << "// This is an automatically generated file, created by auto-tester on " << QDateTime::currentDateTime().toString(DATE_TIME_FORMAT) << endl << endl; textStream << "user = \"" + GIT_HUB_USER + "/\";" << endl; - textStream << "repository = \"" + GIT_HUB_REPOSITORY + "/\";" << endl; + textStream << "repository = \"" + GIT_HUB_REPOSITORY + "/\";" << endl << endl; - QString branch = autoTester->getSelectedBranch(); - textStream << "branch = \"" + branch + "/\";" << endl << endl; + textStream << "Script.include(\"https://github.com/highfidelity/hifi_tests/blob/RC69/tests/utils/branchUtils.js?raw=true\");" << endl; + textStream << "branch = getBranch(Script.resolvePath(\".\"), repository) +\"/\";" << endl << endl; // Wait 10 seconds before starting - textStream << "Test.wait(10000);" << endl << endl; + textStream << "if (typeof Test !== 'undefined') {" << endl; + textStream << " Test.wait(10000);" << endl; + textStream << "};" << endl << endl; textStream << "var repositoryPath = \"https://github.com/\" + user + repository + \"blob/\" + branch;" << endl; textStream << "var autoTester = Script.require(repositoryPath + \"tests/utils/autoTester.js?raw=true\");" << endl << endl; diff --git a/tools/auto-tester/src/ui/AutoTester.ui b/tools/auto-tester/src/ui/AutoTester.ui index 44c00509e6..df21dad1eb 100644 --- a/tools/auto-tester/src/ui/AutoTester.ui +++ b/tools/auto-tester/src/ui/AutoTester.ui @@ -6,7 +6,7 @@ 0 0 - 607 + 583 514 @@ -17,9 +17,9 @@ - 360 - 400 - 220 + 460 + 410 + 101 40 @@ -43,7 +43,7 @@ - 340 + 330 275 220 40 @@ -56,8 +56,8 @@ - 340 - 95 + 330 + 30 220 40 @@ -69,8 +69,8 @@ - 343 - 240 + 330 + 250 131 20 @@ -85,7 +85,7 @@ - 340 + 330 330 255 23 @@ -98,8 +98,8 @@ - 340 - 160 + 330 + 80 220 40 @@ -112,7 +112,7 @@ 20 - 80 + 100 220 40 @@ -125,7 +125,7 @@ 20 - 130 + 150 220 40 @@ -138,7 +138,7 @@ 20 - 180 + 220 220 40 @@ -176,8 +176,8 @@ - 428 - 41 + 418 + 211 131 31 @@ -186,10 +186,10 @@ - 340 - 30 + 330 + 220 81 - 51 + 16 @@ -207,7 +207,7 @@ 0 0 - 607 + 583 21