eyes_core 6.0.4 → 6.1.1

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
  SHA256:
3
- metadata.gz: c8aea285d071a8d5a74eefcf03d6b8e91b3ce2e51faf182338160a8dd0afcceb
4
- data.tar.gz: e505a416da1880c7223fbdc792c09072ce7555daf8749fb8792efd111412e3a3
3
+ metadata.gz: 682fbdd346c098c9527aa67843d9f0e4d4282f527177c26eb536052f07a35b2e
4
+ data.tar.gz: 37221a5829296c08496a3bdb12e78b4964f2397b8339b7a6bbbdc12c9aa3d3f0
5
5
  SHA512:
6
- metadata.gz: 83ed52e683dac0f5038dc0ef5efec464417bd2c6f486bab332cdd8d4631dc682bdf7337021dc92e3be7b0021b88f3ebffae9bd7004dcb70c5b6b0609179f8d1e
7
- data.tar.gz: 4d33fae565b119464f51550fe01434a6eba03b90cb404ee64fa6b326bf4acf935c079e268e6b79c8c4ae2da49feb6e57812c096d5b850a4b37ab1a0edb68f432
6
+ metadata.gz: 79086eb5727c1400680d7cbc2f064861f4b24e28dd3d5d07e9bdead6e1917189f5c65d520056e5ff7fe6b6e6cb93cf3a9340eb203ff6f138e1c883fae4119d2d
7
+ data.tar.gz: c1eeabbc8af3efd0f2b8d9388f924db018ab4b7e9c15f53ebcfb073897434221accb7e7bdc12a52bcf8c023ebc76ce6fa09029e0d3614c424c63601470485ff7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,104 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.1.1](https://github.com/applitools/eyes.sdk.javascript1/compare/ruby/eyes_core@6.1.0...ruby/eyes_core@6.1.1) (2024-02-29)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/req bumped to 1.6.5
9
+ #### Bug Fixes
10
+
11
+ * fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
12
+ * @applitools/dom-shared bumped to 1.0.13
13
+ #### Bug Fixes
14
+
15
+ * dont execute script synchronously in polling ([#2228](https://github.com/applitools/eyes.sdk.javascript1/issues/2228)) ([04f525b](https://github.com/applitools/eyes.sdk.javascript1/commit/04f525bcac19bc2fb7240928add28f71efcef0ea))
16
+ * @applitools/tunnel-client bumped to 1.4.1
17
+ #### Bug Fixes
18
+
19
+ * upgrade execution-grid-tunnel to avoid port collision ([751e4e2](https://github.com/applitools/eyes.sdk.javascript1/commit/751e4e2441eb85604bbece0a9dbe18fa16b23847))
20
+
21
+
22
+
23
+ * @applitools/dom-capture bumped to 11.2.6
24
+
25
+ * @applitools/dom-snapshot bumped to 4.8.1
26
+
27
+ * @applitools/nml-client bumped to 1.7.2
28
+
29
+ * @applitools/ufg-client bumped to 1.9.10
30
+
31
+ * @applitools/ec-client bumped to 1.7.27
32
+
33
+ * @applitools/core-base bumped to 1.9.1
34
+ #### Bug Fixes
35
+
36
+ * fixed url concatenation logic ([#2197](https://github.com/applitools/eyes.sdk.javascript1/issues/2197)) ([c3b2e0a](https://github.com/applitools/eyes.sdk.javascript1/commit/c3b2e0ad47f002978544eaac759a80f18f7c5ee3))
37
+
38
+
39
+
40
+ * @applitools/core bumped to 4.9.1
41
+
42
+ * eyes_universal bumped to 4.9.1
43
+
44
+
45
+ ## [6.1.0](https://github.com/applitools/eyes.sdk.javascript1/compare/ruby/eyes_core-v6.0.4...ruby/eyes_core@6.1.0) (2024-02-19)
46
+
47
+
48
+ ### Features
49
+
50
+ * add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
51
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
52
+ * generate more enums ([#2179](https://github.com/applitools/eyes.sdk.javascript1/issues/2179)) ([5f4f916](https://github.com/applitools/eyes.sdk.javascript1/commit/5f4f91621b791a02464191123f69b12f590b9efe))
53
+
54
+
55
+ ### Dependencies
56
+
57
+ * @applitools/dom-snapshot bumped to 4.7.17
58
+ #### Bug Fixes
59
+
60
+ * throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
61
+ * @applitools/spec-driver-webdriver bumped to 1.0.57
62
+ #### Bug Fixes
63
+
64
+ * fixed issue with cdp commands on chromium browsers ([#2180](https://github.com/applitools/eyes.sdk.javascript1/issues/2180)) ([550fc77](https://github.com/applitools/eyes.sdk.javascript1/commit/550fc772d3988aae29e6f4a1a11d2a408072dc38))
65
+ * @applitools/spec-driver-puppeteer bumped to 1.4.0
66
+ #### Features
67
+
68
+ * added support for puppeteer >= 22 ([#2185](https://github.com/applitools/eyes.sdk.javascript1/issues/2185)) ([59d23a9](https://github.com/applitools/eyes.sdk.javascript1/commit/59d23a9689d77c7db06df53b67fa293a3b3f166e))
69
+ * @applitools/core bumped to 4.8.0
70
+ #### Features
71
+
72
+ * add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
73
+
74
+
75
+ #### Bug Fixes
76
+
77
+ * missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
78
+ * nml coded region integration with universal ([6fb0934](https://github.com/applitools/eyes.sdk.javascript1/commit/6fb09348238dfe4698856f88e762a9abf80c686f))
79
+ * throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
80
+
81
+
82
+
83
+ * @applitools/screenshoter bumped to 3.8.23
84
+
85
+ * @applitools/nml-client bumped to 1.7.0
86
+ #### Features
87
+
88
+ * add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
89
+
90
+
91
+ #### Bug Fixes
92
+
93
+ * missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
94
+
95
+
96
+
97
+ * @applitools/ec-client bumped to 1.7.25
98
+
99
+ * eyes_universal bumped to 4.8.0
100
+
101
+
3
102
  ## [6.0.4] (2024-02-05)
4
103
 
5
104
  * ### Bug Fixes
@@ -0,0 +1,16 @@
1
+ # GENERATED FILE #
2
+
3
+ module Applitools
4
+ module AccessibilityGuidelinesVersion
5
+ extend self
6
+ WCAG_2_0 = 'WCAG_2_0'.freeze
7
+ WCAG_2_1 = 'WCAG_2_1'.freeze
8
+
9
+ def enum_values
10
+ [
11
+ WCAG_2_0,
12
+ WCAG_2_1,
13
+ ]
14
+ end
15
+ end
16
+ end
@@ -1,57 +1,16 @@
1
- # frozen_string_literal: true
1
+ # GENERATED FILE #
2
2
 
3
3
  module Applitools
4
4
  module AccessibilityLevel
5
5
  extend self
6
- AA = 'AA'
7
- AAA = 'AAA'
6
+ AA = 'AA'.freeze
7
+ AAA = 'AAA'.freeze
8
8
 
9
9
  def enum_values
10
- [AA, AAA]
11
- end
12
- end
13
-
14
- module AccessibilityGuidelinesVersion
15
- extend self
16
- WCAG_2_1 = 'WCAG_2_1'
17
- WCAG_2_0 = 'WCAG_2_0'
18
- def enum_values
19
- [WCAG_2_0, WCAG_2_1]
20
- end
21
- end
22
-
23
- class AccessibilitySettings
24
- attr_reader :config_hash
25
- attr_accessor :validation_errors
26
- extend Applitools::EyesConfigurationDSL
27
-
28
- enum_field :level, Applitools::AccessibilityLevel.enum_values
29
- enum_field :version, Applitools::AccessibilityGuidelinesVersion.enum_values
30
-
31
- def initialize(accessibility_level, guidelines_version)
32
- @config_hash = {}
33
- self.validation_errors = []
34
- self.level = accessibility_level
35
- self.version = guidelines_version
36
- end
37
-
38
- def to_h
39
- @config_hash
40
- end
41
-
42
- def json_data
43
- to_h
44
- end
45
-
46
- # accessibilitySettings?: {
47
- # level?: AccessibilityLevel
48
- # guidelinesVersion?: AccessibilityGuidelinesVersion
49
- # }
50
- def to_hash
51
- {
52
- level: level,
53
- guidelinesVersion: version
54
- }
10
+ [
11
+ AA,
12
+ AAA,
13
+ ]
55
14
  end
56
15
  end
57
16
  end
@@ -1,14 +1,13 @@
1
- # frozen_string_literal: true
1
+ # GENERATED FILE #
2
2
 
3
3
  module Applitools
4
4
  module AccessibilityRegionType
5
5
  extend self
6
-
7
- IGNORE_CONTRAST = 'IgnoreContrast'
8
- REGULAR_TEXT = 'RegularText'
9
- LARGE_TEXT = 'LargeText'
10
- BOLD_TEXT = 'BoldText'
11
- GRAPHICAL_OBJECT = 'GraphicalObject'
6
+ IGNORE_CONTRAST = 'IgnoreContrast'.freeze
7
+ REGULAR_TEXT = 'RegularText'.freeze
8
+ LARGE_TEXT = 'LargeText'.freeze
9
+ BOLD_TEXT = 'BoldText'.freeze
10
+ GRAPHICAL_OBJECT = 'GraphicalObject'.freeze
12
11
 
13
12
  def enum_values
14
13
  [
@@ -16,7 +15,7 @@ module Applitools
16
15
  REGULAR_TEXT,
17
16
  LARGE_TEXT,
18
17
  BOLD_TEXT,
19
- GRAPHICAL_OBJECT
18
+ GRAPHICAL_OBJECT,
20
19
  ]
21
20
  end
22
21
  end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Applitools
4
+ class AccessibilitySettings
5
+ attr_reader :config_hash
6
+ attr_accessor :validation_errors
7
+ extend Applitools::EyesConfigurationDSL
8
+
9
+ enum_field :level, Applitools::AccessibilityLevel.enum_values
10
+ enum_field :version, Applitools::AccessibilityGuidelinesVersion.enum_values
11
+
12
+ def initialize(accessibility_level, guidelines_version)
13
+ @config_hash = {}
14
+ self.validation_errors = []
15
+ self.level = accessibility_level
16
+ self.version = guidelines_version
17
+ end
18
+
19
+ def to_h
20
+ @config_hash
21
+ end
22
+
23
+ def json_data
24
+ to_h
25
+ end
26
+
27
+ # accessibilitySettings?: {
28
+ # level?: AccessibilityLevel
29
+ # guidelinesVersion?: AccessibilityGuidelinesVersion
30
+ # }
31
+ def to_hash
32
+ {
33
+ level: level,
34
+ guidelinesVersion: version
35
+ }
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,16 @@
1
+ # GENERATED FILE #
2
+
3
+ module Applitools
4
+ module AccessibilityStatus
5
+ extend self
6
+ PASSED = 'Passed'.freeze
7
+ FAILED = 'Failed'.freeze
8
+
9
+ def enum_values
10
+ [
11
+ PASSED,
12
+ FAILED,
13
+ ]
14
+ end
15
+ end
16
+ end
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesCore
5
- VERSION = '6.0.4'.freeze
6
- UNIVERSAL_VERSION = '4.7.0'.freeze
5
+ VERSION = '6.1.1'.freeze
6
+ UNIVERSAL_VERSION = '4.9.1'.freeze
7
7
  end
8
8
 
9
9
  VERSION = Applitools::EyesCore::VERSION
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.0.4
4
+ version: 6.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-05 00:00:00.000000000 Z
11
+ date: 2024-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 4.7.0
117
+ version: 4.9.1
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 4.7.0
124
+ version: 4.9.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -292,9 +292,12 @@ files:
292
292
  - lib/applitools/connectivity/user_agent_middleware.rb
293
293
  - lib/applitools/core/abstract_configuration.rb
294
294
  - lib/applitools/core/abstract_region.rb
295
+ - lib/applitools/core/accessibility_guidelines_version.rb
295
296
  - lib/applitools/core/accessibility_level.rb
296
297
  - lib/applitools/core/accessibility_region.rb
297
298
  - lib/applitools/core/accessibility_region_type.rb
299
+ - lib/applitools/core/accessibility_settings.rb
300
+ - lib/applitools/core/accessibility_status.rb
298
301
  - lib/applitools/core/app_environment.rb
299
302
  - lib/applitools/core/app_output.rb
300
303
  - lib/applitools/core/app_output_with_screenshot.rb
@@ -367,7 +370,7 @@ licenses:
367
370
  - Applitools
368
371
  metadata:
369
372
  yard.run: yri
370
- post_install_message:
373
+ post_install_message:
371
374
  rdoc_options: []
372
375
  require_paths:
373
376
  - lib
@@ -382,8 +385,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
382
385
  - !ruby/object:Gem::Version
383
386
  version: '0'
384
387
  requirements: []
385
- rubygems_version: 3.0.3.1
386
- signing_key:
388
+ rubygems_version: 3.4.1
389
+ signing_key:
387
390
  specification_version: 4
388
391
  summary: Core of the Applitools Ruby SDK
389
392
  test_files: []