diff --git a/Example/CreativeUITest/Protocols/BaseXCTestCase.swift b/Example/CreativeUITest/Protocols/BaseXCTestCase.swift index 61ff844..e9f21b8 100644 --- a/Example/CreativeUITest/Protocols/BaseXCTestCase.swift +++ b/Example/CreativeUITest/Protocols/BaseXCTestCase.swift @@ -58,14 +58,8 @@ extension BaseXCTestCase { /// Assert that the SMS app is opened with prepopulated text if running locally. (AWS Device Farm doesn't allow use of SMS apps). var canLaunchExternalApps: Bool { - let host = ProcessInfo + ProcessInfo .processInfo - .environment["COM_ATTENTIVE_EXAMPLE_HOST"] - - if host != "local" { - XCTFail("COM_ATTENTIVE_EXAMPLE_HOST is not for AWS Farm: \(host)") - } - - return host == "local" + .environment["COM_ATTENTIVE_EXAMPLE_HOST"] == "local" } }