Skip to content

Commit

Permalink
Fix incorrect tag asisgned while saving script files for test cases
Browse files Browse the repository at this point in the history
While saving data files for test cases, fixtureId is set as tag instead of testcaseId. As a result of this, files are missing while downloading later using tag for test case. This is fixed now.
  • Loading branch information
Nfactor26 committed Dec 30, 2022
1 parent 887ba1c commit a783808
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ public async Task SaveTestDataAsync(TestCase testCase)
await AddDataFileAsync(testCaseFiles.ProcessFile, testCase.TestCaseId);
foreach (var scriptFile in Directory.EnumerateFiles(testCaseFiles.TestDirectory, "*.csx"))
{
await AddDataFileAsync(scriptFile, testCase.FixtureId);
await AddDataFileAsync(scriptFile, testCase.TestCaseId);
}
}
logger.Information("Saved data files for test case : '{0}' for version : '{1}' of automation project : '{2}'.", testCase.DisplayName, projectVersion, automationProject.Name);
Expand Down

0 comments on commit a783808

Please sign in to comment.