fix(接口定义): 修复场景执行结果显示错误的缺陷

--bug=1026492 --user=王孝刚 【接口测试】场景中,事物控制器、条件控制器、引用场景,执行结果显示错误
https://www.tapd.cn/55049933/s/1375344
This commit is contained in:
wxg0103 2023-05-24 18:10:49 +08:00 committed by fit2-zhao
parent e11fecdc30
commit 78bafb772c
3 changed files with 42 additions and 3 deletions

View File

@ -59,10 +59,19 @@
<i class="el-icon-loading" style="font-size: 16px" />
{{ $t('commons.testing') }}
</span>
<span
class="ms-step-debug-code"
:class="'ms-req-error-report'"
v-if="
!loading && !node.data.testing && node.data.debug &&
node.data.code === 'FAKE_ERROR'
">
FakeError
</span>
<span
class="ms-step-debug-code"
:class="node.data.code === 'ERROR' ? 'ms-req-error' : 'ms-req-success'"
v-if="!loading && node.data.debug && !node.data.testing">
v-if="!loading && node.data.debug && !node.data.testing && node.data.code !== 'FAKE_ERROR'">
{{ getCode() }}
</span>
</template>
@ -447,4 +456,8 @@ export default {
font-size: 15px;
color: #de9d1c;
}
.ms-req-error-report {
color: #f6972a;
}
</style>

View File

@ -51,10 +51,19 @@
<i class="el-icon-loading" style="font-size: 16px" />
{{ $t('commons.testing') }}
</span>
<span
class="ms-step-debug-code"
:class="'ms-req-error-report'"
v-if="
!loading && !node.data.testing && node.data.debug &&
node.data.code === 'FAKE_ERROR'
">
FakeError
</span>
<span
class="ms-step-debug-code"
:class="node.data.code === 'ERROR' ? 'ms-req-error' : 'ms-req-success'"
v-if="!loading && !node.data.testing && node.data.debug && node.data.code">
v-if="!loading && !node.data.testing && node.data.debug && node.data.code && node.data.code !== 'FAKE_ERROR'">
{{ getCode() }}
</span>
</template>
@ -202,4 +211,8 @@ export default {
.ms-test-running {
color: #783887;
}
.ms-req-error-report {
color: #f6972a;
}
</style>

View File

@ -17,10 +17,19 @@
<i class="el-icon-loading" style="font-size: 16px" />
{{ $t('commons.testing') }}
</span>
<span
class="ms-step-debug-code"
:class="'ms-req-error-report'"
v-if="
!loading && !node.data.testing && node.data.debug &&
node.data.code === 'FAKE_ERROR'
">
FakeError
</span>
<span
class="ms-step-debug-code"
:class="node.data.code === 'ERROR' ? 'ms-req-error' : 'ms-req-success'"
v-if="!loading && !node.data.testing && node.data.debug">
v-if="!loading && !node.data.testing && node.data.debug && node.data.code !== 'FAKE_ERROR'">
{{ getCode() }}
</span>
</template>
@ -200,4 +209,8 @@ export default {
.ms-test-running {
color: #783887;
}
.ms-req-error-report {
color: #f6972a;
}
</style>