eyes_selenium 3.17.21 → 3.17.22
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
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 284c32324d2cfe95bca7b81cff669bdc56d65a32
|
|
4
|
+
data.tar.gz: 2f2e38c8d714e01ff644c613a7ad2f3f0666d937
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a704f75a1b3990f2d1378e23388ae0b6d0291e4bc84c9a244e5c18f05b5324a4863899482a9e89d175a808a2a9674e65e18e3a454c35da15caa2e4a204cf716
|
|
7
|
+
data.tar.gz: '0914cf2638d0f9c850e6d0b7c9c28329420872feefb6ccf839af55200dc5cfdedf3fa9032720caa1a30e9ec7ad43d87e84f33b86f7d968f742a137b91ccba159'
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
module IosDeviceName
|
|
2
2
|
extend self
|
|
3
|
+
IPhone_12_Pro_Max = 'iPhone 12 Pro Max'
|
|
4
|
+
IPhone_12_Pro = 'iPhone 12 Pro'
|
|
5
|
+
IPhone_12 = 'iPhone 12'
|
|
6
|
+
IPhone_12_mini = 'iPhone 12 mini'
|
|
3
7
|
IPhone_11_Pro = 'iPhone 11 Pro'
|
|
4
8
|
IPhone_11_Pro_Max = 'iPhone 11 Pro Max'
|
|
5
9
|
IPhone_11 = 'iPhone 11'
|
|
@@ -14,6 +18,10 @@ module IosDeviceName
|
|
|
14
18
|
|
|
15
19
|
def enum_values
|
|
16
20
|
[
|
|
21
|
+
IPhone_12_Pro_Max,
|
|
22
|
+
IPhone_12_Pro,
|
|
23
|
+
IPhone_12,
|
|
24
|
+
IPhone_12_mini,
|
|
17
25
|
IPhone_11_Pro,
|
|
18
26
|
IPhone_11_Pro_Max,
|
|
19
27
|
IPhone_11,
|
|
@@ -16,6 +16,7 @@ module Applitools
|
|
|
16
16
|
result['iosDeviceInfo'] = json_value(ios_device_info) if ios_device_info
|
|
17
17
|
result['region'] = json_value(region) if size_mode == 'region'
|
|
18
18
|
result['selector'] = json_value(region) if size_mode == 'selector'
|
|
19
|
+
result['selector'] = json_value(region) if size_mode == 'full-selector'
|
|
19
20
|
result
|
|
20
21
|
end
|
|
21
22
|
end
|
|
@@ -171,7 +171,7 @@ module Applitools
|
|
|
171
171
|
)
|
|
172
172
|
end
|
|
173
173
|
|
|
174
|
-
if size_mod == 'selector'
|
|
174
|
+
if size_mod == 'selector' || size_mod == 'full-selector'
|
|
175
175
|
target_to_check.convert_coordinates(&Applitools::Selenium::VgMatchWindowData::CONVERT_COORDINATES)
|
|
176
176
|
end
|
|
177
177
|
|
|
@@ -201,7 +201,7 @@ module Applitools
|
|
|
201
201
|
|
|
202
202
|
xpath = driver.execute_script(Applitools::Selenium::Scripts::GET_ELEMENT_XPATH_JS, el)
|
|
203
203
|
web_element_region = Applitools::Selenium::WebElementRegion.new(xpath, v)
|
|
204
|
-
self.region_to_check = web_element_region.dup if v == :target && size_mod == 'selector'
|
|
204
|
+
self.region_to_check = web_element_region.dup if v == :target && (size_mod == 'selector' || size_mod == 'full-selector')
|
|
205
205
|
result << web_element_region
|
|
206
206
|
target.regions[el] = result.size - 1
|
|
207
207
|
end
|
|
@@ -237,7 +237,7 @@ module Applitools
|
|
|
237
237
|
selenium_regions[r] = :accessibility
|
|
238
238
|
end
|
|
239
239
|
end
|
|
240
|
-
selenium_regions[region_to_check] = :target if size_mod == 'selector'
|
|
240
|
+
selenium_regions[region_to_check] = :target if size_mod == 'selector' || size_mod == 'full-selector'
|
|
241
241
|
|
|
242
242
|
selenium_regions
|
|
243
243
|
end
|
|
@@ -249,7 +249,11 @@ module Applitools
|
|
|
249
249
|
|
|
250
250
|
self.size_mod = case element_or_region
|
|
251
251
|
when ::Selenium::WebDriver::Element, Applitools::Selenium::Element
|
|
252
|
-
|
|
252
|
+
if target.options[:stitch_content]
|
|
253
|
+
'full-selector'
|
|
254
|
+
else
|
|
255
|
+
'selector'
|
|
256
|
+
end
|
|
253
257
|
when Applitools::Region
|
|
254
258
|
if element_or_region == Applitools::Region::EMPTY
|
|
255
259
|
if target.options[:stitch_content]
|
data/lib/applitools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eyes_selenium
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.17.
|
|
4
|
+
version: 3.17.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Applitools Team
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: eyes_core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.17.
|
|
19
|
+
version: 3.17.22
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 3.17.
|
|
26
|
+
version: 3.17.22
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: selenium-webdriver
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -179,7 +179,7 @@ homepage: https://www.applitools.com
|
|
|
179
179
|
licenses:
|
|
180
180
|
- Applitools
|
|
181
181
|
metadata: {}
|
|
182
|
-
post_install_message:
|
|
182
|
+
post_install_message:
|
|
183
183
|
rdoc_options: []
|
|
184
184
|
require_paths:
|
|
185
185
|
- lib
|
|
@@ -194,8 +194,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
194
194
|
- !ruby/object:Gem::Version
|
|
195
195
|
version: '0'
|
|
196
196
|
requirements: []
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
rubyforge_project:
|
|
198
|
+
rubygems_version: 2.6.14.3
|
|
199
|
+
signing_key:
|
|
199
200
|
specification_version: 4
|
|
200
201
|
summary: Applitools Ruby Selenium SDK
|
|
201
202
|
test_files: []
|