From 9e96fd678a889469e645130bf769d9a6558a6095 Mon Sep 17 00:00:00 2001 From: Andrew McKnight Date: Wed, 22 Mar 2023 10:41:49 -0800 Subject: [PATCH] fix: typo Existense->Existence (#2822) --- Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift | 6 +++--- Samples/iOS-Swift/iOS13-SwiftTests/LaunchUITest.swift | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift b/Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift index f2f3360e783..5a3a78c4ba8 100644 --- a/Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift +++ b/Samples/iOS-Swift/iOS-SwiftUITests/LaunchUITests.swift @@ -11,7 +11,7 @@ class LaunchUITests: XCTestCase { XCUIDevice.shared.orientation = .portrait app.launch() - waitForExistenseOfMainScreen() + waitForExistenceOfMainScreen() checkSlowAndFrozenFrames() } @@ -31,7 +31,7 @@ class LaunchUITests: XCTestCase { } app.launch() - waitForExistenseOfMainScreen() + waitForExistenceOfMainScreen() } } @@ -88,7 +88,7 @@ class LaunchUITests: XCTestCase { } } - private func waitForExistenseOfMainScreen() { + private func waitForExistenceOfMainScreen() { app.buttons["captureMessageButton"].waitForExistence( "Home Screen doesn't exist.") } diff --git a/Samples/iOS-Swift/iOS13-SwiftTests/LaunchUITest.swift b/Samples/iOS-Swift/iOS13-SwiftTests/LaunchUITest.swift index 02446f6fea5..7eb93026a9c 100644 --- a/Samples/iOS-Swift/iOS13-SwiftTests/LaunchUITest.swift +++ b/Samples/iOS-Swift/iOS13-SwiftTests/LaunchUITest.swift @@ -12,7 +12,7 @@ class LaunchUITests: XCTestCase { app.launch() XCUIDevice.shared.orientation = .portrait - waitForExistenseOfMainScreen() + waitForExistenceOfMainScreen() } override func tearDownWithError() throws { @@ -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.") } }