testcentricity_web 3.2.5 → 3.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2d727d3ecf1ba14dc1afc923c8b6598211dcbd1d35003a0ce242204f7f5cbf6
4
- data.tar.gz: 247bcf00e67ee34d8b4d8b55fae4cb902d2dd63560d9aaf18dc93f67bdeb4f71
3
+ metadata.gz: 31b3ef470818525ef0b59b59116de2833f47266718d0aab4f357189899d00e8f
4
+ data.tar.gz: 78e48e5d3528431f1b73d306179d5eb49ad3b0780ec5427cc1aa131f1e68ac79
5
5
  SHA512:
6
- metadata.gz: 935acae2894744449e3e8a968c100802bfcb5ee08ba207afa0b1b30a0b386d972eb7334ffa8bdbff7e0924fb238d8a2fe8ec02af17f6fc171f813503759d33c6
7
- data.tar.gz: 5409ded2396864a06a366e6a811ebc6a516bceedcf3d9fdfa97c874dfa8e0cdc219eb1b02c0978b3f0a39ae8bfb82295ad45d18acad358ae59403a95d955a4cb
6
+ metadata.gz: 4d9f54a051be96846d2d3dfcca8c7182067c346ba6b2c5d0160f8225c25e1ef4ac4768519fd1e3b41e886c37e7b877d989cd49e1ad1930e7ecff1ab8cd644fd0
7
+ data.tar.gz: 07bbceeeb3af72e2bc9b8d8a3e21f31b25a3f922956a76719048e7dde67e071cd5baa37126cd3557b7f57722389781af25850234a85f29ddb09bf06fa0eab16f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # CHANGELOG
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [3.2.6] - 31-JAN-2020
5
+
6
+ ### Changed
7
+ * `Audio.volume` and `Video.volume` methods now return a `Float`.
8
+
4
9
  ## [3.2.5] - 25-JAN-2020
5
10
 
6
11
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testcentricity_web (3.2.5)
4
+ testcentricity_web (3.2.6)
5
5
  appium_lib
6
6
  browserstack-local
7
7
  capybara (>= 3.1, < 4)
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '3.2.5'
2
+ VERSION = '3.2.6'
3
3
  end
@@ -208,14 +208,14 @@ module TestCentricity
208
208
 
209
209
  # Return audio volume property
210
210
  #
211
- # @return [Integer or Float] audio volume setting
211
+ # @return [Float] audio volume setting
212
212
  # @example
213
213
  # volume_level = audio_player.volume
214
214
  #
215
215
  def volume
216
216
  obj, = find_element(visible = :all)
217
217
  object_not_found_exception(obj, :audio)
218
- obj.native.attribute('volume')
218
+ obj.native.attribute('volume').to_f
219
219
  end
220
220
 
221
221
  # Set the audio currentTime property
@@ -208,14 +208,14 @@ module TestCentricity
208
208
 
209
209
  # Return video volume property
210
210
  #
211
- # @return [Integer or Float] video volume setting
211
+ # @return [Float] video volume setting
212
212
  # @example
213
213
  # volume_level = video_player.volume
214
214
  #
215
215
  def volume
216
216
  obj, = find_element
217
217
  object_not_found_exception(obj, nil)
218
- obj.native.attribute('volume')
218
+ obj.native.attribute('volume').to_f
219
219
  end
220
220
 
221
221
  # Return video Height property
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.6
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: 2020-01-25 00:00:00.000000000 Z
11
+ date: 2020-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler