testcentricity_web 2.3.3 → 2.3.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c724649eae19599a56c00729d55705b9ceb62e7a
|
4
|
+
data.tar.gz: cdf9dbe67ff3aded964ca995d89ab90c4b72e783
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce435189eedb17d12c9388fa7fbf922f1a35211a40362f3f36d53dc3436bd9b2540f63c1aa0ad2b2b1522bd7829f587c0a64c68b533ce1e1b7d48b0adf10eae6
|
7
|
+
data.tar.gz: 13c3c461cfc2a4bb1a5b6ddc8bca7a3685e51b1ea5cdf939c0848fff7a8c6d5d130504c9950bd28ced8865a3e3a16e794f54b341decd9c4fc58426c372f38a6a
|
data/README.md
CHANGED
@@ -87,6 +87,11 @@ use the [parallel_tests gem](https://rubygems.org/gems/parallel_tests) to decrea
|
|
87
87
|
|
88
88
|
|
89
89
|
## What's Fixed
|
90
|
+
###Version 2.3.4
|
91
|
+
|
92
|
+
* Fixed bug in `PageObject.populate_data_fields` and `PageSection.populate_data_fields` methods that prevented deletion of data in number type textfields
|
93
|
+
and textarea controls.
|
94
|
+
|
90
95
|
###Version 2.3.3
|
91
96
|
|
92
97
|
* Corrected device profiles for iPad (iOS 10) with Mobile Chrome browser and iPad (iOS 10) with Mobile Firefox browser.
|
@@ -627,12 +627,20 @@ module TestCentricity
|
|
627
627
|
# make sure the intended UI target element exists before trying to set its value
|
628
628
|
data_field.wait_until_exists(2)
|
629
629
|
if data_param == '!DELETE'
|
630
|
-
|
631
|
-
|
632
|
-
|
630
|
+
if data_field.get_native_attribute('tagName').downcase.to_sym == :textarea
|
631
|
+
data_field.set('')
|
632
|
+
else
|
633
|
+
if data_field.get_native_attribute('type').downcase.to_sym == :number
|
634
|
+
data_field.set('')
|
635
|
+
else
|
636
|
+
length = data_field.get_value.length
|
637
|
+
length.times do
|
638
|
+
data_field.send_keys(:backspace)
|
639
|
+
end
|
640
|
+
sleep(0.5)
|
641
|
+
data_field.send_keys(:tab)
|
642
|
+
end
|
633
643
|
end
|
634
|
-
sleep(0.5)
|
635
|
-
data_field.send_keys(:tab)
|
636
644
|
else
|
637
645
|
case data_field.get_object_type
|
638
646
|
when :checkbox
|
@@ -771,12 +771,20 @@ module TestCentricity
|
|
771
771
|
# make sure the intended UI target element exists before trying to set its value
|
772
772
|
data_field.wait_until_exists(2)
|
773
773
|
if data_param == '!DELETE'
|
774
|
-
|
775
|
-
|
776
|
-
|
774
|
+
if data_field.get_native_attribute('tagName').downcase.to_sym == :textarea
|
775
|
+
data_field.set('')
|
776
|
+
else
|
777
|
+
if data_field.get_native_attribute('type').downcase.to_sym == :number
|
778
|
+
data_field.set('')
|
779
|
+
else
|
780
|
+
length = data_field.get_value.length
|
781
|
+
length.times do
|
782
|
+
data_field.send_keys(:backspace)
|
783
|
+
end
|
784
|
+
sleep(0.5)
|
785
|
+
data_field.send_keys(:tab)
|
786
|
+
end
|
777
787
|
end
|
778
|
-
sleep(0.5)
|
779
|
-
data_field.send_keys(:tab)
|
780
788
|
else
|
781
789
|
case data_field.get_object_type
|
782
790
|
when :checkbox
|
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: 2.3.
|
4
|
+
version: 2.3.4
|
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: 2017-12-
|
11
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -274,10 +274,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
274
|
requirements:
|
275
275
|
- Capybara, Selenium-WebDriver
|
276
276
|
rubyforge_project:
|
277
|
-
rubygems_version: 2.
|
277
|
+
rubygems_version: 2.5.1
|
278
278
|
signing_key:
|
279
279
|
specification_version: 4
|
280
280
|
summary: A Page Object and Data Object Model Framework for desktop and mobile web
|
281
281
|
testing
|
282
282
|
test_files: []
|
283
|
-
has_rdoc:
|