-
-
+ :style="{'margin-left': !asideHidden ? 0 : '-' + width}">
+
+
+
@@ -24,7 +24,7 @@
},
data() {
return {
- asideHidden: true
+ asideHidden: false
}
}
}
@@ -39,12 +39,9 @@
box-sizing: border-box;
background-color: #FFF;
height: calc(100vh - 80px);
- position: relative;
- overflow: inherit;
}
.hiddenBottom {
- z-index: 199;
width: 8px;
height: 50px;
top: calc((100vh - 80px)/3);
@@ -56,6 +53,7 @@
cursor: pointer;
opacity: 0.2;
font-size: 2px;
+ margin-left: 1px;
}
.hiddenBottom i {
diff --git a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue
index 42d5014407..99d00f7e6a 100644
--- a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue
+++ b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue
@@ -356,6 +356,7 @@
this.$nextTick(() => {
if (this.testCase.method == 'auto') {
if (this.$refs.apiTestDetail && this.testCase.type == 'api') {
+
this.$refs.apiTestDetail.init();
} else if (this.testCase.type == 'performance') {
this.$refs.performanceTestDetail.init();
@@ -422,9 +423,12 @@
this.$post('/test/plan/edit/status/' + planId);
},
stepResultChange() {
- this.isFailure = this.testCase.steptResults.filter(s => {
- return !s.executeResult || s.executeResult === 'Failure' || s.executeResult === 'Blocking';
- }).length > 0;
+ if (this.testCase.method == 'manual') {
+ this.isFailure = this.testCase.steptResults.filter(s => {
+ return !s.executeResult || s.executeResult === 'Failure' || s.executeResult === 'Blocking';
+ }).length > 0;
+ }
+
}
}
}
diff --git a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue
index a1f299a012..a89f2015bf 100644
--- a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue
+++ b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestDetail.vue
@@ -16,7 +16,7 @@
-
+
diff --git a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue
index 92cbe2c113..c869bbf680 100644
--- a/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue
+++ b/frontend/src/business/components/track/plan/view/comonents/test/ApiTestResult.vue
@@ -71,7 +71,7 @@
let url = "/api/report/get/" + this.reportId;
this.$get(url, response => {
this.report = response.data || {};
- if (this.report.status == 'Completed') {
+ if (this.report.status == 'Completed' || this.report.status == 'Success' || this.report.status == 'Error') {
this.content = JSON.parse(this.report.content);
this.getFails();
this.loading = false;