testcentricity_web 3.2.14 → 3.2.15

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: 4d9e4852a49e06b7eef79080fa6fa7ae3b38b34bb566efdfc044a0622a91142a
4
- data.tar.gz: dac3352d8bdfdbd07b1ee70952592682f47cf703437fa1d784252ac597b27daa
3
+ metadata.gz: 26592250c0f2d078c0f3a246d7763b0d9a7adb59a370432b9c3379e4afa25a34
4
+ data.tar.gz: 53580cd17adb0e117166a9a5c84e674d0849a4b93b4e8e1483053d64dc2d09bb
5
5
  SHA512:
6
- metadata.gz: 2d723a2e9022b234385e3b82018322e491e2f601889b1918deb1458ea3960470bd75053fe0857f62b557c44aeadb523a386ad48c409c32c6049008ddc6a615e4
7
- data.tar.gz: c8136a283701941d5adeca2599070bd96c4a8cc03ede114b380848e1933c4fb54490341c015b67bb6e6191d070f75f402b36dce8e91ede93828b08800a7fb77a
6
+ metadata.gz: d633b9a1ad1d9eb82e1b00e6b4f81e3d145de82ece572e84e3d7881fca3df768a0a71db5bf24642d19b654a47816a5e5fad19d14c771b045b5a4f64c802b5345
7
+ data.tar.gz: 1accebc8d461dd2881e1e7d1c861a9234730704715def6b788929ea51a28581b6f95d23d95339b1eac4bf8ab28015fd4e535ae00acb2d5310bcef4d4c37a7739
@@ -1,6 +1,12 @@
1
1
  # CHANGELOG
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [3.2.15] - 06-APR-2020
5
+
6
+ ### Fixed
7
+ * `PageObject.populate_data_fields` and `PageSection.populate_data_fields` methods accept `String` or `Boolean` values
8
+ for checkboxes and radio buttons.
9
+
4
10
  ## [3.2.14] - 06-APR-2020
5
11
 
6
12
  ### Added
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testcentricity_web (3.2.14)
4
+ testcentricity_web (3.2.15)
5
5
  appium_lib
6
6
  browserstack-local
7
7
  capybara (>= 3.1, < 4)
@@ -89,7 +89,7 @@ GEM
89
89
  coercible (~> 1.0)
90
90
  descendants_tracker (~> 0.0, >= 0.0.3)
91
91
  equalizer (~> 0.0, >= 0.0.9)
92
- webdrivers (4.2.0)
92
+ webdrivers (4.3.0)
93
93
  nokogiri (~> 1.6)
94
94
  rubyzip (>= 1.3.0)
95
95
  selenium-webdriver (>= 3.0, < 4.0)
@@ -1,3 +1,3 @@
1
1
  module TestCentricityWeb
2
- VERSION = '3.2.14'
2
+ VERSION = '3.2.15'
3
3
  end
@@ -279,7 +279,8 @@ module TestCentricity
279
279
  else
280
280
  case data_field.get_object_type
281
281
  when :checkbox
282
- data_field.set_checkbox_state(data_param.to_bool)
282
+ check_state = data_param.is_a?(String) ? data_param.to_bool : data_param
283
+ data_field.set_checkbox_state(check_state)
283
284
  when :selectlist
284
285
  if data_field.get_siebel_object_type == 'JComboBox'
285
286
  data_field.set("#{data_param}\t")
@@ -287,7 +288,8 @@ module TestCentricity
287
288
  data_field.choose_option(data_param)
288
289
  end
289
290
  when :radio
290
- data_field.set_selected_state(data_param.to_bool)
291
+ check_state = data_param.is_a?(String) ? data_param.to_bool : data_param
292
+ data_field.set_selected_state(check_state)
291
293
  when :textfield
292
294
  data_field.set("#{data_param}\t")
293
295
  if integrity_check && data_field.get_value != data_param
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.14
4
+ version: 3.2.15
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-04-06 00:00:00.000000000 Z
11
+ date: 2020-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler