{#if scriptProgress} {/if} { mod.mock = detail $flowStore = $flowStore }} mock={mod.mock} bind:forceJson bind:selectedJob isLoading={(testIsLoading && !scriptProgress) || fetchingLastJob} bind:preview path={`path` in mod.value ? mod.value.path : ''} {loopStatus} {disableMock} {disableHistory} > {#if lang && editor && diffEditor && $testStepStore[mod.id] && selectedJob?.type === 'CompletedJob' && !selectedJob.success && getStringError(selectedJob.result)} {/if} {#if (mod.mock?.enabled && preview != 'job') || preview == 'mock'} {:else} {/if}