public void LogBug(BugReportingContext testCasesContext, string exceptionMessage, List <string> filePathsToBeAttached = null) { List <string> summaryLines = GenerateSummary(exceptionMessage, testCasesContext.TestSteps); JiraApiClient.CreateBug($"TEST FAILED: {testCasesContext.TestFullName}", summaryLines, filePathsToBeAttached); }
public void LogBug(BugReportingContext testCasesContext, string exceptionMessage, List <string> filePathsToBeAttached = null) { string stepsToReproduce = GenerateStepsToReproduce(testCasesContext.TestSteps); AzureQueryExecutor.CreateBug($"TEST FAILED: {testCasesContext.TestFullName}", stepsToReproduce, exceptionMessage, filePathsToBeAttached); }