mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Fix tests
This commit is contained in:
parent
673fb792e5
commit
5c4b91457e
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ describe("GroupMemberList", function() {
|
|||
const memberList = ReactTestUtils.findRenderedDOMComponentWithClass(root, "mx_MemberList_joined");
|
||||
const memberListElement = ReactDOM.findDOMNode(memberList);
|
||||
expect(memberListElement).toBeTruthy();
|
||||
expect(memberListElement.textContent).toBe("Test");
|
||||
const userNameElement = memberListElement.querySelector(".mx_EntityTile_name");
|
||||
expect(userNameElement).toBeTruthy();
|
||||
expect(userNameElement.textContent).toBe("Test");
|
||||
});
|
||||
|
||||
httpBackend.when("GET", "/groups/" + groupIdEncoded + "/summary").respond(200, summaryResponse);
|
||||
|
|
Loading…
Reference in a new issue