Releases: kif-framework/KIF
KIF 3.7.6
Bug Fixes:
- Don't crash if there is no key window (@justinseanmartin - #1099)
- Remove check preventing scroll UITableViewCells (@justinseanmartin - #1102)
- Fixing broken
TableView
scrolling (@harleyjcooper - #1103)
Typo Fix:
- Edit mistyping on KIFUITestActor.h (@cruisediary - #1101 )
KIF 3.7.5
Bug Fix:
- Fix crash on rotate on very small angle (@Screon - #1080 & @justinseanmartin - #1081)
- Avoid
XCUIScreenshot
in Xcode 10 Beta, where the functionality is broken (@justinseanmartin - #1087) - Fix scrollViewToVisible:animated: (@plu - #1094)
- Fix warning of XCUIScreen availability (@kylejm - #1098)
Enhancement:
- Make XCTestCase 'just work' (@justinseanmartin - #1086)
- No longer need to explicitly call
KIFEnableAccessibility
when not subclassingKIFTestCase
- No longer need to explicitly call
KIF 3.7.4
Bug Fix:
- Adding stabilization code to waitForAnimationsToFinishWithTimeout (@harleyjcooper - #1060)
- Fix for "Attempted to dequeue multiple cells for the same index path" XC9 crash (@mikelupo - #1020)
Enhancement:
- Add test failure screenshots as attachment to the Xcode test report (@maryamaffinityclick - #1073)
Infrastructure:
KIF 3.7.3
Bug Fix:
- Fixed an issue where the disabling of autocorrect/autopunctuation was only applying to UITextFields and not UITextViews (@harleyjcooper - 950ed40)
KIF 3.7.2
Small release, generally related to scrolling correctness and minor opt-in performance improvement for tests that need to scroll a lot.
Feature:
- testActorAnimationsEnabled flag added to
tester
for disabling animations when KIF scrolls offscreen elements into the view (@pbartolome - e5448c5)
Bug Fix:
- Fix a build warning that would prevent consumption via Carthage (@hiltonc + @Sassafrass - 5d3ed24)
Infrastructure:
- Added CI task that validates Carthage support (@justinseanmartin - 8cb63de)
KIF 3.7.1
This was a minor KIF release to fix Carthage. Technically the CI config was added after the release of 3.7.1, but makes sense to lump it all in together.
Bug Fix:
- Fix a build warning that would prevent consumption via Carthage (Artur Rybak - 2453685)
Infrastructure:
- Add a CI configuration to ensure we don't regress Carthage support (@justinseanmartin - 8cb63de)
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