testcentricity 2.3.18 → 2.3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/devices/devices.yml +3 -3
- data/lib/testcentricity/app_elements/app_element_helper.rb +3 -3
- data/lib/testcentricity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8046d5d0ef0d140f8236192547ae759e4a01d8d5
|
4
|
+
data.tar.gz: d58ddbc8a4065f42dbd6be3faeb02f2b483208a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb9e89b65774488523144e1c9754a6cdd8e8c14b1918965ae52085c4a9636fd24688e1e509dd933026b1c67fc306225cc476643b3d668b99643c99a555167b7
|
7
|
+
data.tar.gz: 5c6e2de2fe6426af1887cc7e657008af6df80e9409c6413bb0c96009ac1f00d7a7844eacd6d7905c7a5dd1100d2aeda9250bf612e57db39273f16299ed058fd3
|
data/README.md
CHANGED
@@ -152,6 +152,10 @@ use the [parallel_tests gem](https://rubygems.org/gems/parallel_tests) to decrea
|
|
152
152
|
|
153
153
|
|
154
154
|
## What's Fixed
|
155
|
+
###Version 2.3.19
|
156
|
+
|
157
|
+
* Fixed device profile for `android_phone` - Generic Android Phone
|
158
|
+
|
155
159
|
###Version 2.3.18
|
156
160
|
|
157
161
|
* Fixed `SelectList.choose_option` to also accept `:text`, `:value`, and `:index` option hashes across all types of select list objects.
|
@@ -935,7 +939,7 @@ the `WEB_BROWSER` Environment Variable must be set to one of the values from the
|
|
935
939
|
`iphone8` |`chrome` |375 x 667 |portrait |iOS 11
|
936
940
|
`iphone8_plus` |`chrome` |414 x 736 |portrait |iOS 11
|
937
941
|
`iphonex` |`chrome` |375 x 812 |portrait |iOS 11
|
938
|
-
`android_phone` |`chrome` |
|
942
|
+
`android_phone` |`chrome` |360 x 640 |portrait |Android 4.2.1
|
939
943
|
`nexus6` |`chrome` |411 x 731 |portrait |Android 6
|
940
944
|
`pixel` |`chrome` |411 x 731 |portrait |Android 8
|
941
945
|
`pixel_xl` |`chrome` |411 x 731 |portrait |Android 8
|
data/lib/devices/devices.yml
CHANGED
@@ -106,10 +106,10 @@
|
|
106
106
|
:name: "Generic Android phone"
|
107
107
|
:os: android
|
108
108
|
:type: phone
|
109
|
-
:css_width:
|
110
|
-
:css_height:
|
109
|
+
:css_width: 360
|
110
|
+
:css_height: 640
|
111
111
|
:default_orientation: portrait
|
112
|
-
:user_agent: "Mozilla/5.0 (Linux;
|
112
|
+
:user_agent: "Mozilla/5.0 (Linux; Android 4.2.1; en-us; Nexus 5 Build/JOP40D) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19"
|
113
113
|
nexus6:
|
114
114
|
:name: "Nexus 6 or 6P phone"
|
115
115
|
:os: android
|
@@ -102,15 +102,15 @@ module TestCentricity
|
|
102
102
|
else
|
103
103
|
obj.text
|
104
104
|
end
|
105
|
-
|
105
|
+
elsif Environ.device_os == :ios
|
106
106
|
case obj.tag_name
|
107
107
|
when 'XCUIElementTypeNavigationBar'
|
108
108
|
obj.attribute('name')
|
109
|
-
when 'android.widget.TextView', 'android.widget.Button'
|
110
|
-
obj.text
|
111
109
|
else
|
112
110
|
obj.attribute('label')
|
113
111
|
end
|
112
|
+
else
|
113
|
+
obj.text
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|