fix: show user's full name when searching (#5043)
* fix: show user's full name when searching * fix the fname and name * minor tweak at e2e password --------- Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
This commit is contained in:
parent
f4ff7c82af
commit
edea063cf6
|
@ -104,6 +104,7 @@ export const search = async ({ text = '', filterUsers = true, filterRooms = true
|
||||||
...user,
|
...user,
|
||||||
rid: user.username,
|
rid: user.username,
|
||||||
name: user.username,
|
name: user.username,
|
||||||
|
fname: user.name,
|
||||||
t: SubscriptionType.DIRECT,
|
t: SubscriptionType.DIRECT,
|
||||||
search: true
|
search: true
|
||||||
});
|
});
|
||||||
|
|
|
@ -31,7 +31,7 @@ const data = {
|
||||||
return {
|
return {
|
||||||
username: `user${randomVal}`,
|
username: `user${randomVal}`,
|
||||||
name: `user${randomVal}`, // FIXME: apply a different name
|
name: `user${randomVal}`, // FIXME: apply a different name
|
||||||
password: `password@123${randomVal}`,
|
password: `Password1@${randomVal}`,
|
||||||
email: `mobile+${randomVal}@rocket.chat`
|
email: `mobile+${randomVal}@rocket.chat`
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue