Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
+3 -3
View File
@@ -74,7 +74,7 @@ extension XCUIApplication {
let webAuthenticationView = XCUIApplication(bundleIdentifier: "com.apple.SafariViewService")
XCTAssertTrue(webAuthenticationView.waitForExistence(timeout: 10.0))
webAuthenticationView.tap(.top) // Tap the web view to properly focus the app again.
// The user may already be authenticated on MAS. Sign them out.
// The button label varies by MAS version: "Sign out" or "Use another account".
let webLogoutPredicate = NSPredicate(format: "label == 'Sign out' OR label == 'Use another account'")
@@ -113,7 +113,7 @@ extension XCUIApplication {
// Wait for login to finish
currentTestCase.expectation(for: doesNotExistPredicate, evaluatedWith: webUsernameTextField)
currentTestCase.waitForExpectations(timeout: 300.0)
// Wait for the home screen to become visible.
let profileButton = buttons[A11yIdentifiers.homeScreen.userAvatar]
// Timeouts are huge because we're waiting for the server.
@@ -126,7 +126,7 @@ extension XCUIApplication {
swipeDown()
let profileButton = buttons[A11yIdentifiers.homeScreen.userAvatar]
// `Failed to scroll to visible (by AX action) Button` https://stackoverflow.com/a/33534187/730924
profileButton.tap(.center)