Releases: google/EarlGrey
Releases · google/EarlGrey
2.2.2
2.2.2 (06/3/2022)
Baseline: [a430608]
+ [a430608]: Update AppStateTracker logs.
Enhancements
- Sanitizers are now supported with EarlGrey.
- Test-side screenshots are generated for a test failure.
- WKWebView has an idling resource added for it.
- Improved logging with GREYLogger for debugging.
- Some cursory support has been added for matching SwiftUI views.
Bug fixes
- Multiple fixes for iOS 15 related to scrolling, window synchronization etc.
Compatibility
- EarlGrey has been tested for working till Xcode version 13.4 and Swift 5.
Known Issues
- EarlGrey does not track recurrent animations and will timeout for infinite animations in dequeued
cells.
EarlGrey 2.2.1
2.2.1 (12/9/2020)
Baseline: [91dc49f]
+ [91dc49f]: Move test-side screenshot to XCUIScreen.
Enhancements
- Improved synchronization by performing most of the GREYActions on the main thread right after matching.
- Improved synchronization by tracking all NSTimers added in the main thread.
- Added EarlGrey API so that users can choose the root matcher for subsequent interactions.
- Verbose logging can be added through NSUserDefaults.
- iOS 14 support has been added for location alert strings.
- Dedupe superview/subview pair if accessibility attributes are the same as this is a valid case.
Bug fixes
- Fix scrolling synchronization issue where tapping was failing at the end of scroll action.
- Fix crash when GREYConfiguration methods were called before relaunching the application.
- Fix crash when error screenshot was taken on the test side.
Compatibility
- EarlGrey has been tested for working till Xcode version 12.2 and Swift 5.
Known Issues
- There are animation issues with Context Menu’s and multi-window animations.
- ASAN, UBSAN and TSAN do not work with EarlGrey at the moment.
EarlGrey 2.2.0
2.2.0 (10/16/2020)
Baseline: [ddf2911]
+ [ddf2911]: GREYCAAnimationDelegate optimization.
Enhancements
- Support has been added for Xcode 11, 12 and iOS 13.x, iOS 14.
- Performance improvement for visibility checker that is used for grey_tap(), grey_sufficientlyVisible(), etc.
- Error logs are now more concise and clear.
- Miscellaneous synchronization improvements related to scroll views, timers and network tracking.
- All EarlGrey interactions from the test side now work on a separate background queue.
- Added app-under-test crash handler API to bring back crashed app and continue remaining test cases properly.
- Added dispatch policy API and the new background execution policy, which is more resistant to remote call related deadlock.
Bug Fixes
- UIView and UIViewController owned by test can no longer be sent to app-under-test by remote invocation, which is considered a common mistake.
Compatibility
- EarlGrey has been tested for working till Xcode version 12.2 and Swift 5.
Known Issues
- There are animation issues with Context Menu’s and multi-window animations.
- ASAN, UBSAN and TSAN do not work with EarlGrey at the moment.
EarlGrey 1.16.0
Baseline: [09f4abc]
+ [09f4abc]: Fix steppers
Enhancements
- Fixed runtime breakage on iOS 13.
Compatibility
- EarlGrey has been tested for working till Xcode version 10.1 and Swift 5.
EarlGrey 2.0.0
2.0.0 (08/05/2019)
Baseline: [13e6676]
+ [13e6676]: GREYTestDO modular imports
Enhancements
- Fixed total animation duration miscalculation.
- Created a separate proxy queue class.
Compatibility
- Release for EarlGreyV2
EarlGrey 2.0.0-rc
2.0.0-rc (06/26/2019)
Baseline: [2421585]
+ [2421585]: Creation of EarlGreyTest and EarlGreyApp podspecs.
Compatibility
- Release candidate for EarlGreyV2
EarlGrey 1.15.1
1.15.1 (05/17/2019)
Baseline: [b15a131]
+ [b15a131]: Fix TrustKit swizzling issues in Earl Grey
Bug Fixes
- Accessibility fix added for device tests on 12.1.
- Fix TrustKit swizzling with proxy delegates for NSURlSession.
- Fixed Swift 5.0 wrappers.
Compatibility
- EarlGrey has now been tested for working till Xcode version 10.1 and Swift 5.
EarlGrey 1.15.0
Change Log
1.15.0 (08/03/2018)
Baseline: [59ce3b6c]
+ [59ce3b6c]: Fix default Swift version in EarlGreyExampleSwiftTests xcode project
Enhancements
- Added support for accessibility in iOS 12.
- Updated the visibility checker to support keyboards in iOS 12.
- Updated Analytics Configurations.
- Fixed Formatting Issues.
- Updated invalid api and compatibility docs.
Compatibility
- EarlGrey has now been tested for working till Xcode version 10.0 beta 2.
- Some of the internal unit tests break on Xcode 9.3+ due to change in exception name thrown by XCTest. Those are still being investigated.
EarlGrey 1.14.0
Change Log
Details changes in each release of EarlGrey. EarlGrey follows semantic versioning.
1.14.0 (06/06/2018)
Baseline: [c201f58]
+ [c201f58]: Fix default Swift version in EarlGreyExampleSwiftTests xcode project
Enhancements
- Add Swift 4 support in the gem.
- Update block declarations to support strict prototypes.
- Add support for PDF display for
UIWebViewIdlingResource
. - Remove Swift 2 in the gem since Xcode 7.x is not supported anymore.
Bug Fixes
- Fix
FTRLocalUIWebViewTest
by updatingtestAJAXLoad
to detect proper web view elements.
Compatibility
- EarlGrey has now been tested for working till Xcode version 9.4. Any small test breakages with Xcode 9.4 are being tested.
Contributors
Thanks to adam-b and keefertaylor!
EarlGrey 1.13.0
Change Log
Details changes in each release of EarlGrey. EarlGrey follows semantic versioning.
1.13.0 (04/03/2018)
Baseline: [2b3939a]
+ [2b3939a]: Fix Swift file issues with the updated EarlGrey code for release 1.13.0
Enhancements
- Add nullability to EarlGrey Headers. Issue #449
- Remove
notNil
method and add explicit check in the matcher itself. - Update the Swift wrapper to used refined methods to prevent discardable result warnings.
- Update EarlGrey assert(with:) calls to assert(_:).
- Move the GREYRunLoopSpinner to spin on the thread passed to it instead of the main thread.
- Add tests for disabled buttons, fix visibility test and add iOS 11 support to tests.
- Move
EarlGreyImpl
interface out of EarlGrey.h. - Add shake motion support to EarlGrey.
Bug Fixes
- Use
TIPreferencesController
to change the keyboard settings so it will not loadTIUserWordsManager
, which can cause occasional crashes on iOS 11.0+. - Tell the preferences not to show keyboard tutorial as it interferes with typing.
- Close MVC unconditionally to prevent erroneous scenarios where it fails to execute the completion block, leaving it resident on the screen forever.
Compatibility
- EarlGrey has now been tested for working till Xcode version 9.3. Any small test breakages with Xcode 9.3 are being tested.