fix(ui) Fix location of data-testid for schema field drawer (#13741)

This commit is contained in:
Chris Collins 2025-06-10 17:44:37 -04:00 committed by GitHub
parent f62a58c080
commit 53c0b11c26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,10 @@ export const SchemaFieldDrawerTabs = ({ tabs, selectedTab, onSelectTab }: Props)
<Tab
tab={
<TabIconContainer $isSelected={isSelected}>
<IconWrapper $isSelected={isSelected}>
<IconWrapper
$isSelected={isSelected}
data-testid={`${name}-field-drawer-tab-header`}
>
{isSelected ? (
<SelectedTabIcon size={20} weight="fill" />
) : (
@ -297,7 +300,6 @@ export const SchemaFieldDrawerTabs = ({ tabs, selectedTab, onSelectTab }: Props)
</TabIconContainer>
}
key={tab.name}
data-testid={`${name}-field-drawer-tab-header`}
/>
);
})}