feat: copilot frontend e2e (#7694)

This commit is contained in:
darkskygit
2024-10-29 08:56:37 +00:00
parent 5709ebbb11
commit d71852789f
21 changed files with 917 additions and 29 deletions
@@ -34,6 +34,7 @@ const ToggleButton = ({
onClick={onToggle}
className={className}
data-show={show}
data-testid="right-sidebar-toggle"
>
<RightSidebarIcon />
</IconButton>
@@ -40,6 +40,7 @@ export const SidebarContainer = ({
styles.sidebarBodyTarget,
!BUILD_CONFIG.isElectron && styles.borderTop
)}
data-testid={`sidebar-tab-content-${sidebar.id}`}
/>
))
) : (
@@ -22,6 +22,7 @@ export const SidebarHeaderSwitcher = () => {
tabId={tab.id}
/>
),
testId: `sidebar-tab-${tab.id}`,
style: { padding: 0, fontSize: 20, width: 24 },
}));