Skip to content

Commit 3a93e45

Browse files
committed
fix: preserve test step count and restore create button emphasis
1 parent fa16893 commit 3a93e45

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/lib/features/testing/TestExecution.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,11 @@
535535
</div>
536536
537537
<!-- Main Content - Step Execution -->
538-
<div class="flex-1 flex flex-col">
538+
<div class="min-w-0 flex-1 flex flex-col">
539539
<!-- Step Header -->
540540
<div class="p-6 border-b" style="border-color: var(--ds-border);">
541-
<div class="flex items-center justify-between mb-4">
542-
<div>
541+
<div class="flex items-center justify-between gap-6 mb-4">
542+
<div class="min-w-0 flex-1 [overflow-wrap:anywhere]">
543543
<h1 class="text-xl font-semibold" style="color: var(--ds-text);">
544544
{currentCase.title}
545545
</h1>
@@ -549,7 +549,7 @@
549549
</AlertBox>
550550
{/if}
551551
</div>
552-
<div class="text-sm" style="color: var(--ds-text-subtle);">
552+
<div class="shrink-0 whitespace-nowrap text-sm" style="color: var(--ds-text-subtle);">
553553
{#if currentCase.test_steps && currentCase.test_steps.length > 0}
554554
{t('testing.stepOfTotal', { current: currentStepIndex + 1, total: currentCase.test_steps.length })}
555555
{:else}

frontend/src/lib/layout/MainSidebar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
label={t('nav.create')}
211211
onclick={showCreateDropdown}
212212
expanded={$uiStore.navExpanded}
213-
variant="accent"
213+
variant="primary"
214214
isActive={activeSurface === 'create'}
215215
shortcut={getShortcutDisplay('global', 'create')}
216216
tooltipSuffix=" ({getShortcutDisplay('global', 'create')})"

0 commit comments

Comments
 (0)