= props => {
= props => {
= props => {
]}
>
@@ -165,7 +168,10 @@ const HomePage: React.FC = props => {
userPermissions={userPermissions}
requiredPermissions={[PermissionEnum.MANAGE_ORDERS]}
>
-
+
)}
diff --git a/src/home/components/HomeProductListCard/HomeProductListCard.tsx b/src/home/components/HomeProductListCard/HomeProductListCard.tsx
index d68cfbe64..13b0c1d6b 100644
--- a/src/home/components/HomeProductListCard/HomeProductListCard.tsx
+++ b/src/home/components/HomeProductListCard/HomeProductListCard.tsx
@@ -46,18 +46,19 @@ const useStyles = makeStyles(
);
interface HomeProductListProps {
+ testId?: string;
topProducts: Home_productTopToday_edges_node[];
onRowClick: (productId: string, variantId: string) => void;
}
export const HomeProductList: React.FC = props => {
- const { topProducts, onRowClick } = props;
+ const { topProducts, onRowClick, testId } = props;
const classes = useStyles(props);
const intl = useIntl();
return (
-
+