Sync Strings (#4461)
* Sync Strings from Localazy * Fix UI tests --------- Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
parent
3597774dd2
commit
8f0075e367
69 changed files with 1003 additions and 883 deletions
|
|
@ -44,7 +44,7 @@ class IdentityChangeStateViewTest {
|
|||
),
|
||||
)
|
||||
|
||||
rule.onNodeWithText("identity appears to have changed", substring = true).assertExists("should display pin violation warning")
|
||||
rule.onNodeWithText("identity was reset", substring = true).assertExists("should display pin violation warning")
|
||||
rule.onNodeWithText("@alice:localhost", substring = true).assertExists("should display user mxid")
|
||||
rule.onNodeWithText("Alice", substring = true).assertExists("should display user displayname")
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ class IdentityChangeStateViewTest {
|
|||
),
|
||||
)
|
||||
|
||||
rule.onNodeWithText("verified identity has changed", substring = true).assertExists("should display verification violation warning")
|
||||
rule.onNodeWithText("identity was reset", substring = true).assertExists("should display verification violation warning")
|
||||
rule.onNodeWithText("@alice:localhost", substring = true).assertExists("should display user mxid")
|
||||
rule.onNodeWithText("Alice", substring = true).assertExists("should display user displayname")
|
||||
|
||||
|
|
@ -92,8 +92,7 @@ class IdentityChangeStateViewTest {
|
|||
),
|
||||
)
|
||||
|
||||
rule.onNodeWithText("identity appears to have changed", substring = true).assertDoesNotExist()
|
||||
rule.onNodeWithText("verified identity has changed", substring = true).assertDoesNotExist()
|
||||
rule.onNodeWithText("identity was reset", substring = true).assertDoesNotExist()
|
||||
}
|
||||
|
||||
private fun <R : TestRule> AndroidComposeTestRule<R, ComponentActivity>.setIdentityChangeStateView(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue