Skip to content
Snippets Groups Projects
Commit aa87f453 authored by Henning Josef Moritz Werner Schmeink's avatar Henning Josef Moritz Werner Schmeink
Browse files

added priority to model and component

parent ea826b92
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,7 @@ export class TestComponent implements OnInit {
let formObj = {};
formObj['name'] = this.testcase.name;
formObj['priority'] = this.testcase.priority;
formObj['taskVariableList'] = taskVariableValueList;
formObj['endChecks'] = endCheckValueObj;
formObj['mocks'] = mockObj;
......@@ -257,7 +258,8 @@ export class TestComponent implements OnInit {
flow: flow,
taskVariableList: [],
endChecks: [],
mocks: []
mocks: [],
priority: 0
}
}
......@@ -388,6 +390,9 @@ export class TestComponent implements OnInit {
//Extract name
this.testcase.name = formValue.name;
//Extract priority
this.testcase.priority = formValue.priority;
//Extract task-variables
for (var _i = 0; _i < formValue.taskVariableList.length; _i++) {
......
import { TaskVariables } from "./task-variables";
import { EndCheck } from "./endCheck";
import * as internal from "stream";
export interface BPMNTestcase {
name: String;
......@@ -7,4 +8,5 @@ export interface BPMNTestcase {
taskVariableList: Array<TaskVariables>;
endChecks: Array<EndCheck>;
mocks: Array<string>;
priority: number;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment