diff --git a/test-track/frontend/src/business/case/components/TestCaseList.vue b/test-track/frontend/src/business/case/components/TestCaseList.vue index 6b1c1630b5..0e4acebd79 100644 --- a/test-track/frontend/src/business/case/components/TestCaseList.vue +++ b/test-track/frontend/src/business/case/components/TestCaseList.vue @@ -664,6 +664,9 @@ export default { this.condition.selectThisWeedRelevanceData = false; this.condition.caseCoverage = null; this.condition.filters.reviewStatus = ["Prepare", "Pass", "UnPass"]; + if (this.selectDataRange && this.selectDataRange.indexOf("single") > -1) { + this.condition.ids = [this.selectDataRange.substring(7)]; + } switch (this.selectDataRange) { case 'thisWeekCount': this.condition.selectThisWeedData = true; diff --git a/test-track/frontend/src/business/home/components/FailureTestCaseList.vue b/test-track/frontend/src/business/home/components/FailureTestCaseList.vue index 3cd29880d0..35970d2638 100644 --- a/test-track/frontend/src/business/home/components/FailureTestCaseList.vue +++ b/test-track/frontend/src/business/home/components/FailureTestCaseList.vue @@ -115,6 +115,9 @@ export default { case "scenario": this.$emit('redirectPage', 'scenarioWithQuery', 'scenario', 'edit:' + param); break; + case "testCase": + this.$emit('redirectPage', 'testCase', 'case', 'single:' + param); + break; } } },