2.3.1
What's Changed
- #49 Custom name for matcher object for Espresso, UiAutomator, Compose by @alex-tiurin in #57
- #50 meta info by @alex-tiurin in #57
There are 2 new general methods:
withName(name: String)
withMetaInfo(meta: Any)
By default name
is used in exceptions messages.
These data also could be used in listeners and result analyzers:
class MetaListener: UltronLifecycleListener(){
override fun afterFailure(operationResult: OperationResult<Operation>) {
val name = operationResult.operation.elementInfo.name
val metaInfo = operationResult.operation.elementInfo.meta
}
}
Full Changelog: 2.3.0...2.3.1