Automatically update only works in not reportable status
tableLoaded() {
this.autoUpdateTargets = [];
this.tests.forEach((test, index) => {
- if (!this.isFinishedStatusType(test)) {
+ if (!test.status.reportable) {
this.autoUpdateTargets.push({ 'id': test.id, 'index': index });
}
});
return `${this.contextPath}/perftest?page.page=${page}&page.size=${pageSize}&query=${query}&queryFilter=${queryFilter}&sort=${sort}&tag=${tag}`;
}
- isFinishedStatusType(test) {
- return test.status.name === 'FINISHED' || test.status.name === 'STOP_BY_ERROR' ||
- test.status.name === 'STOP_ON_ERROR' || test.status.name === 'CANCELED';
- }
-
getOwnerPopoverContent(test) {
let content = `${this.i18n('perfTest.list.owner')} : ${test.createdUser.userName} (${test.createdUser.userId})`;
if (test.lastModifiedUser) {
