mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Ignore User UI (#737)
* generated files * Revert "generated files" This reverts commit f62c1dbcd9e505083ad4ff17532e2c054e253187. * renaming files to RoomMembersList * completed the renaming of the list files * added generated files * basic setup of the view and the mock * added a new mock with a avatar * share/copy link * copyUserLink implemented * removed unimplemented tests * block user UI * navigation to room member details added * implemented but we require a sync from the Rust side * adjusted some UI test screens * alert for unblocking * completed * some tests * changelog * ignore user ui enabled * loader inside the button when the request is fetching * removed unused code * blocking the button while loading * improved the code * changelog * UI tests * unit tests * added collection concurrency kit * Revert "added collection concurrency kit" This reverts commit 499fbe129f73a75e903d9f4952fe2ad672930f04. * replaced the asyncMap with a @MainActor builder function * pr comments * added localazy to setup * sdk bump to 1.0.49
This commit is contained in:
@@ -20,6 +20,25 @@ import XCTest
|
||||
class RoomMemberDetailsScreenUITests: XCTestCase {
|
||||
func testInitialStateComponentsForAccountOwner() {
|
||||
let app = Application.launch(.roomMemberDetailsAccountOwner)
|
||||
|
||||
XCTAssertFalse(app.buttons[A11yIdentifiers.roomMemberDetailsScreen.ignore].exists)
|
||||
XCTAssertFalse(app.buttons[A11yIdentifiers.roomMemberDetailsScreen.unignore].exists)
|
||||
app.assertScreenshot(.roomMemberDetailsAccountOwner)
|
||||
}
|
||||
|
||||
func testInitialStateComponents() {
|
||||
let app = Application.launch(.roomMemberDetails)
|
||||
|
||||
XCTAssert(app.buttons[A11yIdentifiers.roomMemberDetailsScreen.ignore].waitForExistence(timeout: 1))
|
||||
XCTAssertFalse(app.buttons[A11yIdentifiers.roomMemberDetailsScreen.unignore].exists)
|
||||
app.assertScreenshot(.roomMemberDetails)
|
||||
}
|
||||
|
||||
func testInitialStateComponentsForIgnoredUser() {
|
||||
let app = Application.launch(.roomMemberDetailsIgnoredUser)
|
||||
|
||||
XCTAssertFalse(app.buttons[A11yIdentifiers.roomMemberDetailsScreen.ignore].exists)
|
||||
XCTAssert(app.buttons[A11yIdentifiers.roomMemberDetailsScreen.unignore].waitForExistence(timeout: 1))
|
||||
app.assertScreenshot(.roomMemberDetailsIgnoredUser)
|
||||
}
|
||||
}
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa29d51f482c87a93da7fd8c059215fcc3da9ef6c980a301e9507ed1f7c3c7a5
|
||||
size 79947
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20e6382f3e6befa47d6a343b63fd5e5094e66e216b50853d35555b1e1b9e86ba
|
||||
size 81051
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9718639645f9d3d1c198a8c3322e7c52c23722d1020a8ee9d1009fc6312d965e
|
||||
size 92445
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f698182d7eb30b43799b99e49f59422c601387ac4ddc675feecb939ff32e099d
|
||||
size 94597
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fa29d51f482c87a93da7fd8c059215fcc3da9ef6c980a301e9507ed1f7c3c7a5
|
||||
size 79947
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20e6382f3e6befa47d6a343b63fd5e5094e66e216b50853d35555b1e1b9e86ba
|
||||
size 81051
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9718639645f9d3d1c198a8c3322e7c52c23722d1020a8ee9d1009fc6312d965e
|
||||
size 92445
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f698182d7eb30b43799b99e49f59422c601387ac4ddc675feecb939ff32e099d
|
||||
size 94597
|
||||
Reference in New Issue
Block a user