Kif v3.7.0 Release Notes

Release Date: 2018-03-08 // about 6 years ago
  • ๐Ÿš€ Thanks everyone that has contributed a patch to KIF since the 3.6.0 release!

    ๐Ÿ‘ We're now validating support for Xcode 7 through 9 on Travis across iOS 8 through 11.

    โœ… Please start using the new and improved viewTester test actor as a replacement and report any issues. We believe the API is much more flexible in how it can be used. We are open to suggestions, but would highly encourage that new tests be written using the APIs exposed by the KIFUIViewTestActor.

    We aren't likely to actually deprecate the tester API anytime soon, however we have added the CFLAG DEPRECATE_KIF_TESTER. This can be used to prevent using the older API if you'd like to use that to enforce consistency across your codebase.

    ๐Ÿ‘Œ Improvements:

    ๐Ÿ—„ Deprecations:

    • Introduced a new DEPRECATE_KIF_TESTER cflag to prevent direct usage of tester (@justinseanmartin - e103dd2)
    • โœ… Marked 'KIFUIViewTestActor clearTextFromFirstResponder' as deprecated, as it is redundant (@justinseanmartin - 3f753ed)
    • โฌ‡๏ธ Dropped official support for Xcode 6, no more CI configuration (@justinseanmartin - 4f29fe0)
    • โœ… Some functionality is no longer testable on iOS 11, most notably the photo picker and activity sheet are no longer accessible via the app's view hierarchy (@justinseanmartin - d006865)

    Infrastructure:

    ๐Ÿ› Bug fixes for Xcode 9 and iOS 11:

    • โฌ‡ Decreased majorSwipeDisplacement for "swipe to delete" tableview style actions to make it work on iOS 11 (@0xpablo - 5c2ed35)
    • ๐Ÿ‘‰ Use new tableViewCell private Accessibility API when attempting to find an element match (@banjun - 98e75d6)
    • ๐Ÿ›  Fixed build warnings for missing autoreleasing attributes (@StefanLage - e0676e1)
    • ๐Ÿ›  Fixed deactivateAppForDuration: to work on iOS 11 (@justinseanmartin - 4724aae)
    • Avoid programmatic scrolling to visible behavior when elements are already onscreen (@justinseanmartin - d006865)
    • Adjusted UITableView dragCell:toIndex:error: for behavior change in iOS 11 (@justinseanmartin - d006865)

    ๐Ÿ›  General bug fixes:

    • Safety check on enterText:expectedResult: when validateEnteredText == NO (@justinseanmartin - 57b47fc)
    • Check the correct error on writing screenshots (@webventil - b52c375)
    • Avoid system symbol collision with cstdlib (@voznesenskym - ff857fd)
    • ๐Ÿš€ Missing autoreleasepool in the clearTextFromFirstResponder action (James Smith - 07fef14)
    • Disable bitcode in the podspec (David Beck - f964e46)
    • โœ… Avoid common pitfall by asserting KIFEnableAccessibility call before starting tests (@justinseanmartin - c3080fc)