testcentricity_web 2.3.4 → 2.3.5
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: 86e224ff9e738e678d44dade01144c45262aa186
|
4
|
+
data.tar.gz: 386f421e94c973fd1b1c40d03ab0245e24fcca25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4de87f0ef86ecdb57aa156ec93325b723fb8ce0e006c79222652fe1c657f3d65a9ccf3c2bede5e88d84f35cd5a7d024fda45b2d2869366dd9eccbed1f7fe7be
|
7
|
+
data.tar.gz: d96608301cc29dce5bf403cb101353ee5afb866a24e8103147f4bda2628afe4b2b39a1cbd5b14cec95c27e70f79fd9d80849fbe5d129125a27ebe3079b529a2b
|
data/README.md
CHANGED
@@ -26,13 +26,18 @@ hosted instances of Chrome, Firefox, Safari, and IE web browsers.
|
|
26
26
|
|
27
27
|
|
28
28
|
## What's New
|
29
|
+
###Version 2.3.5
|
30
|
+
|
31
|
+
* Updated `PageObject.populate_data_fields` and `PageSection.populate_data_fields` methods to be compatible with Redactor editor fields.
|
32
|
+
* Updated device profiles for iPhone 7 (iOS 10) with MS Edge browser, iPhone 7 (iOS 10) with Chrome browser, and iPhone 7 (iOS 10) with Firefox browser.
|
33
|
+
|
29
34
|
###Version 2.3.3
|
30
35
|
|
31
36
|
* Added device profile for iPhone 7 (iOS 10) with MS Edge browser.
|
32
37
|
|
33
38
|
###Version 2.3.1
|
34
39
|
|
35
|
-
* When testing using
|
40
|
+
* When testing using remotely hosted browsers on the BrowserStack service, the BrowserStack Local instance is automatically started if the `TUNNELING`
|
36
41
|
Environment Variable is set to `true`. `Environ.tunneling` will be set to true if the BrowserStack Local instance is succesfully started.
|
37
42
|
* Added `TestCentricity::WebDriverConnect.close_tunnel` method to close BrowserStack Local instance when Local testing is enabled. Refer to the
|
38
43
|
**Remotely hosted desktop and mobile web browsers** section for information on usage.
|
data/lib/devices/devices.yml
CHANGED
@@ -69,7 +69,7 @@
|
|
69
69
|
:css_width: 375
|
70
70
|
:css_height: 667
|
71
71
|
:default_orientation: portrait
|
72
|
-
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/10.
|
72
|
+
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/10.4b8288 Mobile/14G60 Safari/603.3.8"
|
73
73
|
:iphone7_edge:
|
74
74
|
:name: "iPhone 7 - MS Edge"
|
75
75
|
:os: ios
|
@@ -77,7 +77,7 @@
|
|
77
77
|
:css_width: 375
|
78
78
|
:css_height: 667
|
79
79
|
:default_orientation: portrait
|
80
|
-
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.0 EdgiOS/41.
|
80
|
+
:user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.0 EdgiOS/41.6.0.0 Mobile/14G60 Safari/603.3.8"
|
81
81
|
:iphone8:
|
82
82
|
:name: "iPhone 8"
|
83
83
|
:os: ios
|
@@ -245,7 +245,7 @@ nexus6:
|
|
245
245
|
:css_width: 1024
|
246
246
|
:css_height: 768
|
247
247
|
:default_orientation: landscape
|
248
|
-
:user_agent: "Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/10.
|
248
|
+
:user_agent: "Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/10.4b8288 Mobile/14G60 Safari/603.3.8"
|
249
249
|
:android_tablet:
|
250
250
|
:name: "Generic Android tablet"
|
251
251
|
:os: android
|
@@ -627,10 +627,15 @@ 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
|
-
|
630
|
+
case data_field.get_native_attribute('tagName').downcase.to_sym
|
631
|
+
when :textarea
|
632
|
+
data_field.set('')
|
633
|
+
when :div
|
631
634
|
data_field.set('')
|
632
635
|
else
|
633
|
-
|
636
|
+
field_type = data_field.get_native_attribute('type')
|
637
|
+
field_type = field_type.downcase.to_sym unless field_type.nil?
|
638
|
+
if field_type == :number
|
634
639
|
data_field.set('')
|
635
640
|
else
|
636
641
|
length = data_field.get_value.length
|
@@ -771,10 +771,15 @@ 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
|
-
|
774
|
+
case data_field.get_native_attribute('tagName').downcase.to_sym
|
775
|
+
when :textarea
|
776
|
+
data_field.set('')
|
777
|
+
when :div
|
775
778
|
data_field.set('')
|
776
779
|
else
|
777
|
-
|
780
|
+
field_type = data_field.get_native_attribute('type')
|
781
|
+
field_type = field_type.downcase.to_sym unless field_type.nil?
|
782
|
+
if field_type == :number
|
778
783
|
data_field.set('')
|
779
784
|
else
|
780
785
|
length = data_field.get_value.length
|
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.5
|
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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|