mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ class UserFlowTests: XCTestCase {
|
||||
firstRoom.tap(.center)
|
||||
|
||||
sendMessages()
|
||||
|
||||
|
||||
checkTimelineItemActionMenu()
|
||||
|
||||
// Go back to the room list
|
||||
|
||||
Reference in New Issue
Block a user