Releases: google/EarlGrey
Releases · google/EarlGrey
EarlGrey 1.5.0
Baseline: [55d42a4]
+ [55d42a4]: Updated ChangeLog and pod spec for 1.5 release
Compatibility
- Requires iOS 8 as the minimum deployment target.
- The EarlGrey gem runs out of the box for Swift 3.0 and Swift 2.3.
- Has been tested for support till iOS 10.01 on devices and simulator.
Bug Fixes
- Failing analytics tests fixes.
- Fixed flaky Travis Stopwatch Test.
- Fixed rspec tests broken by ruby update and changing the directory.
Enhancements
- Improved UIAppStateTracker APIs to allow for ignoring states.
- Improved failure handlers for multiple invocations within context of a valid test case.
Deprecations
- Swift 2.2 is no longer supported.
EarlGrey 1.4.0
1.4.0 (10/07/2016)
Baseline: [b5e34db]
+ [b5e34db]: Update Info.plist / Podspec / Cheatsheet for EarlGrey 1.4.0
Compatibility
- Requires iOS 8 as the minimum deployment target.
- EarlGrey.gem runs out of the box for Swift 2.2.x. For Swift 3.0, please
use the Swift Migration Guide to
add theUse Legacy Swift
build setting to your test target until we
provide support. - Has been tested for support till iOS 10.01 on devices and simulator.
Enhancements
- A better way to blacklist URL's in GREYConfiguration by adding them to an NSArray.
- A verbose logger to provide more descriptive EarlGrey logs that can be enabled by passing
-kGREYAllowVerboseLogging YES
as a command line argument to xcodebuild. Verbose
logging also measures the performance of interactions and the thread executor
by using a stopwatch class. - Improvements to
-[XCTestCase greyStatus]
to better reflect the status of a test.
Bug Fixes
- Corrected selection of
UIPickerView
s even when they were disabled. - Minor documentation and syntax fixes.
EarlGrey 1.3.1
Change Log
Details changes in each release of EarlGrey. EarlGrey follows semantic versioning.
1.3.1 (09/19/2016)
Baseline: [c4913b]
+ [c4913b]: Update compatibility doc to include iOS 10.
Compatibility
- Requires iOS 8 as the minimum deployment target.
- Has been tested for support till iOS 10.01 on devices and simulator.
Enhancements
- Add autolayout to
FTRTypingViewController
Bug Fixes
- Minor documentation and syntax fixes.
- Fixed Functional Test Project scheme preventing it to be run on devices.
- Add a temporary hold on the xcodeproj gem dependency to unblock tests.
EarlGrey 1.3.0
EarlGrey Release 1.3.0 (09/09/2016)
Baseline: [6b2f329]
+ [6b2f329]: Add fixes for documentation.
Compatibility
- Requires iOS 8 as the minimum deployment target.
- Has been tested for support till iOS 10 beta 4.
New Features
- The following new matchers were added EarlGrey:
grey_selected
: Checks if a UIControl is selected.grey_accessibilityFocused
: Checks if a UI element is focused by accessibility technologies
like Voiceover or Switch Control.
Enhancements
- Added an API to find the
XCTestCase
status through an EarlGrey test run. - Improved the failure description in the failure handler.
- Made the
EarlGrey.swift
file syntax swiftier. - Improved Unit and Functional test coverage.
Bug Fixes
- Fixed Travis issue with the Ruby version.
- Minor documentation and syntax fixes.
Deprecations
grey_elementAtIndex
has been removed in favor of theatIndex:
interaction API. For migrating
your tests, please follow the announcement
here.
Contributors
Special thanks to axi0mX, bootstraponline, KazuCocoa and the rest of our contributors.
EarlGrey 1.2.0
EarlGrey Release 1.2.0 (08/31/2016)
Baseline: [7070e1a]
+ [7070e1a]: Updated cheatsheet and podspec for 1.2.0 release
New Features
- EarlGrey now supports multi-touch gestures! Following pinch actions have been added:
grey_pinchFastInDirection
grey_pinchSlowInDirection
- Added
atIndex:
interaction API to select from multiple element matches.
Enhancements
- Updated Swift Macros in EarlGrey gem.
- Implemented matcher for UIScrollView scrolled to content edge.
Bug Fixes
- Fixed several typos and cleaned up many project files with proper error messages.
- Added carthage
xcodebuild
command to Travis CI. - Fixed issue with action{Did,Will}PerformAction notification and its userInfo.
- Updated protocol signatures.
Deprecation
grey_elementAtIndex
/matcherForElementAtIndex:
has been deprecated, please useatIndex:
interaction API instead.- In Swift,
GREYFail
has been deprecated, please useGREYFailWithDetails
instead.
Contributors
Special thanks to axi0mX and the rest of our contributors.
EarlGrey 1.1.0
1.1.0 (08/18/2016)
Baseline: [107dba5]
+ [107dba5]: Update podspec for 1.1.0 release [ci skip]
New Features
- API reference documentation generated via Jazzy
- Cheatsheet for EarlGrey
- Carthage support
- Easier CocoaPods setup using EarlGrey gem
which replaces manually copying overconfigure_earlgrey_pods.rb
andEarlGrey.swift
file.
Enhancements
- For demonstration purposes added Swift demo app and tests
- Update documentation for Swift usage
- Update contribution guidelines
- Added
grey_allOfMatchers
andgrey_anyOfMatchers
to EarlGrey.swift - Use XCTest's mechanism of halting test execution instead of throwing arbitrary exception
- Helper method to speed up animation
- Added
grey_replaceText
action to directly replace text (without using keyboard) on a field - Created
grey_atIndex
matcher for matching a single element from a list of matched elements - Updated FAQs with questions and examples
- Update install guide with Cocoapods 0.39 support
- Added Badge for License, Cocoapod, and Travis
- Efficiency improvement in
GREYAppStateTracker
reducing O(n) to constant amortized time - Improved webview synchronization
- Added tracking for
dispatch_async_f
anddispatch_sync_f
methods - Reduce throttling of CPU by allowing runloops to sleep when idle
- Removed unnecessary runloop drains improving overall speed and reliability
- Introduced trackers for
NSManagedObjectContext
- Signal handlers and uncaught exception handler invoke previously installed handlers
- Improved accessibility logic to support beta versions of iOS 10
Bug Fixes
- Race conditions in
GREYOperationQueueIdlingResourceTest
- Race conditions in
GREYDispatchQueueIdlingResourceTest
- Addressed Swift 3 related warnings in
EarlGrey.swift
- Resigning first responder for autocorrect-enabled fields causes keyboard track to mistrack
keyboard disappearance events - EarlGrey.xcodeproj fails to build for device because code signing identities aren't set
correctly - Assertion failure in
-[GREYElementProvider dataEnumerator]
due to nil accessibility element - Rubocop warnings in configure_earlgrey_pods.rb script and Podfile
- EarlGreyFunctionalTests
testSwipeOnWindow
always fails on iPhone 4S - If parent directory has spaces,
setup-earlgrey.sh
will fail and exit - Retain cycle in
GREYElementInteraction
- Retain cycle in
UIApplication
mock in test suite - Changed CFBundlePackageType in EarlGrey-Info.plist to FMWK
Contributors
Special thanks to bootstraponline, axi0mX, and the rest of our contributors.