test(e2e): fix display tooltip for Emoji

This commit is contained in:
Divlo 2022-08-29 21:34:24 +02:00
parent 91a87199c4
commit dee8cc2c41
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9

View File

@ -27,7 +27,7 @@ export const MessageText: React.FC<MessageContentProps> = (props) => {
return ( return (
<div> <div>
<p> <p>
<Emoji value={message.value} size={40} /> <Emoji value={message.value} size={40} tooltip />
</p> </p>
</div> </div>
) )
@ -50,7 +50,7 @@ export const MessageText: React.FC<MessageContentProps> = (props) => {
) )
}, },
emoji: (props) => { emoji: (props) => {
return <Emoji value={props.value} size={20} /> return <Emoji value={props.value} size={20} tooltip />
}, },
code: (properties) => { code: (properties) => {
const { inline, className, children, ...props } = properties const { inline, className, children, ...props } = properties