eyes_core 3.13.0 → 3.14.0
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 +4 -4
- data/lib/applitools/utils/eyes_selenium_utils.rb +2 -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: 65a63d6b6368ae920b07ea4b8af795628f19fb4f
|
|
4
|
+
data.tar.gz: a0336f5ed5f9dba8b367cd36bdec75cd5650db99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5243869f82ef38247c7c7422ff4062063e53c99ebca81bf45630d46c6752c6e77257817196c3929ee25ba47c8f560cfd44a194b31c041fa21dd850afd5dcf21c
|
|
7
|
+
data.tar.gz: 6b62b19d557bb951082b729f74028e87f7dc1becbf6aa1d016764524b092788a594c7a20b20634409df04d7f1269b08197a87b2976b8839023efc0bcd4221e64
|
|
@@ -187,6 +187,7 @@ module Applitools::Utils
|
|
|
187
187
|
|
|
188
188
|
# @param [Applitools::Selenium::Driver] executor
|
|
189
189
|
def entire_page_size(executor)
|
|
190
|
+
return Applitools::MOCK_ENTIRE_SIZE if defined?(Applitools::MOCK_ENTIRE_SIZE)
|
|
190
191
|
metrics = page_metrics(executor)
|
|
191
192
|
max_document_element_height = [metrics[:client_height], metrics[:scroll_height]].max
|
|
192
193
|
max_body_height = [metrics[:body_client_height], metrics[:body_scroll_height]].max
|
|
@@ -198,6 +199,7 @@ module Applitools::Utils
|
|
|
198
199
|
end
|
|
199
200
|
|
|
200
201
|
def current_frame_content_entire_size(executor)
|
|
202
|
+
return Applitools::MOCK_ENTIRE_SIZE if defined?(Applitools::MOCK_ENTIRE_SIZE)
|
|
201
203
|
dimensions = executor.execute_script(JS_GET_CONTENT_ENTIRE_SIZE)
|
|
202
204
|
Applitools::RectangleSize.new(dimensions.first.to_i, dimensions.last.to_i)
|
|
203
205
|
rescue
|
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.
|
|
4
|
+
version: 3.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Applitools Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oily_png
|