testcentricity 2.3.18 → 2.3.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7457dc7a397379758049f8cded2a9f3f125975c5
4
- data.tar.gz: bf0f1a84f5bbc6dfedef74d78af5213ae0d1bf40
3
+ metadata.gz: 8046d5d0ef0d140f8236192547ae759e4a01d8d5
4
+ data.tar.gz: d58ddbc8a4065f42dbd6be3faeb02f2b483208a0
5
5
  SHA512:
6
- metadata.gz: bcf2dd6f67cd28f22c07a40ee0bc18099389eccb37734d2049c11c9d1fa4df87a568289af5a3ca87e55459576ba817cf53226fc1744aec29df53c40bce782f6f
7
- data.tar.gz: 4dca911af8a4b4b239b5c0d59c4d33efd8bbf6cf1f7739c1e870e2c4df808490e94d2853a6efba3c48c072eec234e6ff228b513f50e09d3de6377afe4e0a7855
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` |320 x 480 |portrait |Android 4
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
@@ -106,10 +106,10 @@
106
106
  :name: "Generic Android phone"
107
107
  :os: android
108
108
  :type: phone
109
- :css_width: 320
110
- :css_height: 480
109
+ :css_width: 360
110
+ :css_height: 640
111
111
  :default_orientation: portrait
112
- :user_agent: "Mozilla/5.0 (Linux; U; Android 4.0.1; en-us; sdk Build/ICS_MR0) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30"
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
- else
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
 
@@ -1,3 +1,3 @@
1
1
  module TestCentricity
2
- VERSION = '2.3.18'
2
+ VERSION = '2.3.19'
3
3
  end
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.18
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 00:00:00.000000000 Z
11
+ date: 2018-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler