eyes_core 6.11.4 → 6.11.5
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/CHANGELOG.md +47 -0
- data/eyes_core.gemspec +1 -1
- data/lib/applitools/core/baseline_env_options.rb +12 -0
- data/lib/applitools/core/eyes_base.rb +6 -2
- data/lib/applitools/core/eyes_base_configuration.rb +13 -0
- data/lib/applitools/core/session_start_info.rb +3 -1
- data/lib/applitools/eyes_core/version.rb +1 -1
- data/lib/applitools/universal_sdk/universal_client.rb +1 -1
- data/lib/applitools/universal_sdk/universal_eyes_config.rb +9 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a41af953840000e96f1504a91d2d47f639d292c43a8008a23f46be22ebfc20ee
|
|
4
|
+
data.tar.gz: 9ffebae7ad68131676a1f2f5cfd9df9a6d33b2568226d8279ec6fef8f1ec0590
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbc790b92d33fbc693d0da6af395f87411e96974eab2da22b963fc9f8088e3844e06192a814df2af2628a793d8a059bc669d5a06ff8d6867c0dda080f7eb45bf
|
|
7
|
+
data.tar.gz: 04c4def23413ce7df41a96802b2a45f5812aae9a14eb57210f9be04ae2ef32765f80d04f6b11cc73d3a3f3705dde9c576f3ae0d9802affd99cb803aba9b1ec65
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.11.5](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_core@6.11.4...ruby/eyes_core@6.11.5) (2026-06-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/dom-snapshot bumped to 4.17.3
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* @applitools/snippets bumped to 2.9.3
|
|
16
|
+
#### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
|
|
19
|
+
* @applitools/core bumped to 4.65.0
|
|
20
|
+
#### Features
|
|
21
|
+
|
|
22
|
+
* add useLatestEnvBaseline to session startInfo | AD-14089 ([#3887](https://github.com/Applitools-Dev/sdk/issues/3887)) ([b15b9af](https://github.com/Applitools-Dev/sdk/commit/b15b9af34328193f6705c90a26c24aa1e4b23d1c))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
#### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* capture opaque-origin sandboxed blob iframes in UFG | FLD-4606 ([#3916](https://github.com/Applitools-Dev/sdk/issues/3916)) ([9296f7e](https://github.com/Applitools-Dev/sdk/commit/9296f7ef9fe3aa3889402009860ef5e3276f0303))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
* @applitools/driver bumped to 1.26.3
|
|
32
|
+
|
|
33
|
+
* @applitools/spec-driver-webdriver bumped to 1.6.3
|
|
34
|
+
|
|
35
|
+
* @applitools/spec-driver-selenium bumped to 1.8.3
|
|
36
|
+
|
|
37
|
+
* @applitools/spec-driver-playwright bumped to 1.9.3
|
|
38
|
+
|
|
39
|
+
* @applitools/spec-driver-puppeteer bumped to 1.8.3
|
|
40
|
+
|
|
41
|
+
* @applitools/screenshoter bumped to 3.12.22
|
|
42
|
+
|
|
43
|
+
* @applitools/nml-client bumped to 1.11.31
|
|
44
|
+
|
|
45
|
+
* @applitools/ec-client bumped to 1.12.33
|
|
46
|
+
|
|
47
|
+
* eyes_universal bumped to 4.65.0
|
|
48
|
+
|
|
49
|
+
|
|
3
50
|
## [6.11.4](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_core@6.11.3...ruby/eyes_core@6.11.4) (2026-06-09)
|
|
4
51
|
|
|
5
52
|
|
data/eyes_core.gemspec
CHANGED
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
|
34
34
|
|
|
35
35
|
spec.add_dependency 'oj'
|
|
36
36
|
spec.add_dependency 'websocket'
|
|
37
|
-
spec.add_dependency 'eyes_universal', "= 4.
|
|
37
|
+
spec.add_dependency 'eyes_universal', "= 4.65.0"
|
|
38
38
|
|
|
39
39
|
spec.add_development_dependency 'bundler'
|
|
40
40
|
spec.add_development_dependency 'rake'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Applitools
|
|
4
|
+
# Options for set_baseline_env_name.
|
|
5
|
+
class BaselineEnvOptions
|
|
6
|
+
attr_accessor :use_latest_env_baseline
|
|
7
|
+
|
|
8
|
+
def initialize(use_latest_env_baseline: nil)
|
|
9
|
+
@use_latest_env_baseline = use_latest_env_baseline
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -375,7 +375,9 @@ module Applitools
|
|
|
375
375
|
|
|
376
376
|
self.session_start_info = SessionStartInfo.new agent_id: base_agent_id, app_id_or_name: app_name,
|
|
377
377
|
scenario_id_or_name: test_name, batch_info: batch,
|
|
378
|
-
baseline_env_name: baseline_env_name,
|
|
378
|
+
baseline_env_name: baseline_env_name,
|
|
379
|
+
use_latest_env_baseline: _baseline_env_options&.use_latest_env_baseline,
|
|
380
|
+
environment: app_env,
|
|
379
381
|
default_match_settings: default_match_settings,
|
|
380
382
|
environment_name: environment_name, session_type: session_type,
|
|
381
383
|
branch_name: branch_name, parent_branch_name: parent_branch_name,
|
|
@@ -749,7 +751,9 @@ module Applitools
|
|
|
749
751
|
|
|
750
752
|
self.session_start_info = SessionStartInfo.new agent_id: base_agent_id, app_id_or_name: app_name,
|
|
751
753
|
scenario_id_or_name: test_name, batch_info: batch,
|
|
752
|
-
baseline_env_name: baseline_env_name,
|
|
754
|
+
baseline_env_name: baseline_env_name,
|
|
755
|
+
use_latest_env_baseline: _baseline_env_options&.use_latest_env_baseline,
|
|
756
|
+
environment: app_env,
|
|
753
757
|
default_match_settings: default_match_settings,
|
|
754
758
|
environment_name: environment_name, session_type: session_type,
|
|
755
759
|
branch_name: branch_name, parent_branch_name: parent_branch_name,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
require 'applitools/core/rectangle_size'
|
|
4
4
|
require 'applitools/core/session_types'
|
|
5
5
|
require 'applitools/core/batch_info'
|
|
6
|
+
require 'applitools/core/baseline_env_options'
|
|
6
7
|
require 'applitools/connectivity/proxy'
|
|
7
8
|
require 'applitools/core/match_level'
|
|
8
9
|
require 'applitools/core/match_level_setter'
|
|
@@ -103,6 +104,8 @@ module Applitools
|
|
|
103
104
|
enum_field :session_type, Applitools::SessionTypes.enum_values
|
|
104
105
|
object_field :batch_info, Applitools::BatchInfo
|
|
105
106
|
string_field :baseline_env_name
|
|
107
|
+
# Mirrors the BatchInfo precedent.
|
|
108
|
+
object_field :_baseline_env_options, Applitools::BaselineEnvOptions, true
|
|
106
109
|
string_field :app_name
|
|
107
110
|
string_field :test_name
|
|
108
111
|
object_field :viewport_size, Applitools::RectangleSize
|
|
@@ -137,6 +140,16 @@ module Applitools
|
|
|
137
140
|
"#{test_name} of #{app_name}"
|
|
138
141
|
end
|
|
139
142
|
|
|
143
|
+
# Overload of baseline_env_name= that also accepts a BaselineEnvOptions wrapper.
|
|
144
|
+
def set_baseline_env_name(value, options = nil)
|
|
145
|
+
self.baseline_env_name = value
|
|
146
|
+
if options.is_a?(Applitools::BaselineEnvOptions)
|
|
147
|
+
self._baseline_env_options = options
|
|
148
|
+
end
|
|
149
|
+
self
|
|
150
|
+
end
|
|
151
|
+
methods_to_delegate.push :set_baseline_env_name
|
|
152
|
+
|
|
140
153
|
def set_proxy(uri, user = nil, password = nil)
|
|
141
154
|
self.proxy = Applitools::Connectivity::Proxy.new(uri, user, password)
|
|
142
155
|
end
|
|
@@ -4,7 +4,7 @@ module Applitools
|
|
|
4
4
|
class SessionStartInfo
|
|
5
5
|
include Applitools::Jsonable
|
|
6
6
|
json_fields :batchInfo, :agentId, :appIdOrName, :verId, :environment, :environmentName, :branchName, :defaultMatchSettings,
|
|
7
|
-
:scenarioIdOrName, :properties, :parentBranchName, :compareWithParentBranch, :baselineEnvName, :saveDiffs, :sessionType,
|
|
7
|
+
:scenarioIdOrName, :properties, :parentBranchName, :compareWithParentBranch, :baselineEnvName, :useLatestEnvBaseline, :saveDiffs, :sessionType,
|
|
8
8
|
:baselineBranchName, :agentRunId
|
|
9
9
|
|
|
10
10
|
wrap_data do |value|
|
|
@@ -19,6 +19,8 @@ module Applitools
|
|
|
19
19
|
self.batch_info = options[:batch_info]
|
|
20
20
|
self.environment_name = options[:environment_name]
|
|
21
21
|
self.baseline_env_name = options[:baseline_env_name]
|
|
22
|
+
# BE picker flag; nil-guarded to preserve absent-on-wire
|
|
23
|
+
self.use_latest_env_baseline = options[:use_latest_env_baseline] unless options[:use_latest_env_baseline].nil?
|
|
22
24
|
self.environment = options[:environment]
|
|
23
25
|
self.default_match_settings = options[:default_match_settings]
|
|
24
26
|
self.branch_name = options[:branch_name]
|
|
@@ -115,7 +115,7 @@ module Applitools::Connectivity
|
|
|
115
115
|
[
|
|
116
116
|
:eyesServerUrl, :apiKey, :proxy, :connectionTimeout, :removeSession, :agentId, :appName, :testName, :displayName,
|
|
117
117
|
:userTestId, :sessionType, :properties, :batch, :keepBatchOpen, :environmentName, :environment, :branchName,
|
|
118
|
-
:parentBranchName, :baselineEnvName, :baselineBranchName, :compareWithParentBranch, :ignoreBaseline,
|
|
118
|
+
:parentBranchName, :baselineEnvName, :useLatestEnvBaseline, :baselineBranchName, :compareWithParentBranch, :ignoreBaseline,
|
|
119
119
|
:ignoreGitBranching, :saveDiffs, :abortIdleTestTimeout
|
|
120
120
|
].each do |k|
|
|
121
121
|
config_mapping(config, commands_config[:open], k)
|
|
@@ -42,6 +42,7 @@ module Applitools
|
|
|
42
42
|
# hostOSInfo?: string
|
|
43
43
|
# deviceInfo?: string
|
|
44
44
|
# baselineEnvName?: string
|
|
45
|
+
# useLatestEnvBaseline?: boolean
|
|
45
46
|
# environmentName?: string
|
|
46
47
|
# branchName?: string
|
|
47
48
|
# parentBranchName?: string
|
|
@@ -67,6 +68,7 @@ module Applitools
|
|
|
67
68
|
:hostOSInfo,
|
|
68
69
|
:deviceInfo,
|
|
69
70
|
:baselineEnvName,
|
|
71
|
+
:useLatestEnvBaseline, # inert without baseline_env_name
|
|
70
72
|
:environmentName,
|
|
71
73
|
:branchName,
|
|
72
74
|
:parentBranchName,
|
|
@@ -147,7 +149,7 @@ module Applitools
|
|
|
147
149
|
:aut_proxy,
|
|
148
150
|
] + [
|
|
149
151
|
:environment_name, :branch_name, :default_match_settings, :properties, :parent_branch_name,
|
|
150
|
-
:compare_with_parent_branch, :baseline_env_name, :save_diffs, :session_type, :baseline_branch_name
|
|
152
|
+
:compare_with_parent_branch, :baseline_env_name, :_baseline_env_options, :save_diffs, :session_type, :baseline_branch_name
|
|
151
153
|
]
|
|
152
154
|
|
|
153
155
|
# 51 - 39 - 2 = 10
|
|
@@ -159,6 +161,12 @@ module Applitools
|
|
|
159
161
|
alias stitching_overlap= stitch_overlap=
|
|
160
162
|
alias dont_fetch_resources= disable_browser_fetching=
|
|
161
163
|
|
|
164
|
+
# Unwrap the nested options bundle into the flat IPC wire field expected by core-universal.
|
|
165
|
+
def _baseline_env_options=(value)
|
|
166
|
+
return if value.nil?
|
|
167
|
+
self.use_latest_env_baseline = value.use_latest_env_baseline unless value.use_latest_env_baseline.nil?
|
|
168
|
+
end
|
|
169
|
+
|
|
162
170
|
def initialize(*args)
|
|
163
171
|
options = Applitools::Utils.extract_options! args
|
|
164
172
|
options.keys.select {|k| options[k] && respond_to?("#{k}=") }.each {|k| send("#{k}=", options[k]) }
|
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: 6.11.
|
|
4
|
+
version: 6.11.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Applitools Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oj
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 4.
|
|
47
|
+
version: 4.65.0
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 4.
|
|
54
|
+
version: 4.65.0
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: bundler
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -136,6 +136,7 @@ files:
|
|
|
136
136
|
- lib/applitools/core/app_output.rb
|
|
137
137
|
- lib/applitools/core/app_output_with_screenshot.rb
|
|
138
138
|
- lib/applitools/core/argument_guard.rb
|
|
139
|
+
- lib/applitools/core/baseline_env_options.rb
|
|
139
140
|
- lib/applitools/core/batch_info.rb
|
|
140
141
|
- lib/applitools/core/class_name.rb
|
|
141
142
|
- lib/applitools/core/classic_runner.rb
|