eyes_core 3.18.1 → 3.18.2

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: 61b34e0cc3a83b84a7a4a2c9548eb55ad10c8b4a
4
- data.tar.gz: f017a2093422378561cd8d3236fe696816129a80
3
+ metadata.gz: 36a1a5082471151d4ccbc5683bc06802ae56b776
4
+ data.tar.gz: 1574274f76f4e4eaa271c70308592d3324856d2c
5
5
  SHA512:
6
- metadata.gz: bd0fced9b70f0a10375e81dbbde7ae75cd8f0ee8f7969a176f0156a9c5323e21bb337a0d2a0eb43bd607c4af82a15ee12d8dd79e70d8965099a821fdb69ac980
7
- data.tar.gz: 6a6fef3ccba6a3df74c7a0cd35886036442df8a4b1d365c13cb1a9d05eccd1efc3497653e18fdd3e49d54735472bc9e26a3718757c1ab8677fa61f3628c45ad0
6
+ metadata.gz: 62858147e7ee749c0dfdbb3dfdb992d3ecd8ec7f4269f789a9d71fae9ad007802cd31401382bb08e37b35375f3b532406d6cb9729fb412c2cdadaeba1db8e194
7
+ data.tar.gz: 6681412cf7e58b2e9a3e824ed82bc3dcf1bb1ef1f36e7d045076b8068c1f674614205305c7dbf67875965dee7a21071fa86f7ce8fda102699f64f075eaffb93a
@@ -319,7 +319,7 @@ module Applitools
319
319
  branch_name: branch_name, parent_branch_name: parent_branch_name,
320
320
  baseline_branch_name: baseline_branch_name, save_diffs: save_diffs,
321
321
  properties: properties
322
-
322
+ session_start_info.agent_run_id = agent_run_id if agent_run_id
323
323
  match_window_data.start_info = session_start_info
324
324
  match_window_data.update_baseline_if_new = save_new_tests
325
325
  match_window_data.update_baseline_if_different = save_failed_tests
@@ -597,6 +597,7 @@ module Applitools
597
597
  branch_name: branch_name, parent_branch_name: parent_branch_name,
598
598
  baseline_branch_name: baseline_branch_name, save_diffs: save_diffs,
599
599
  properties: properties
600
+ session_start_info.agent_run_id = agent_run_id if agent_run_id
600
601
 
601
602
  logger.info 'Starting server session...'
602
603
  self.running_session = server_connector.start_session session_start_info
@@ -118,6 +118,7 @@ module Applitools
118
118
  object_field :accessibility_validation, Applitools::AccessibilitySettings, true
119
119
  object_field :properties, Array
120
120
  int_field :match_timeout
121
+ string_field :agent_run_id
121
122
 
122
123
  methods_to_delegate.delete(:batch_info)
123
124
  methods_to_delegate.delete(:batch_info=)
@@ -87,6 +87,10 @@ module Applitools
87
87
  current_data['Options']['Name'] = value
88
88
  end
89
89
 
90
+ def variation_group_id=(value)
91
+ current_data['Options']['variantId'] = value
92
+ end
93
+
90
94
  def user_inputs=(value)
91
95
  Applitools::ArgumentGuard.is_a? value, 'value', Array
92
96
  current_data['UserInputs'] += value.select { |i| i.respond_to? :to_hash }
@@ -5,7 +5,7 @@ module Applitools
5
5
  include Applitools::Jsonable
6
6
  json_fields :batchInfo, :agentId, :appIdOrName, :verId, :environment, :environmentName, :branchName, :defaultMatchSettings,
7
7
  :scenarioIdOrName, :properties, :parentBranchName, :compareWithParentBranch, :baselineEnvName, :saveDiffs, :sessionType,
8
- :baselineBranchName
8
+ :baselineBranchName, :agentRunId
9
9
 
10
10
  wrap_data do |value|
11
11
  { startInfo: value }
@@ -28,6 +28,7 @@ module Applitools
28
28
  self.save_diffs = options[:save_diffs]
29
29
  self.session_type = options[:session_type]
30
30
  self.baseline_branch_name = options[:baseline_branch_name]
31
+ self.agentRunId = options[:agent_run_id] if options[:agent_run_id]
31
32
  end
32
33
 
33
34
  def to_hash
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '3.18.1'.freeze
4
+ VERSION = '3.18.2'.freeze
5
5
  end
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.18.1
4
+ version: 3.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2021-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oily_png