Final changes for Room Moderation (#2576)

* Add confirmation that the user would like to discard unsaved changes.

* Update string on permissions screen.

* Fix UI tests and update snapshots.

* Fix integration tests.

* Run periphery for Moderation feature.
This commit is contained in:
Doug
2024-03-15 13:41:23 +00:00
committed by GitHub
parent 668c5188fb
commit 3ba34c0704
29 changed files with 84 additions and 47 deletions
@@ -23,7 +23,7 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
let app = Application.launch(.authenticationFlow)
// Splash Screen: Tap get started button
app.buttons[A11yIdentifiers.onboardingScreen.signIn].tap()
app.buttons[A11yIdentifiers.authenticationStartScreen.signIn].tap()
// Server Confirmation: Tap continue button
app.buttons[A11yIdentifiers.serverConfirmationScreen.continue].tap()
@@ -45,7 +45,7 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
let app = Application.launch(.authenticationFlow)
// Splash Screen: Tap get started button
app.buttons[A11yIdentifiers.onboardingScreen.signIn].tap()
app.buttons[A11yIdentifiers.authenticationStartScreen.signIn].tap()
// Server Confirmation: Tap continue button
app.buttons[A11yIdentifiers.serverConfirmationScreen.continue].tap()
@@ -69,7 +69,7 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
let app = Application.launch(.authenticationFlow)
// Splash Screen: Tap get started button
app.buttons[A11yIdentifiers.onboardingScreen.signIn].tap()
app.buttons[A11yIdentifiers.authenticationStartScreen.signIn].tap()
// Server Confirmation: Tap change server button
app.buttons[A11yIdentifiers.serverConfirmationScreen.changeServer].tap()
@@ -19,7 +19,7 @@ import XCTest
@MainActor
class AuthenticationStartScreenUITests: XCTestCase {
func testInitialStateComponents() async throws {
let app = Application.launch(.onboarding)
try await app.assertScreenshot(.onboarding)
let app = Application.launch(.authenticationStartScreen)
try await app.assertScreenshot(.authenticationStartScreen)
}
}
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:635a5752e1bf1f0ee91688b59e853b1537db70c7cf67eda9dd5c6d6e1c29bd6e
size 1273769
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0df6a86517b6c8c5e45d7a77ad323c7730178fdc6523f52068748b5d81eca3b
size 1276372
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c25af572834b339745080f03d4ce2318a30f5f79ad37144b522aaa2b32d6833
size 95336
oid sha256:9c28498ab66df551d50e211b046ec39767c650b29825c026f83f3b3bd234b217
size 96303
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d20dfc70cf78d1ad362a9e3081fd1011183af14aaf4644b5547dbf801f142eb1
size 999538
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:279e06e9fbfb8670fecd2ad88f6486402067e5eb1788a5db2f7420a88adaf2d4
size 1000272
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be5ada770c951e7483f2b1c101774e7e2077cc844eaf2013f2113ee3f3cab558
size 109500
oid sha256:d2eb0ec552742a8d22d3808c7479b32d36a224a32f22c67aaf0d30e225cdbd4b
size 112700
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3cc3f4ecd03b5a651792c3fdea276b0e984edc6eec2689cece5f3e2a519a4c4
size 1296859
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2de5fced9093eeef584c2c1ee3b2296e9201cb0c8132672bce778389bbae036
size 1298519
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37640f16e3b52c138bffd571ef0567d673384131cc9c2a7a3fa703662b9dc58e
size 99735
oid sha256:b3fccd3407b2ceeaa781d21c958448fa08e5dd327528508eee01a3280fec0236
size 101238
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7d223d25fce1e943f24df2d1ad595c63a0b3c3ae2a71b9dfb1be0a6ddef0e5c
size 1026703
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b829d6b34f1bb1600e5ccefbf4f7c04fba4b1fad73671cf648ab72ae49e012de
size 1025995
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ddce2faa0548cb422fa3204725e96fbc1414f065e1b444fcf8cdac1e6df02c2
size 124452
oid sha256:546d0d7b9d6779d36fdf0d6c1eab3fa3e846854b9439a7f3d88c00ede2b8d7d3
size 125838