diff --git a/Clocker/ClockerUITests/OnboardingSearchTests.swift b/Clocker/ClockerUITests/OnboardingSearchTests.swift index 8e38e24..2f83674 100644 --- a/Clocker/ClockerUITests/OnboardingSearchTests.swift +++ b/Clocker/ClockerUITests/OnboardingSearchTests.swift @@ -5,12 +5,14 @@ import XCTest class OnboardingSearchTests: XCTestCase { var app: XCUIApplication! + static let kOnboardingArgument = "isTestingTheOnboardingFlow" + override func setUp() { super.setUp() continueAfterFailure = false app = XCUIApplication() - app.launchArguments.append(CLOnboardingTestsLaunchArgument) + app.launchArguments.append(Self.kOnboardingArgument) app.launch() // Let's go to the Search View diff --git a/Clocker/ClockerUITests/OnboardingTests.swift b/Clocker/ClockerUITests/OnboardingTests.swift index f857f69..7f15bee 100644 --- a/Clocker/ClockerUITests/OnboardingTests.swift +++ b/Clocker/ClockerUITests/OnboardingTests.swift @@ -2,15 +2,15 @@ import XCTest -let CLOnboaringTestsLaunchArgument = "isTestingTheOnboardingFlow" - class OnboardingTests: XCTestCase { var app: XCUIApplication! + + static let kOnboardingTestsLaunchArgument = "isTestingTheOnboardingFlow" override func setUp() { continueAfterFailure = false app = XCUIApplication() - app.launchArguments.append(CLOnboardingTestsLaunchArgument) + app.launchArguments.append(Self.kOnboardingTestsLaunchArgument) app.launch() }