Delete app E2E (#313)

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Will Chen
2025-06-02 22:06:21 -07:00
committed by GitHub
parent 667fc42af4
commit 1dde72e776
4 changed files with 47 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ export function AppList({ show }: { show?: boolean }) {
) : apps.length === 0 ? (
<div className="py-2 px-4 text-sm text-gray-500">No apps found</div>
) : (
<SidebarMenu className="space-y-1">
<SidebarMenu className="space-y-1" data-testid="app-list">
{apps.map((app) => (
<SidebarMenuItem key={app.id} className="mb-1">
<Button
@@ -74,6 +74,7 @@ export function AppList({ show }: { show?: boolean }) {
? "bg-sidebar-accent text-sidebar-accent-foreground"
: ""
}`}
data-testid={`app-list-item-${app.name}`}
>
<div className="flex flex-col w-full">
<span className="truncate">{app.name}</span>