fix(测试跟踪): 测试计划接口Case请求响应体内容展示问题
--bug=1028193 --user=宋昌昌 【测试跟踪】github#25930,测试计划报告详情,打开某一个接口用例,查看接口请求内容,请求内容很长的时候,展示不全。 https://www.tapd.cn/55049933/s/1404778
This commit is contained in:
parent
d9530350f6
commit
d0e50060d1
|
@ -100,7 +100,7 @@
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|
||||||
<el-tab-pane
|
<el-tab-pane
|
||||||
v-if="activeName == 'body'"
|
v-if="activeName === 'body'"
|
||||||
:disabled="true"
|
:disabled="true"
|
||||||
name="mode"
|
name="mode"
|
||||||
class="pane cookie"
|
class="pane cookie"
|
||||||
|
@ -247,7 +247,7 @@ export default {
|
||||||
isSqlType() {
|
isSqlType() {
|
||||||
return (
|
return (
|
||||||
this.currentProtocol === "SQL" &&
|
this.currentProtocol === "SQL" &&
|
||||||
this.response.responseResult.responseCode === "200" &&
|
this.response.responseResult['responseCode'] === "200" &&
|
||||||
this.mode === "table"
|
this.mode === "table"
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@ -280,7 +280,7 @@ export default {
|
||||||
.text-container .pane {
|
.text-container .pane {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
padding: 1px 0;
|
padding: 1px 0;
|
||||||
height: 250px;
|
height: 400px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -289,7 +289,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.el-tabs__nav-wrap::after) {
|
:deep(.el-tabs__nav-wrap::after) {
|
||||||
height: 0px;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-div {
|
.ms-div {
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
prop="lastResult"
|
prop="lastResult"
|
||||||
>
|
>
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<ms-test-plan-api-status :status="scope.row.execResult" />
|
<ms-test-plan-api-status :status="scope.row['execResult']"/>
|
||||||
</template>
|
</template>
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
</ms-table>
|
</ms-table>
|
||||||
|
@ -150,20 +150,20 @@ export default {
|
||||||
getScenarioApiCase() {
|
getScenarioApiCase() {
|
||||||
if (this.isTemplate || this.isDb) {
|
if (this.isTemplate || this.isDb) {
|
||||||
if (this.isErrorReport) {
|
if (this.isErrorReport) {
|
||||||
this.apiCases = this.report.errorReportCases
|
this.apiCases = this.report['errorReportCases']
|
||||||
? this.report.errorReportCases
|
? this.report['errorReportCases']
|
||||||
: [];
|
: [];
|
||||||
} else if (this.isUnExecute) {
|
} else if (this.isUnExecute) {
|
||||||
this.apiCases = this.report.unExecuteCases
|
this.apiCases = this.report['unExecuteCases']
|
||||||
? this.report.unExecuteCases
|
? this.report['unExecuteCases']
|
||||||
: [];
|
: [];
|
||||||
} else if (this.isAll) {
|
} else if (this.isAll) {
|
||||||
this.apiCases = this.report.apiAllCases
|
this.apiCases = this.report['apiAllCases']
|
||||||
? this.report.apiAllCases
|
? this.report['apiAllCases']
|
||||||
: [];
|
: [];
|
||||||
} else {
|
} else {
|
||||||
this.apiCases = this.report.apiFailureCases
|
this.apiCases = this.report['apiFailureCases']
|
||||||
? this.report.apiFailureCases
|
? this.report['apiFailureCases']
|
||||||
: [];
|
: [];
|
||||||
}
|
}
|
||||||
} else if (this.isShare) {
|
} else if (this.isShare) {
|
||||||
|
@ -308,14 +308,10 @@ export default {
|
||||||
height: 550px;
|
height: 550px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.text-container .pane) {
|
|
||||||
height: 550px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ms-aside-container {
|
.ms-aside-container {
|
||||||
border: 0px;
|
border: 0;
|
||||||
height: 550px;
|
height: 550px;
|
||||||
padding: 10px 0px 0px 10px;
|
padding: 10px 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ms-main-container {
|
.ms-main-container {
|
||||||
|
|
Loading…
Reference in New Issue