eyes_core 3.17.18 → 3.17.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/applitools/appium/android_region_provider.rb +8 -0
- data/lib/applitools/version.rb +1 -1
- data/lib/eyes_consts.rb +4 -0
- data/lib/eyes_core.rb +1 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e60232c8c4f56d9a3ce5d51451c34d4b52366d20
|
4
|
+
data.tar.gz: a9f712d9d757ca5ce3563b7346c59d0cd0f6893a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 364de46faa621389349dc015d5ff061c38adcc7b3cfdf0c7cdd77d10728d27e178a3fe67499de52b381c59d1e87d45dcfa50ac38a476b3f6d77c7ca6d39f0c72
|
7
|
+
data.tar.gz: 24cd2636e19894ab0b65da7e44aee46a72df64f8c57b7bd0617a1e49855d382daebdced58c5efdfa48ba7e76395aebd240489c5c604ebbb8d27b25c39afb6f23
|
@@ -12,6 +12,14 @@ module Applitools
|
|
12
12
|
|
13
13
|
def convert_viewport_rect_coordinates
|
14
14
|
region = viewport_rect
|
15
|
+
|
16
|
+
session_info = Applitools::Utils::EyesSeleniumUtils.session_capabilities(driver)
|
17
|
+
if session_info['deviceScreenSize']
|
18
|
+
device_height = session_info['deviceScreenSize'].split('x').last.to_i
|
19
|
+
system_bars_height = driver.get_system_bars.map {|_,v| v['height'] }.sum
|
20
|
+
region['height'] = device_height - system_bars_height
|
21
|
+
end
|
22
|
+
|
15
23
|
Applitools::Region.new(
|
16
24
|
region['left'],
|
17
25
|
region['top'],
|
data/lib/applitools/version.rb
CHANGED
data/lib/eyes_consts.rb
ADDED
data/lib/eyes_core.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.17.
|
4
|
+
version: 3.17.23
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|
@@ -364,6 +364,7 @@ files:
|
|
364
364
|
- lib/applitools/utils/image_utils.rb
|
365
365
|
- lib/applitools/utils/utils.rb
|
366
366
|
- lib/applitools/version.rb
|
367
|
+
- lib/eyes_consts.rb
|
367
368
|
- lib/eyes_core.rb
|
368
369
|
- lib/eyes_rspec.rb
|
369
370
|
- lib/require_utils.rb
|
@@ -372,7 +373,7 @@ licenses:
|
|
372
373
|
- Applitools
|
373
374
|
metadata:
|
374
375
|
yard.run: yri
|
375
|
-
post_install_message:
|
376
|
+
post_install_message:
|
376
377
|
rdoc_options: []
|
377
378
|
require_paths:
|
378
379
|
- lib
|
@@ -388,8 +389,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
388
389
|
- !ruby/object:Gem::Version
|
389
390
|
version: '0'
|
390
391
|
requirements: []
|
391
|
-
|
392
|
-
|
392
|
+
rubyforge_project:
|
393
|
+
rubygems_version: 2.6.14.3
|
394
|
+
signing_key:
|
393
395
|
specification_version: 4
|
394
396
|
summary: Core of the Applitools Ruby SDK
|
395
397
|
test_files: []
|