feat(admin): E2E mock-сьюты inbox/reports/reviews + testids. Refs EventHub/EventHubFrontAdmin#33 #36

This commit is contained in:
2026-07-14 22:35:21 +03:00
parent 87c6b55e81
commit a3468518b3
9 changed files with 501 additions and 24 deletions
+3 -1
View File
@@ -28,6 +28,7 @@ interface ExploreListShellProps {
onViewModeChange: (mode: ExploreViewMode) => void;
children: ReactNode;
className?: string;
'data-testid'?: string;
}
export function ExploreListShell({
@@ -41,10 +42,11 @@ export function ExploreListShell({
onViewModeChange,
children,
className,
'data-testid': dataTestId,
}: ExploreListShellProps) {
const { t } = useTranslation();
return (
<div className={cn('space-y-4', className)}>
<div className={cn('space-y-4', className)} data-testid={dataTestId}>
<div className="flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">
<div className="min-w-0 space-y-1">
<h1 className="text-2xl font-semibold tracking-tight">{title}</h1>