dispatch('close')} startIcon={{ icon: X }} iconOnly unifiedSize="md" variant="default" btnClasses="hover:bg-surface-hover bg-surface-secondaryw-8 h-8 rounded-full p-0" />
{#if isRunning}
{ isRunning = false try { jobId && (await JobService.cancelQueuedJob({ workspace: opWorkspace?.() ?? $workspaceStore ?? '', id: jobId, requestBody: {} })) } catch {} }} unifiedSize="md" btnClasses="w-full max-w-lg" loading={true} clickableWhileLoading > Cancel
{:else}
runPreview(previewArgs, undefined)} id="flow-editor-test-flow-drawer" shortCut={{ Icon: CornerDownLeft }} > Test iteration
{/if}
{#if jobId}
{ job = newJob }} bind:selectedJobStep /> {:else}
Flow status will be displayed here
{/if}