eyes_core 3.7.11 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd1acdd13827926e57fe2bf72251ed21ebe7090a
|
4
|
+
data.tar.gz: 265b88d8fca7e2e5bc1dca8cc837254bc7307af6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3517e061b53fb5669ad5f18383932718e00c4b09fba300ec4ac2a24754b2b34425bd5f4f23ca0e1438af35b653537f47b51bbf8a971b1a2224e0078338a00202
|
7
|
+
data.tar.gz: 1838ddf5bd8396bd81f4fe471dff33a80184eeb511094cf15afdb9efd4d4602bdb00fc6b975888b6d2bfe2bfd53646d13e4088502cb51f1bd7e4f8862d9ec8a2
|
@@ -33,7 +33,7 @@ module Applitools
|
|
33
33
|
attr_accessor :app_name, :baseline_name, :branch_name, :parent_branch_name, :batch, :agent_id, :full_agent_id,
|
34
34
|
:match_timeout, :save_new_tests, :save_failed_tests, :failure_reports, :default_match_settings, :cut_provider,
|
35
35
|
:scale_ratio, :host_os, :host_app, :base_line_name, :position_provider, :viewport_size, :verbose_results,
|
36
|
-
:inferred_environment
|
36
|
+
:inferred_environment, :remove_session_if_matching
|
37
37
|
|
38
38
|
abstract_attr_accessor :base_agent_id
|
39
39
|
abstract_method :capture_screenshot, true
|
@@ -49,6 +49,7 @@ module Applitools
|
|
49
49
|
self.running_session = nil
|
50
50
|
self.save_new_tests = true
|
51
51
|
self.save_failed_tests = false
|
52
|
+
self.remove_session_if_matching = false
|
52
53
|
self.agent_id = nil
|
53
54
|
self.last_screenshot = nil
|
54
55
|
@user_inputs = UserInputArray.new
|
@@ -269,6 +270,7 @@ module Applitools
|
|
269
270
|
match_window_data.start_info = session_start_info
|
270
271
|
match_window_data.update_baseline_if_new = save_new_tests
|
271
272
|
match_window_data.update_baseline_if_different = save_failed_tests
|
273
|
+
match_window_data.remove_session_if_matching = remove_session_if_matching
|
272
274
|
match_window_task = Applitools::MatchSingleTask.new(
|
273
275
|
logger,
|
274
276
|
match_timeout,
|
@@ -57,7 +57,8 @@ module Applitools
|
|
57
57
|
},
|
58
58
|
'Tag' => nil,
|
59
59
|
'updateBaselineIfDifferent' => false,
|
60
|
-
'updateBaselineIfNew' => false
|
60
|
+
'updateBaselineIfNew' => false,
|
61
|
+
'removeSessionIfMatching' => false
|
61
62
|
}
|
62
63
|
end
|
63
64
|
end
|
@@ -85,5 +86,9 @@ module Applitools
|
|
85
86
|
def update_baseline_if_new=(value)
|
86
87
|
current_data['updateBaselineIfNew'] = value ? true : false
|
87
88
|
end
|
89
|
+
|
90
|
+
def remove_session_if_matching=(value)
|
91
|
+
current_data['removeSessionIfMatching'] = value ? true : false
|
92
|
+
end
|
88
93
|
end
|
89
94
|
end
|
data/lib/applitools/version.rb
CHANGED