XCUIApplication+FBAlert.h 585 B

123456789101112131415161718192021222324
  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. @interface XCUIApplication (FBAlert)
  11. /* The accessiblity label used for Safari app */
  12. extern NSString *const FB_SAFARI_APP_NAME;
  13. /**
  14. Retrieve the current alert element
  15. @return Alert element instance
  16. */
  17. - (XCUIElement *)fb_alertElement;
  18. @end