appium_lib_core 3.4.2 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/appium_lib_core/common/base/search_context.rb +5 -3
- data/lib/appium_lib_core/driver.rb +3 -0
- data/lib/appium_lib_core/version.rb +2 -2
- data/release_notes.md +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b62c59d17450d1d9c3f8ebed9ca3b3aacaa1deaf3cfe9e114699a8e8bf82460
|
|
4
|
+
data.tar.gz: d212637f293f9545044a77acf07b4ba2209bda5a76d049ed27a354fb7514ab00
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12a1336c1600c555c9c02030bd4a090d2a59569160ef6a14973077f336662a06d1d078cedcd1971f9688533d36b076b422bd92fed6d060880c6da7fdc200c50d
|
|
7
|
+
data.tar.gz: 93072d58a034a15cf78d3e95b4f524eb0a91708529af9cfde5e4cc3bffa51c8333d3f0a38080cb96d6dfe8e39fb5af4355b33c8a73fe78f248b6e7ee1358ecb2
|
data/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,15 @@ Read `release_notes.md` for commit level details.
|
|
|
10
10
|
|
|
11
11
|
### Deprecations
|
|
12
12
|
|
|
13
|
+
## [3.5.0] - 2020-01-11
|
|
14
|
+
|
|
15
|
+
### Enhancements
|
|
16
|
+
- Add `:viewmatcher` selector like `@driver.find_elements :view_matcher, { name: 'withText', args: %w(Accessibility), class: 'androidx.test.espresso.matcher.ViewMatchers' }`
|
|
17
|
+
|
|
18
|
+
### Bug fixes
|
|
19
|
+
|
|
20
|
+
### Deprecations
|
|
21
|
+
|
|
13
22
|
## [3.4.2] - 2019-12-29
|
|
14
23
|
|
|
15
24
|
### Enhancements
|
|
@@ -27,6 +27,7 @@ module Appium
|
|
|
27
27
|
uiautomator: '-android uiautomator', # Unavailable in Espresso
|
|
28
28
|
viewtag: '-android viewtag', # Available in Espresso
|
|
29
29
|
data_matcher: '-android datamatcher', # Available in Espresso
|
|
30
|
+
view_matcher: '-android viewmatcher', # Available in Espresso
|
|
30
31
|
# iOS
|
|
31
32
|
uiautomation: '-ios uiautomation',
|
|
32
33
|
predicate: '-ios predicate string',
|
|
@@ -52,8 +53,9 @@ module Appium
|
|
|
52
53
|
#
|
|
53
54
|
# You can handle settings for the comparision following {https://github.com/appium/appium-base-driver/blob/master/lib/basedriver/device-settings.js#L6 here}
|
|
54
55
|
#
|
|
55
|
-
# == Espresso datamatcher
|
|
56
|
-
# Espresso has
|
|
56
|
+
# == Espresso viewmatcher and datamatcher
|
|
57
|
+
# Espresso has {https://developer.android.com/training/testing/espresso/basics _onView_ matcher}
|
|
58
|
+
# and {https://medium.com/androiddevelopers/adapterviews-and-espresso-f4172aa853cf _onData_ matcher} for more reference
|
|
57
59
|
# that allows you to target adapters instead of Views. This method find methods based on reflections
|
|
58
60
|
#
|
|
59
61
|
# This is a selector strategy that allows users to pass a selector of the form:
|
|
@@ -67,7 +69,7 @@ module Appium
|
|
|
67
69
|
# Can be fully qualified, or simple, and simple defaults to <code>androidx.test.espresso.matcher</code> package
|
|
68
70
|
# (e.g.: <code>class=CursorMatchers</code> fully qualified is <code>class=androidx.test.espresso.matcher.CursorMatchers</code>
|
|
69
71
|
#
|
|
70
|
-
# See example how to send datamatcher in Ruby client
|
|
72
|
+
# See example how to send viewmatcher and datamatcher in Ruby client
|
|
71
73
|
#
|
|
72
74
|
#
|
|
73
75
|
# @overload find_element(how, what)
|
|
@@ -502,6 +502,9 @@ module Appium
|
|
|
502
502
|
when :youiengine
|
|
503
503
|
# https://github.com/YOU-i-Labs/appium-youiengine-driver
|
|
504
504
|
::Appium::Logger.debug('YouiEngine')
|
|
505
|
+
when :mac
|
|
506
|
+
# In this case also can be mac
|
|
507
|
+
::Appium::Logger.debug('mac')
|
|
505
508
|
else
|
|
506
509
|
::Appium::Logger.warn("No matched driver by platformName: #{device} and automationName: #{automation_name}")
|
|
507
510
|
end
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
module Appium
|
|
16
16
|
module Core
|
|
17
|
-
VERSION = '3.
|
|
18
|
-
DATE = '
|
|
17
|
+
VERSION = '3.5.0' unless defined? ::Appium::Core::VERSION
|
|
18
|
+
DATE = '2020-01-11' unless defined? ::Appium::Core::DATE
|
|
19
19
|
end
|
|
20
20
|
end
|
data/release_notes.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
#### v3.5.0 2020-01-11
|
|
2
|
+
|
|
3
|
+
- [79174fd](https://github.com/appium/ruby_lib_core/commit/79174fd6821398eacc32a897c1161140087b11e6) Release 3.5.0
|
|
4
|
+
- [21684c5](https://github.com/appium/ruby_lib_core/commit/21684c5a0cf10ccd55b578dfef039b04fcce515f) feat: add mac for only in automation name
|
|
5
|
+
- [fc7149c](https://github.com/appium/ruby_lib_core/commit/fc7149cbaa199c5bd460d7af49efa2ef09b04243) feat: Add viewmatcher (#247)
|
|
6
|
+
|
|
7
|
+
|
|
1
8
|
#### v3.4.2 2019-12-29
|
|
2
9
|
|
|
3
10
|
- [416ad24](https://github.com/appium/ruby_lib_core/commit/416ad247dc8b5fc36fb88a302a3c0bd335911c65) Release 3.4.2
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appium_lib_core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuaki MATSUO
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: selenium-webdriver
|