diff --git a/tools/auto-tester/src/TestRailInterface.cpp b/tools/auto-tester/src/TestRailInterface.cpp index 948da59947..d81077c0dc 100644 --- a/tools/auto-tester/src/TestRailInterface.cpp +++ b/tools/auto-tester/src/TestRailInterface.cpp @@ -23,6 +23,9 @@ TestRailInterface::TestRailInterface() { _testRailSelectorWindow.setURL("https://highfidelity.testrail.net/"); _testRailSelectorWindow.setUser("@highfidelity.io"); + + // 24 is the HighFidelity Interface project id in TestRail + _testRailSelectorWindow.setProject(24); } void TestRailInterface::createTestRailDotPyScript(const QString& outputDirectory) { diff --git a/tools/auto-tester/src/ui/TestRailSelectorWindow.cpp b/tools/auto-tester/src/ui/TestRailSelectorWindow.cpp index b7232837c8..b2555ae4ad 100644 --- a/tools/auto-tester/src/ui/TestRailSelectorWindow.cpp +++ b/tools/auto-tester/src/ui/TestRailSelectorWindow.cpp @@ -58,5 +58,5 @@ void TestRailSelectorWindow::setProject(const int project) { } int TestRailSelectorWindow::getProject() { - return projectLineEdit->getText().toInt(); + return projectLineEdit->text().toInt(); }