Releases: kif-framework/KIF
KIF 3.7.0
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:
- Picker matching improvements containing custom labels (@deepakkumarsharma-tudip - 15094a1 5aed042)
- Added
usingAbsenceOfTraits:
API (@zadr - 4c71c0e) - Added
acknowledgeSystemAlertWithIndex
API (@startupthekid - a21fca3) - Introduced
KIFTextInputTraitsOverrides
and suppress autocorrect & autopunctuation by default (@harleyjcooper - 313764c)
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:
- Added Travis CI configurations and fixed tests to pass reliably on Xcode 8 & 9 (@justinseanmartin - ce27ff5 d006865 168c9e9)
- Readme improvements around KIFEnableAccessibility requirement (@edwinlai - 759aff2)
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
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.
- This is being replaced with
[viewTester enterTextIntoCurrentFirstResponder:]
- Please use
[[viewTester usingFirstResponder] enterText]
instead
- Please use
[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.
- There isn't a clear use case about why the
KIF 3.5.2
- Add support for searching forward or backwards in Picker controls
- Misc bug fixes
KIF 3.5.1
KIF 3.5
KIF 3.4.2
KIF 3.4.1
KIF 3.4
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
- 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
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 …