XCUIApplicationProcess+FBQuiescence.h 813 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <XCTest/XCTest.h>
  10. #import "XCUIApplicationProcess.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface XCUIApplicationProcess (FBQuiescence)
  13. /*! Defines wtether the process should perform quiescence checks. YES by default */
  14. @property (nonatomic) NSNumber* fb_shouldWaitForQuiescence;
  15. /**
  16. @param waitForAnimations Set it to YES if XCTest should also wait for application animations to complete
  17. */
  18. - (void)fb_waitForQuiescenceIncludingAnimationsIdle:(bool)waitForAnimations;
  19. @end
  20. NS_ASSUME_NONNULL_END