diff --git a/app/lib/methods/search.ts b/app/lib/methods/search.ts index ee8fdca96..0c2a04b12 100644 --- a/app/lib/methods/search.ts +++ b/app/lib/methods/search.ts @@ -104,6 +104,7 @@ export const search = async ({ text = '', filterUsers = true, filterRooms = true ...user, rid: user.username, name: user.username, + fname: user.name, t: SubscriptionType.DIRECT, search: true }); diff --git a/e2e/data.ts b/e2e/data.ts index 4c5569ddc..9e0c93c06 100644 --- a/e2e/data.ts +++ b/e2e/data.ts @@ -31,7 +31,7 @@ const data = { return { username: `user${randomVal}`, name: `user${randomVal}`, // FIXME: apply a different name - password: `password@123${randomVal}`, + password: `Password1@${randomVal}`, email: `mobile+${randomVal}@rocket.chat` }; }