eyes_appium 6.5.0 → 6.6.0
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 +135 -0
- data/eyes_appium.gemspec +1 -1
- data/lib/applitools/appium/eyes.rb +68 -6
- data/lib/applitools/eyes_appium/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 956959aba7c74cb8d9dcd0af6a59ad218d04d6eca749b40204888decc1285965
|
4
|
+
data.tar.gz: 5a1fb116c1af86e1622936981e5e973e5e9e9a472d679aac74d02a81de49a67a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bdb95d63be7802aa5fbd2f58eff51023785d2010dc3f43cf18284e0f228d968a074858ec17a3ee0d296a01e224a6b9c5ce99281b93d2d0afe8c7200e1cc7cae
|
7
|
+
data.tar.gz: 8f84425af749744a9dfb46556955efa1ac5abe5e3f3697398c8b1e7115a5c6f4a1993e9d19502a251884e652a987813f944b1449ccd184d58773b7a237127385
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,140 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [6.6.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_appium@6.5.1...ruby/eyes_appium@6.6.0) (2025-07-23)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* android multi target | AD-9868 ([#2943](https://github.com/Applitools-Dev/sdk/issues/2943)) ([808aa21](https://github.com/Applitools-Dev/sdk/commit/808aa21e489c3562b93006e2e26ff7ffbb743dd6))
|
9
|
+
|
10
|
+
|
11
|
+
### Dependencies
|
12
|
+
|
13
|
+
* @applitools/nml-client bumped to 1.10.0
|
14
|
+
#### Features
|
15
|
+
|
16
|
+
* android multi target | AD-9868 ([#2943](https://github.com/Applitools-Dev/sdk/issues/2943)) ([808aa21](https://github.com/Applitools-Dev/sdk/commit/808aa21e489c3562b93006e2e26ff7ffbb743dd6))
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
* @applitools/core-base bumped to 1.26.0
|
21
|
+
#### Features
|
22
|
+
|
23
|
+
* batch properties limit | FLD-3174 ([#3080](https://github.com/Applitools-Dev/sdk/issues/3080)) ([feb9e79](https://github.com/Applitools-Dev/sdk/commit/feb9e79d79f5eab3c58eac2b4ef3c15a562f079c))
|
24
|
+
* @applitools/core bumped to 4.43.0
|
25
|
+
#### Features
|
26
|
+
|
27
|
+
* android multi target | AD-9868 ([#2943](https://github.com/Applitools-Dev/sdk/issues/2943)) ([808aa21](https://github.com/Applitools-Dev/sdk/commit/808aa21e489c3562b93006e2e26ff7ffbb743dd6))
|
28
|
+
* batch properties limit | FLD-3174 ([#3080](https://github.com/Applitools-Dev/sdk/issues/3080)) ([feb9e79](https://github.com/Applitools-Dev/sdk/commit/feb9e79d79f5eab3c58eac2b4ef3c15a562f079c))
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
* @applitools/ec-client bumped to 1.11.1
|
33
|
+
|
34
|
+
* eyes_universal bumped to 4.43.0
|
35
|
+
|
36
|
+
* eyes_core bumped to 6.8.2
|
37
|
+
|
38
|
+
* eyes_selenium bumped to 6.11.0
|
39
|
+
#### Features
|
40
|
+
|
41
|
+
* android multi target | AD-9868 ([#2943](https://github.com/Applitools-Dev/sdk/issues/2943)) ([808aa21](https://github.com/Applitools-Dev/sdk/commit/808aa21e489c3562b93006e2e26ff7ffbb743dd6))
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
## [6.5.1](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_appium@6.5.0...ruby/eyes_appium@6.5.1) (2025-07-15)
|
47
|
+
|
48
|
+
|
49
|
+
### Dependencies
|
50
|
+
|
51
|
+
* @applitools/dom-snapshot bumped to 4.12.1
|
52
|
+
#### Performance Improvements
|
53
|
+
|
54
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
* @applitools/req bumped to 1.7.15
|
59
|
+
#### Performance Improvements
|
60
|
+
|
61
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
62
|
+
* @applitools/driver bumped to 1.22.1
|
63
|
+
#### Performance Improvements
|
64
|
+
|
65
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
66
|
+
* @applitools/spec-driver-selenium bumped to 1.6.1
|
67
|
+
|
68
|
+
* @applitools/screenshoter bumped to 3.11.7
|
69
|
+
#### Performance Improvements
|
70
|
+
|
71
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
* @applitools/nml-client bumped to 1.9.7
|
76
|
+
#### Performance Improvements
|
77
|
+
|
78
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
* @applitools/tunnel-client bumped to 1.9.0
|
83
|
+
#### Features
|
84
|
+
|
85
|
+
* enable EC healthchecks | AD-10040 ([#3017](https://github.com/Applitools-Dev/sdk/issues/3017)) ([c01c300](https://github.com/Applitools-Dev/sdk/commit/c01c300259427ddae53147a64d30b152960503d9))
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
* @applitools/ufg-client bumped to 1.16.14
|
90
|
+
#### Performance Improvements
|
91
|
+
|
92
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
* @applitools/core-base bumped to 1.25.6
|
97
|
+
#### Performance Improvements
|
98
|
+
|
99
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
* @applitools/ec-client bumped to 1.11.0
|
104
|
+
#### Features
|
105
|
+
|
106
|
+
* enable EC healthchecks | AD-10040 ([#3017](https://github.com/Applitools-Dev/sdk/issues/3017)) ([c01c300](https://github.com/Applitools-Dev/sdk/commit/c01c300259427ddae53147a64d30b152960503d9))
|
107
|
+
|
108
|
+
|
109
|
+
#### Performance Improvements
|
110
|
+
|
111
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
* @applitools/core bumped to 4.42.0
|
116
|
+
#### Features
|
117
|
+
|
118
|
+
* enable EC healthchecks | AD-10040 ([#3017](https://github.com/Applitools-Dev/sdk/issues/3017)) ([c01c300](https://github.com/Applitools-Dev/sdk/commit/c01c300259427ddae53147a64d30b152960503d9))
|
119
|
+
|
120
|
+
|
121
|
+
#### Performance Improvements
|
122
|
+
|
123
|
+
* yarn dedup packages ([#3061](https://github.com/Applitools-Dev/sdk/issues/3061)) ([2fd8951](https://github.com/Applitools-Dev/sdk/commit/2fd8951d6ce9c18a5dbdb648adaa2c454eae9b4e))
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
* @applitools/spec-driver-webdriver bumped to 1.3.1
|
128
|
+
|
129
|
+
* @applitools/spec-driver-puppeteer bumped to 1.5.1
|
130
|
+
|
131
|
+
* eyes_universal bumped to 4.42.0
|
132
|
+
|
133
|
+
* eyes_core bumped to 6.8.1
|
134
|
+
|
135
|
+
* eyes_selenium bumped to 6.10.1
|
136
|
+
|
137
|
+
|
3
138
|
## [6.5.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_appium@6.4.4...ruby/eyes_appium@6.5.0) (2025-07-14)
|
4
139
|
|
5
140
|
|
data/eyes_appium.gemspec
CHANGED
@@ -27,7 +27,7 @@ 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_selenium', "= 6.
|
30
|
+
spec.add_dependency 'eyes_selenium', "= 6.11.0"
|
31
31
|
spec.add_dependency 'appium_lib', '>= 10.6.0'
|
32
32
|
# TODO: remove after appium_lib fix issue on their side at https://github.com/appium/ruby_lib_core/issues/602
|
33
33
|
spec.add_dependency 'selenium-webdriver', ['>= 3', '< 4.30']
|
@@ -26,21 +26,83 @@ class Applitools::Appium::Eyes < Applitools::Selenium::SeleniumEyes
|
|
26
26
|
|
27
27
|
private :perform_driver_settings_for_appium_driver
|
28
28
|
|
29
|
+
# Verifies a target in the application window.
|
30
|
+
#
|
31
|
+
# This method performs a visual check using Applitools AI. It can be called in multiple
|
32
|
+
# ways supporting different argument patterns for flexibility.
|
33
|
+
#
|
34
|
+
# @overload check(tag, target)
|
35
|
+
# @param [String] tag A name to be associated with the check
|
36
|
+
# @param [Applitools::Selenium::Target, Applitools::Appium::Target] target The target for the check
|
37
|
+
#
|
38
|
+
# @overload check(tag, options)
|
39
|
+
# @param [String] tag A name to be associated with the check
|
40
|
+
# @param [Hash] options The options hash
|
41
|
+
# @option options [Applitools::Selenium::Target, Applitools::Appium::Target] :target The target for the check
|
42
|
+
#
|
43
|
+
# @overload check(target)
|
44
|
+
# @param [Applitools::Selenium::Target, Applitools::Appium::Target] target The target for the check
|
45
|
+
#
|
46
|
+
# @overload check(options)
|
47
|
+
# @param [Hash] options The options hash
|
48
|
+
# @option options [String] :name, :tag A name to be associated with the check
|
49
|
+
# @option options [Applitools::Selenium::Target, Applitools::Appium::Target] :target The target for the check
|
50
|
+
#
|
51
|
+
# @example Basic check with tag and target
|
52
|
+
# eyes.check('Login page', Applitools::Appium::Target.window)
|
53
|
+
#
|
54
|
+
# @example Check with tag and hash options
|
55
|
+
# eyes.check('Login form', target: Applitools::Appium::Target.window.fully(false))
|
56
|
+
#
|
57
|
+
# @example Check with target only
|
58
|
+
# eyes.check(Applitools::Appium::Target.window)
|
59
|
+
#
|
60
|
+
# @example Check with options hash
|
61
|
+
# eyes.check(name: 'Login page', target: Applitools::Appium::Target.window)
|
62
|
+
#
|
63
|
+
# @return [Applitools::MatchResult] The match result
|
64
|
+
# @raise [Applitools::EyesIllegalArgument] If the target is not a valid Target instance
|
29
65
|
def check(*args)
|
30
66
|
args.compact!
|
31
|
-
|
67
|
+
|
68
|
+
# Extract name and target based on argument types
|
69
|
+
name = nil
|
70
|
+
target = nil
|
71
|
+
|
72
|
+
# Handle first argument
|
73
|
+
case args.first
|
32
74
|
when String
|
33
|
-
name
|
75
|
+
# Format: check('name', target_object)
|
76
|
+
# Format: check('name', target: target_object)
|
77
|
+
name = args.shift
|
78
|
+
|
79
|
+
# Check if next argument is a hash with :target key
|
80
|
+
if args.first.is_a?(Hash) && args.first.key?(:target)
|
81
|
+
hash_arg = args.shift
|
82
|
+
target = hash_arg[:target]
|
83
|
+
else
|
84
|
+
# Otherwise it should be a direct target object
|
85
|
+
target = args.shift
|
86
|
+
end
|
87
|
+
when Applitools::Selenium::Target, Applitools::Appium::Target
|
88
|
+
# Format: check(target_object)
|
34
89
|
target = args.shift
|
35
|
-
when Applitools::Selenium::Target
|
36
|
-
target = first_arg
|
37
90
|
when Hash
|
38
|
-
|
39
|
-
|
91
|
+
# Format: check(name: 'name', target: target_object)
|
92
|
+
hash_arg = args.shift
|
93
|
+
name = hash_arg[:name] || hash_arg[:tag]
|
94
|
+
target = hash_arg[:target]
|
40
95
|
end
|
41
96
|
|
42
97
|
logger.info "check(#{name}) is called"
|
43
98
|
self.tag_for_debug = name
|
99
|
+
|
100
|
+
# Extract the target object from its container if needed
|
101
|
+
if target.is_a?(Hash) && target.key?(:target)
|
102
|
+
target = target[:target]
|
103
|
+
end
|
104
|
+
|
105
|
+
# Ensure we have a proper Target object
|
44
106
|
Applitools::ArgumentGuard.one_of? target, 'target', [Applitools::Selenium::Target, Applitools::Appium::Target]
|
45
107
|
|
46
108
|
# target.fully(false) if target.options[:stitch_content].nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_appium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eyes_selenium
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 6.
|
19
|
+
version: 6.11.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.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appium_lib
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|