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: 8730857b5f2b0675413cf154b36f17054be7bdb6
4
- data.tar.gz: 6616736edfeddaf9032989ac0c2c07f7a6c1872a
3
+ metadata.gz: dd1acdd13827926e57fe2bf72251ed21ebe7090a
4
+ data.tar.gz: 265b88d8fca7e2e5bc1dca8cc837254bc7307af6
5
5
  SHA512:
6
- metadata.gz: d301b92e73344dce589e3b7552719e71881ec7cc0ee8799de128948ddec8a04e8dc0c8348d2e38b8e08dbe997330fc903dfdfb70c65ac7eeac17753a7274540c
7
- data.tar.gz: 622e3717f754c58dee68d04f0ca3b977ccae7d353252924f3492f193ef09c5da8ab84e45e6ac336b14455d782a9b0e8e6c5285082d9b1bfea93bf15b2388edd9
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
@@ -1,3 +1,3 @@
1
1
  module Applitools
2
- VERSION = '3.7.11'.freeze
2
+ VERSION = '3.8.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.11
4
+ version: 3.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team