UITestLaunchArgument

public enum UITestLaunchArgument : String, CaseIterable

List of internal launch arguments used from MSUITest and available for the client.

  • Request to disable the animation. Animations can create flicky tests.

    Declaration

    Swift

    case animationsDisabled
  • Checks if a launch argument has been set from MSUITest.

    Example:

    guard UITestLaunchArgument.animationsDisabled.isActive else { return }
    UIView.setAnimationsEnabled(false)
    

    Declaration

    Swift

    public var isActive: Bool { get }