Add tags as a parameter in assessment_result.js constructor Modify output_matching.js to pass on test tags to assessment_result.js
@@ -77,8 +77,9 @@ export class OutputAssessmentResult {
result,
store,
time,
+ tags,
error_msg = "",
- error_id
+ error_id = ""
) {
this.name = name;
this.status = status;
@@ -87,6 +88,7 @@ export class OutputAssessmentResult {
this.store = store;
this.time = time;
this.error_msg = error_msg;
+ this.tags = tags;
this.error_id = error_id;
}
@@ -63,6 +63,7 @@ export class OutputMatching {
null,
sto,
final_time,
+ this.tag,
error,
error.id
);
@@ -112,7 +113,8 @@ export class OutputMatching {
input.input_list,
- final_time
+ final_time,
+ this.tag
})
.catch((error) => {
@@ -123,6 +125,7 @@ export class OutputMatching {
+ this.tags,
this.getErrorMessage(
"test_case_exception",
this.name + 1,