Skip to content

Commit

Permalink
fix: typo Existense->Existence (#2822)
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight authored Mar 22, 2023
1 parent 66922ca commit 9e96fd6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LaunchUITests: XCTestCase {
XCUIDevice.shared.orientation = .portrait
app.launch()

waitForExistenseOfMainScreen()
waitForExistenceOfMainScreen()
checkSlowAndFrozenFrames()
}

Expand All @@ -31,7 +31,7 @@ class LaunchUITests: XCTestCase {
}

app.launch()
waitForExistenseOfMainScreen()
waitForExistenceOfMainScreen()
}
}

Expand Down Expand Up @@ -88,7 +88,7 @@ class LaunchUITests: XCTestCase {
}
}

private func waitForExistenseOfMainScreen() {
private func waitForExistenceOfMainScreen() {
app.buttons["captureMessageButton"].waitForExistence( "Home Screen doesn't exist.")
}

Expand Down
4 changes: 2 additions & 2 deletions Samples/iOS-Swift/iOS13-SwiftTests/LaunchUITest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class LaunchUITests: XCTestCase {
app.launch()
XCUIDevice.shared.orientation = .portrait

waitForExistenseOfMainScreen()
waitForExistenceOfMainScreen()
}

override func tearDownWithError() throws {
Expand All @@ -25,7 +25,7 @@ class LaunchUITests: XCTestCase {
XCTAssertTrue(app.staticTexts["SwiftUI!"].waitForExistence(timeout: timeout), "SwiftUI not loaded.")
}

private func waitForExistenseOfMainScreen() {
private func waitForExistenceOfMainScreen() {
XCTAssertTrue(app.buttons["captureMessage"].waitForExistence(timeout: timeout), "Home Screen doesn't exist.")
}
}

0 comments on commit 9e96fd6

Please sign in to comment.