Skip to content

Releases: kif-framework/KIF

KIF 3.7.0

08 Mar 08:04
Compare
Choose a tag to compare

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)

KIF 3.6.0

14 Aug 23:03
Compare
Choose a tag to compare

Added more functionality to the KIFUIViewTestActor to bring it to parity with functionality exposed via KIFUITestActor. I'm converting our call sites in our tests over to using viewTester, and these holes were identified in the process.

Deprecated APIs:

  • [viewTester waitToBecomeTappable]
    • This is being replaced with [viewTester waitForTappableView], which returns the UIView that was matched.
  • [viewTester enterTextIntoCurrentFirstResponder:]
    • Please use [[viewTester usingFirstResponder] enterText] instead
  • [viewTester enterTextIntoCurrentFirstResponder:fallbackView:]
    • There isn't a clear use case about why the fallbackView parameter is needed. If you disagree, please open an issue with information about the use case.

KIF 3.5.2

01 May 04:08
Compare
Choose a tag to compare
  • Add support for searching forward or backwards in Picker controls
  • Misc bug fixes

KIF 3.5.1

08 Sep 18:32
Compare
Choose a tag to compare
  • Change minimum OS to 8.0
  • Misc fixes

KIF 3.5

11 Aug 04:00
Compare
Choose a tag to compare
  • Drop support for iOS 7
  • Basic iOS 10 compatibility
  • Misc bug fixes

KIF 3.4.2

08 Apr 19:47
Compare
Choose a tag to compare
  • Fix framework build issues in Xcode 7.3
  • Misc bug fixes and tweaks

KIF 3.4.1

08 Mar 04:03
Compare
Choose a tag to compare

KIF now builds as a framework again

KIF 3.4

07 Mar 18:52
Compare
Choose a tag to compare

This release introduces the KIFUIViewTestActor class, courtesy of @RoyalPineapple, which separates the APIs of finding an element from acting on an element. This reduces the number of methods needed dramatically, and will become the default test actor in KIF 4.0. Please see the pull request #794 for more info.

Travis is finally reliable again, thanks to @justinseanmartin.

In addition there are misc bug fixes and additions, thanks to the tireless work of all of our contributors.

KIF 3.3.2

24 Jan 12:12
Compare
Choose a tag to compare
  • Travis tests passing like a boss -- thanks @justinseanmartin!
  • Tons of bug fixes -- thanks everybody!
  • Method to log error with screen shot

KIF 3.3.1

16 Dec 12:34
Compare
Choose a tag to compare

List of the fixes/enhancements. Thanks to all of you who contribute to KIF.

Optional line number on screenshot file name …
Fixed iOS 9 support in Readme …
Fix accessibility enabler not activating on iOS version < 9
Pull To Refresh methods
Add more information to log errors
Disable enable_bitcode
Xcode 7.1 and El capitan compatibility
Add CocoaPod badge
Correct README for test target creation in Xcode 7
Return the Accessbility Inspector to its previous state after tests fail
Improve testing on Travis …
Workaround broken deactivateAppForDuration: in iOS 9 …
Updated instructions for linking to IOKit …