Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MidhunSureshR committed Jan 31, 2025
1 parent 196da1c commit bf46651
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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", () => {
Expand Down

0 comments on commit bf46651

Please sign in to comment.