Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent 2bb26efbe1
commit 04053ae69b
343 changed files with 1502 additions and 1048 deletions

View File

@@ -26,7 +26,9 @@ class AppLockSetupUITests: XCTestCase {
/// Not part of the flow, only to verify the stack is cleared.
static let clearedStack = 99
static var isPhone: Bool { UIDevice.current.userInterfaceIdiom == .phone }
static var isPhone: Bool {
UIDevice.current.userInterfaceIdiom == .phone
}
}
func testCreateFlow() async throws {

View File

@@ -43,7 +43,7 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
app.buttons[A11yIdentifiers.loginScreen.continue].tap()
}
func testLoginWithIncorrectPassword() async throws {
func testLoginWithIncorrectPassword() {
// Given the authentication flow.
let app = Application.launch(.authenticationFlow)
@@ -102,8 +102,8 @@ class AuthenticationFlowCoordinatorUITests: XCTestCase {
try await app.assertScreenshot()
}
// Disabled for now as the looping isn't 100% fool-proof and we have OIDC on the integration tests
// so this mock version doesn't really add anything to the tests as a whole.
/// Disabled for now as the looping isn't 100% fool-proof and we have OIDC on the integration tests
/// so this mock version doesn't really add anything to the tests as a whole.
func disabled_testSelectingOIDCServer() {
// Allow this test to run for longer to help with the loop whilst waiting to resolve the
// webcredentials for the Web Authentication Session (see below).

View File

@@ -59,7 +59,7 @@ class UserSessionScreenTests: XCTestCase {
try await app.assertScreenshot()
}
func testElementCall() async throws {
func testElementCall() {
let app = Application.launch(.userSessionScreen)
app.buttons[A11yIdentifiers.homeScreen.roomName(firstRoomName)].tap()