fix: 测试用例接口测试执行

This commit is contained in:
chenjianxing 2020-08-05 18:53:08 +08:00
parent a3dc5ce547
commit ec3276edff
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
</el-row> </el-row>
</el-header> </el-header>
<ms-api-scenario-config :is-read-only="true" :scenarios="test.scenarioDefinition" ref="config"/> <ms-api-scenario-config :project-id="test.projectId" :is-read-only="true" :scenarios="test.scenarioDefinition" ref="config"/>
</el-container> </el-container>
</el-card> </el-card>

View File

@ -71,7 +71,7 @@
let url = "/api/report/get/" + this.reportId; let url = "/api/report/get/" + this.reportId;
this.$get(url, response => { this.$get(url, response => {
this.report = response.data || {}; 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.content = JSON.parse(this.report.content);
this.getFails(); this.getFails();
this.loading = false; this.loading = false;