Skip to content

Commit

Permalink
fixed AWS environment check
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Espinola committed Jun 21, 2024
1 parent 863e91a commit d85155a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Example/CreativeUITest/CreativeUITest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ final class CreativeUITest: XCTestCase, BaseXCTestCase {
.addDelay(seconds: 3)

guard canLaunchExternalApps else { return }

SMSPage
.verifyPrefilledMessage(
message: "Send this text to subscribe to recurring automated personalized marketing alerts (e.g. cart reminders) from Attentive Mobile Apps Test"
Expand Down
3 changes: 1 addition & 2 deletions Example/CreativeUITest/Protocols/BaseXCTestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ extension BaseXCTestCase {
"COM_ATTENTIVE_EXAMPLE_DOMAIN" : "mobileapps",
"COM_ATTENTIVE_EXAMPLE_MODE" : mode.rawValue,
"COM_ATTENTIVE_EXAMPLE_IS_UI_TEST" : "YES",
"COM_ATTENTIVE_EXAMPLE_HOST" : "local"
]

if !extras.isEmpty {
Expand All @@ -61,6 +60,6 @@ extension BaseXCTestCase {
var canLaunchExternalApps: Bool {
ProcessInfo
.processInfo
.environment["COM_ATTENTIVE_EXAMPLE_HOST"] == "local"
.environment["COM_ATTENTIVE_EXAMPLE_HOST"] == nil
}
}

0 comments on commit d85155a

Please sign in to comment.