import Foundation

enum UITestLaunchConfiguration {
    static var isVoiceRecordingFixtureEnabled: Bool {
        ProcessInfo.processInfo.arguments.contains("-ui-test-voice-recording-fixture")
    }

    static var voiceRecordingFixtureMode: String {
        let env = ProcessInfo.processInfo.environment
        if let mode = env["UI_TEST_VOICE_RECORDING_MODE"], !mode.isEmpty {
            return mode
        }
        return "idle"
    }
}
