eyes_core 3.17.22 → 3.17.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/applitools/appium/android_region_provider.rb +8 -0
- data/lib/applitools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
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
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
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|