eyes_images 6.3.7 → 6.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +118 -0
- data/eyes_images.gemspec +1 -1
- data/lib/applitools/eyes_images/version.rb +1 -1
- data/lib/applitools/images/target.rb +15 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ea4b330217b1ae4b8e7cf334132bd0c4f69e1f565f3fedae556083f4337a045
|
4
|
+
data.tar.gz: 6f5ed27e28f0471aad5a419b3c59e960ab23493552ad3ab2e65ade578cc89068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36f67bbda5afc3c2ee9be115d12d4d10e04703b2cb269a8faa482ef22040add3dfc2a2490593f4841630616d7267239a1cea28f2484a701d84fab2479b0754f4
|
7
|
+
data.tar.gz: 9e095e2ae1870f9f443a49451014dd7f799c855bcd7507a8937f8342589e389bedb8d4c579e6ede0585bfcc110acc100313771da92327d4c49168efa004310bc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,123 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [6.4.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.3.8...ruby/eyes_images@6.4.0) (2024-10-21)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
9
|
+
|
10
|
+
|
11
|
+
### Dependencies
|
12
|
+
|
13
|
+
* @applitools/snippets bumped to 2.5.1
|
14
|
+
#### Bug Fixes
|
15
|
+
|
16
|
+
* isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
|
17
|
+
* @applitools/core-base bumped to 1.18.0
|
18
|
+
#### Features
|
19
|
+
|
20
|
+
* ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
|
21
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
22
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
23
|
+
* @applitools/driver bumped to 1.19.3
|
24
|
+
|
25
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.15
|
26
|
+
|
27
|
+
* @applitools/spec-driver-selenium bumped to 1.5.86
|
28
|
+
|
29
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.15
|
30
|
+
|
31
|
+
* @applitools/screenshoter bumped to 3.9.0
|
32
|
+
#### Features
|
33
|
+
|
34
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
* @applitools/nml-client bumped to 1.8.13
|
39
|
+
|
40
|
+
* @applitools/ec-client bumped to 1.9.9
|
41
|
+
|
42
|
+
* @applitools/core bumped to 4.21.0
|
43
|
+
#### Features
|
44
|
+
|
45
|
+
* add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
|
46
|
+
* capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
|
47
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
48
|
+
* setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
|
49
|
+
|
50
|
+
|
51
|
+
#### Bug Fixes
|
52
|
+
|
53
|
+
* don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
* eyes_universal bumped to 4.21.0
|
58
|
+
|
59
|
+
* eyes_core bumped to 6.4.0
|
60
|
+
#### Features
|
61
|
+
|
62
|
+
* dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
## [6.3.8](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.3.7...ruby/eyes_images@6.3.8) (2024-09-10)
|
68
|
+
|
69
|
+
|
70
|
+
### Dependencies
|
71
|
+
|
72
|
+
* @applitools/dom-capture bumped to 11.4.0
|
73
|
+
#### Features
|
74
|
+
|
75
|
+
* ability to capture all css props in computed style ([#2484](https://github.com/Applitools-Dev/sdk/issues/2484)) ([8769ee5](https://github.com/Applitools-Dev/sdk/commit/8769ee566f2d9e163437c7bcd385ec993f05f370))
|
76
|
+
* @applitools/driver bumped to 1.19.0
|
77
|
+
#### Features
|
78
|
+
|
79
|
+
* add support for env var APPLITOOLS_IS_IC ([#2469](https://github.com/Applitools-Dev/sdk/issues/2469)) ([87d7b5c](https://github.com/Applitools-Dev/sdk/commit/87d7b5cc1f7ea774c6b90504e85296f0681d0b1e))
|
80
|
+
|
81
|
+
|
82
|
+
#### Bug Fixes
|
83
|
+
|
84
|
+
* handle userAgent.brands returned as string ([#2453](https://github.com/Applitools-Dev/sdk/issues/2453)) ([dd6328b](https://github.com/Applitools-Dev/sdk/commit/dd6328be3e7d885714124a8e43aabaae3abecde9))
|
85
|
+
* searching for scrollable element multiple times ([#2493](https://github.com/Applitools-Dev/sdk/issues/2493)) ([d98db80](https://github.com/Applitools-Dev/sdk/commit/d98db8016c6312f467f244444c6f1a87bc09b7da))
|
86
|
+
* @applitools/tunnel-client bumped to 1.5.8
|
87
|
+
#### Bug Fixes
|
88
|
+
|
89
|
+
* upgrade execution-grid-tunnel ([#2475](https://github.com/Applitools-Dev/sdk/issues/2475)) ([e5952b4](https://github.com/Applitools-Dev/sdk/commit/e5952b4ca1bd0c065111ce1109b218f1fd68f6fc))
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
* @applitools/core-base bumped to 1.16.1
|
94
|
+
#### Bug Fixes
|
95
|
+
|
96
|
+
* infinity concurrency ([#2477](https://github.com/Applitools-Dev/sdk/issues/2477)) ([f488e16](https://github.com/Applitools-Dev/sdk/commit/f488e162f124acc249ed7b43b714f13c18306dc8))
|
97
|
+
* @applitools/spec-driver-webdriver bumped to 1.1.12
|
98
|
+
|
99
|
+
* @applitools/spec-driver-selenium bumped to 1.5.83
|
100
|
+
|
101
|
+
* @applitools/spec-driver-puppeteer bumped to 1.4.12
|
102
|
+
|
103
|
+
* @applitools/screenshoter bumped to 3.8.36
|
104
|
+
|
105
|
+
* @applitools/nml-client bumped to 1.8.10
|
106
|
+
|
107
|
+
* @applitools/ec-client bumped to 1.9.4
|
108
|
+
|
109
|
+
* @applitools/core bumped to 4.18.2
|
110
|
+
#### Bug Fixes
|
111
|
+
|
112
|
+
* don't call check-network when executing binary and cli ([#2491](https://github.com/Applitools-Dev/sdk/issues/2491)) ([ef00d20](https://github.com/Applitools-Dev/sdk/commit/ef00d205450b7bbe7abc1bc9bce8d6970f769091))
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
* eyes_universal bumped to 4.18.2
|
117
|
+
|
118
|
+
* eyes_core bumped to 6.3.8
|
119
|
+
|
120
|
+
|
3
121
|
## [6.3.7](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.3.6...ruby/eyes_images@6.3.7) (2024-07-23)
|
4
122
|
|
5
123
|
|
data/eyes_images.gemspec
CHANGED
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
28
28
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
29
29
|
spec.require_paths = %w(lib)
|
30
|
-
spec.add_dependency 'eyes_core', "= 6.
|
30
|
+
spec.add_dependency 'eyes_core', "= 6.4.0"
|
31
31
|
end
|
@@ -33,7 +33,7 @@ module Applitools::Images
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
attr_accessor :image, :options, :ignored_regions, :region_to_check, :floating_regions, :accessibility_regions
|
36
|
+
attr_accessor :image, :options, :ignored_regions, :region_to_check, :floating_regions, :accessibility_regions, :dynamic_regions
|
37
37
|
|
38
38
|
def convert_image_arg(image_arg)
|
39
39
|
if image_arg.is_a?(Applitools::Screenshot)
|
@@ -63,6 +63,7 @@ module Applitools::Images
|
|
63
63
|
self.ignored_regions = []
|
64
64
|
self.floating_regions = []
|
65
65
|
self.accessibility_regions = []
|
66
|
+
self.dynamic_regions = []
|
66
67
|
self.options = {
|
67
68
|
trim: false
|
68
69
|
}
|
@@ -149,6 +150,19 @@ module Applitools::Images
|
|
149
150
|
end
|
150
151
|
end
|
151
152
|
|
153
|
+
def dynamic(*args)
|
154
|
+
dynamic_regions << case args.first
|
155
|
+
when Applitools::DynamicRegion
|
156
|
+
args.first
|
157
|
+
when Applitools::Region
|
158
|
+
Applitools::DynamicRegion.new(args.first, args.last)
|
159
|
+
else
|
160
|
+
dynamic_region_type = args.pop
|
161
|
+
region = Applitools::Region.new(*args)
|
162
|
+
Applitools::DynamicRegion.new(region, dynamic_region_type)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
152
166
|
|
153
167
|
|
154
168
|
private # dupl
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_images
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.4.0
|
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-
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eyes_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 6.
|
19
|
+
version: 6.4.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 6.
|
26
|
+
version: 6.4.0
|
27
27
|
description: Provides Images SDK for Applitools tests.
|
28
28
|
email:
|
29
29
|
- team@applitools.com
|
@@ -43,7 +43,7 @@ licenses:
|
|
43
43
|
- Applitools
|
44
44
|
metadata:
|
45
45
|
yard.run: yri
|
46
|
-
post_install_message:
|
46
|
+
post_install_message:
|
47
47
|
rdoc_options: []
|
48
48
|
require_paths:
|
49
49
|
- lib
|
@@ -58,8 +58,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
|
-
rubygems_version: 3.
|
62
|
-
signing_key:
|
61
|
+
rubygems_version: 3.1.6
|
62
|
+
signing_key:
|
63
63
|
specification_version: 4
|
64
64
|
summary: Applitools Ruby Images SDK
|
65
65
|
test_files: []
|