FBElementHelpers.h 823 B

123456789101112131415161718192021222324252627282930
  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. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. Checks if the element is a text field
  13. @param elementType XCTest element type
  14. @return YES if the element is a text field
  15. */
  16. BOOL FBDoesElementSupportInnerText(XCUIElementType elementType);
  17. /**
  18. Checks if the element supports min/max value attributes
  19. @param elementType XCTest element type
  20. @return YES if the element type supports min/max value attributes
  21. */
  22. BOOL FBDoesElementSupportMinMaxValue(XCUIElementType elementType);
  23. NS_ASSUME_NONNULL_END