eyes_core 3.15.44 → 3.15.45
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/eyes_base.rb +3 -9
- 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: 7e7036a6f059c7fc7c25416ff8e142c6ab8148761f12fd230a949f8129b82bdd
|
|
4
|
+
data.tar.gz: 40edbf3036ca47c523092884905ddcff12713aa3e79ab96107bf86eff0fd1a2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25b98abc2edfb50fff5ce438af074314dcb00a510011c3e3e231adc48d9468ab260b1831449795ca9feba025ca5c7a046622c3df69e8db959e4f3d8a3db9ac83
|
|
7
|
+
data.tar.gz: 6f09457728793d0f9c74199910be306603df9c741d2026982274d98a3403962bda0b7a6999515b317e0323a6cbc8eb95317b87a87163eb45eb0ac3de10446779
|
|
@@ -617,7 +617,7 @@ module Applitools
|
|
|
617
617
|
end
|
|
618
618
|
end
|
|
619
619
|
|
|
620
|
-
def get_app_output_with_screenshot(region_provider,
|
|
620
|
+
def get_app_output_with_screenshot(region_provider, _last_screenshot)
|
|
621
621
|
dom_url = ''
|
|
622
622
|
captured_dom_data = dom_data
|
|
623
623
|
unless captured_dom_data.empty?
|
|
@@ -650,13 +650,11 @@ module Applitools
|
|
|
650
650
|
|
|
651
651
|
screenshot = yield(screenshot) if block_given?
|
|
652
652
|
|
|
653
|
-
logger.info '
|
|
654
|
-
compress_result = compress_screenshot64 screenshot, last_screenshot
|
|
655
|
-
logger.info 'Done! Getting title...'
|
|
653
|
+
logger.info 'Getting title...'
|
|
656
654
|
a_title = title
|
|
657
655
|
logger.info 'Done!'
|
|
658
656
|
Applitools::AppOutputWithScreenshot.new(
|
|
659
|
-
Applitools::AppOutput.new(a_title,
|
|
657
|
+
Applitools::AppOutput.new(a_title, screenshot).tap do |o|
|
|
660
658
|
o.location = region.location unless region.empty?
|
|
661
659
|
o.dom_url = dom_url unless dom_url && dom_url.empty?
|
|
662
660
|
o.screenshot_url = screenshot_url if respond_to?(:screenshot_url) && !screenshot_url.nil?
|
|
@@ -665,10 +663,6 @@ module Applitools
|
|
|
665
663
|
)
|
|
666
664
|
end
|
|
667
665
|
|
|
668
|
-
def compress_screenshot64(screenshot, _last_screenshot)
|
|
669
|
-
screenshot # it is a stub
|
|
670
|
-
end
|
|
671
|
-
|
|
672
666
|
class UserInputArray < Array
|
|
673
667
|
def add(trigger)
|
|
674
668
|
raise Applitools::EyesIllegalArgument.new 'trigger must be kind of Trigger!' unless trigger.is_a? Trigger
|
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.15.
|
|
4
|
+
version: 3.15.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Applitools Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oily_png
|