mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Select members before creating a room (UI for selection) (#766)
* add invite users in room flow * add selectable user cell * add screenshoots * add unit test * add button style * add scroll to bottom when added user * rebase screenshot from develop * add changelog * rename invite users files * fix static viewModel * fix buttonStyle, fix unit test * UI test for selected user * remove fixed height size * fix saled width for horizontal cell * add usersSection, screenshots * use publishers pattern * add selectable form button style * add comment * improve readability * some rename on InviteUsers * fix compile issues * add search content
This commit is contained in:
@@ -35,10 +35,10 @@ class StartChatScreenViewModelTests: XCTestCase {
|
||||
|
||||
func testQueryShowingNoResults() async throws {
|
||||
await search(query: "A")
|
||||
XCTAssertEqual(context.viewState.usersSection.type, .suggestions)
|
||||
XCTAssertEqual(context.viewState.usersSection.type, .empty)
|
||||
|
||||
await search(query: "AA")
|
||||
XCTAssertEqual(context.viewState.usersSection.type, .suggestions)
|
||||
XCTAssertEqual(context.viewState.usersSection.type, .empty)
|
||||
|
||||
await search(query: "AAA")
|
||||
assertSearchResults(toBe: 0)
|
||||
|
||||
Reference in New Issue
Block a user