eyes_core 3.0.5 → 3.0.6
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/capybara.rb +1 -1
- data/lib/applitools/core/eyes_base.rb +1 -1
- data/lib/applitools/core/match_window_data.rb +1 -1
- data/lib/applitools/core/screenshot.rb +1 -1
- data/lib/applitools/core/test_results.rb +1 -1
- data/lib/applitools/images/eyes.rb +2 -2
- 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: 88240d8c8281aa0a2aebc42e03aa5f69c0b032d5
|
|
4
|
+
data.tar.gz: 55d19a9664c77443db2e15fa6ce0626c494278c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 569897493f25be51d5108cf302658f9a3de7b14b01e7054279ca8d62acfe88de361f138581c2d3d7c278493b318bca93c9361b020784d7db74e956f006e0eecb
|
|
7
|
+
data.tar.gz: aa8f2059cad1174f959ee747630f1356e7d3367d322490262e6001c8f90e4138e7b94fcaf5c012de19930b11e12b60fe2bce992b3faafa1df8627ed2c1014021
|
data/lib/applitools/capybara.rb
CHANGED
|
@@ -122,7 +122,7 @@ module Applitools
|
|
|
122
122
|
end
|
|
123
123
|
|
|
124
124
|
Applitools::ArgumentGuard.hash options, 'open_base parameter', [:test_name]
|
|
125
|
-
default_options = { session_type: '
|
|
125
|
+
default_options = { session_type: 'SEQUENTIAL' }
|
|
126
126
|
options = default_options.merge options
|
|
127
127
|
|
|
128
128
|
if app_name.nil?
|
|
@@ -3,7 +3,7 @@ require 'yaml'
|
|
|
3
3
|
module Applitools
|
|
4
4
|
class TestResults
|
|
5
5
|
attr_accessor :is_new, :url
|
|
6
|
-
attr_reader :steps, :matches, :mismatches, :missing
|
|
6
|
+
attr_reader :steps, :matches, :mismatches, :missing, :original_results
|
|
7
7
|
|
|
8
8
|
def initialize(results = {})
|
|
9
9
|
@steps = results.fetch('steps', 0)
|
|
@@ -186,10 +186,10 @@ module Applitools::Images
|
|
|
186
186
|
alias set_viewport_size vp_size=
|
|
187
187
|
|
|
188
188
|
def get_image_from_options(options)
|
|
189
|
-
if options[:image].nil?
|
|
189
|
+
if options[:image].nil? || !options[:image].is_a?(Applitools::Screenshot)
|
|
190
190
|
if !options[:image_path].nil? && !options[:image_path].empty?
|
|
191
191
|
image = Applitools::Screenshot.new ChunkyPNG::Datastream.from_file(options[:image_path]).to_s
|
|
192
|
-
elsif options[:image_bytes].nil? && !options[:image_bytes].empty?
|
|
192
|
+
elsif !options[:image_bytes].nil? && !options[:image_bytes].empty?
|
|
193
193
|
image = Applitools::Screenshot.new options[:image_bytes]
|
|
194
194
|
end
|
|
195
195
|
else
|
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.0.
|
|
4
|
+
version: 3.0.6
|
|
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-03-
|
|
11
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oily_png
|