fix(接口测试): 场景本地执行无报告
This commit is contained in:
parent
89ef45c7dd
commit
75f177b50e
|
@ -66,7 +66,12 @@
|
||||||
<div class="text-[rgb(var(--warning-5))]">{{ scenario.executeFakeErrorCount }}</div>
|
<div class="text-[rgb(var(--warning-5))]">{{ scenario.executeFakeErrorCount }}</div>
|
||||||
</div>
|
</div>
|
||||||
<MsButton
|
<MsButton
|
||||||
v-if="scenario.isDebug === false && !scenario.executeLoading && !scenario.isNew"
|
v-if="
|
||||||
|
scenario.executeType !== 'localExec' &&
|
||||||
|
scenario.isDebug === false &&
|
||||||
|
!scenario.executeLoading &&
|
||||||
|
!scenario.isNew
|
||||||
|
"
|
||||||
type="text"
|
type="text"
|
||||||
class="ml-[8px]"
|
class="ml-[8px]"
|
||||||
@click="checkReport"
|
@click="checkReport"
|
||||||
|
|
|
@ -249,6 +249,7 @@
|
||||||
activeScenarioTab.value.executeFakeErrorCount = 0;
|
activeScenarioTab.value.executeFakeErrorCount = 0;
|
||||||
activeScenarioTab.value.stepResponses = {};
|
activeScenarioTab.value.stepResponses = {};
|
||||||
activeScenarioTab.value.reportId = executeParams.reportId; // 存储报告ID
|
activeScenarioTab.value.reportId = executeParams.reportId; // 存储报告ID
|
||||||
|
activeScenarioTab.value.executeType = executeType; // 存储报告ID
|
||||||
debugSocket(activeScenarioTab.value, executeType); // 开启websocket
|
debugSocket(activeScenarioTab.value, executeType); // 开启websocket
|
||||||
activeScenarioTab.value.isDebug = !isExecute;
|
activeScenarioTab.value.isDebug = !isExecute;
|
||||||
let res;
|
let res;
|
||||||
|
|
Loading…
Reference in New Issue