Localazy Download (#29149)
* [create-pull-request] automated change * Fix test --------- Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com> Co-authored-by: R Midhun Suresh <hi@midhun.dev>
This commit is contained in:
@@ -62,7 +62,7 @@ describe("MemberListHeaderView", () => {
|
||||
});
|
||||
|
||||
it("Does not show search box when there's less than 20 members", async () => {
|
||||
expect(screen.queryByPlaceholderText("Filter room members")).toBeNull();
|
||||
expect(screen.queryByPlaceholderText("Search room members")).toBeNull();
|
||||
});
|
||||
|
||||
it("Shows search box when there's more than 20 members", async () => {
|
||||
@@ -80,7 +80,7 @@ describe("MemberListHeaderView", () => {
|
||||
memberListRoom.currentState.members[newMember.userId] = newMember;
|
||||
}
|
||||
await reRender();
|
||||
expect(screen.queryByPlaceholderText("Filter room members")).toBeVisible();
|
||||
expect(screen.queryByPlaceholderText("Search room members")).toBeVisible();
|
||||
});
|
||||
|
||||
describe("Invite button functionality", () => {
|
||||
|
||||
Reference in New Issue
Block a user