diff --git a/src/components/User/User.tsx b/src/components/User/User.tsx index fd1939fbdf..8cdf3101db 100644 --- a/src/components/User/User.tsx +++ b/src/components/User/User.tsx @@ -9,6 +9,11 @@ import './User.scss'; const b = block('user'); +export const UserQa = { + NAME: 'user-name', + DESCRIPTION: 'user-description', +}; + export const User = React.forwardRef( ( { @@ -42,9 +47,15 @@ export const User = React.forwardRef( ) : null} {name || showDescription ? (
- {name ? {name} : null} + {name ? ( + + {name} + + ) : null} {showDescription ? ( - {description} + + {description} + ) : null}
) : null}