eyes_core 3.17.14 → 3.17.15
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/core/app_output.rb +2 -1
- data/lib/applitools/core/match_window_data.rb +1 -1
- data/lib/applitools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dec131b120d4dea34045090708b144981c4418a83a82477f07be4e28262e1e3f
|
4
|
+
data.tar.gz: 84c10bfef90e075c42cf9239508a273cd3a3616681b91b6d2ce7bc72e414ea45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3632dd6809bd7fee35e90ccfb87a95540e72770a6f5ac5290904c30688b5ac18b9b392122c6925e4f06bf733de884117cc868d3496f0af4801b17eae167eae5e
|
7
|
+
data.tar.gz: 56a683ac460b0d1ddb26dfc3d1eed6f1803bd6fb54656ca26d08430695e65354e094e878a6ce34d49883d310fe5e1665c7e9bc39ee4269d195af916990bc2d33
|
@@ -4,7 +4,7 @@ module Applitools
|
|
4
4
|
class AppOutput
|
5
5
|
attr_reader :title, :screenshot64, :location
|
6
6
|
|
7
|
-
attr_accessor :dom_url, :screenshot_url
|
7
|
+
attr_accessor :dom_url, :screenshot_url, :visual_viewport
|
8
8
|
|
9
9
|
def initialize(title, screenshot64)
|
10
10
|
@title = title
|
@@ -25,6 +25,7 @@ module Applitools
|
|
25
25
|
ScreenshotUrl: screenshot_url
|
26
26
|
}
|
27
27
|
result[:DomUrl] = dom_url if dom_url
|
28
|
+
result[:visualViewport] = visual_viewport if visual_viewport
|
28
29
|
result
|
29
30
|
end
|
30
31
|
end
|
@@ -140,7 +140,7 @@ module Applitools
|
|
140
140
|
Applitools::ArgumentGuard.is_a? value, 'value', Applitools::AppOutputWithScreenshot
|
141
141
|
@app_output = value
|
142
142
|
hash_value = Applitools::Utils.capitalize_hash_keys(value.to_hash)
|
143
|
-
[:Screenshot64, :ScreenshotUrl, :Title, :IsPrimary, :Elapsed, :Location, :DomUrl].each do |key|
|
143
|
+
[:Screenshot64, :ScreenshotUrl, :Title, :IsPrimary, :Elapsed, :Location, :DomUrl, :VisualViewport].each do |key|
|
144
144
|
next if hash_value[key].nil?
|
145
145
|
current_data['AppOutput'][key.to_s] = case hash_value[key]
|
146
146
|
when Hash
|
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.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|