eyes_appium 3.14.10 → 3.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/applitools/appium/eyes.rb +6 -3
- data/lib/applitools/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de0b99b8c03c37dc50baea84d27cc7e4274c4ea79b45940947ac8a4128271155
|
4
|
+
data.tar.gz: 5280ed58e3dc9bc79ced28706f2c0abeced3ce07e9ff6630607d3fc7a5ff414f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c01d24b0311559e495ba7be77609845b9cefcf5bf8d576e82d82682c6bd37151cfad2ca176d6d4704729fe9a5d3a2ff4858a1250decb7a17c595e7e98e433da9
|
7
|
+
data.tar.gz: 7495d41959014b34e4c336ff92fd673f1bd4744e972ad87fa7824bf2b48c708891607ae80e8da5023c11f56083ddefec9159f35a2fec0f8131c2cdb66aa9362a
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: false
|
2
2
|
|
3
|
-
class Applitools::Appium::Eyes < Applitools::Selenium::
|
3
|
+
class Applitools::Appium::Eyes < Applitools::Selenium::SeleniumEyes
|
4
4
|
def perform_driver_settings_for_appium_driver
|
5
5
|
self.region_visibility_strategy = Applitools::Selenium::NopRegionVisibilityStrategy.new
|
6
6
|
self.force_driver_resolution_as_viewport_size = true
|
@@ -9,6 +9,7 @@ class Applitools::Appium::Eyes < Applitools::Selenium::Eyes
|
|
9
9
|
def initialize(*args)
|
10
10
|
super
|
11
11
|
self.dont_get_title = true
|
12
|
+
self.runner = Applitools::ClassicRunner.new
|
12
13
|
end
|
13
14
|
|
14
15
|
private :perform_driver_settings_for_appium_driver
|
@@ -29,7 +30,7 @@ class Applitools::Appium::Eyes < Applitools::Selenium::Eyes
|
|
29
30
|
logger.info "check_native(#{name}) is called"
|
30
31
|
update_scaling_params
|
31
32
|
target_to_check = target.finalize
|
32
|
-
match_data = Applitools::MatchWindowData.new
|
33
|
+
match_data = Applitools::MatchWindowData.new(default_match_settings)
|
33
34
|
match_data.tag = name
|
34
35
|
timeout = target_to_check.options[:timeout] || USE_DEFAULT_MATCH_TIMEOUT
|
35
36
|
|
@@ -59,7 +60,7 @@ class Applitools::Appium::Eyes < Applitools::Selenium::Eyes
|
|
59
60
|
end
|
60
61
|
|
61
62
|
def get_app_output_with_screenshot(*args)
|
62
|
-
super do |screenshot|
|
63
|
+
result = super do |screenshot|
|
63
64
|
if scale_provider
|
64
65
|
scaled_image = scale_provider.scale_image(screenshot.image)
|
65
66
|
self.screenshot = Applitools::Appium::Screenshot.new(
|
@@ -76,6 +77,8 @@ class Applitools::Appium::Eyes < Applitools::Selenium::Eyes
|
|
76
77
|
)
|
77
78
|
end
|
78
79
|
end
|
80
|
+
self.screenshot_url = nil
|
81
|
+
result
|
79
82
|
end
|
80
83
|
|
81
84
|
def dom_data
|
data/lib/applitools/version.rb
CHANGED
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: 3.
|
4
|
+
version: 3.16.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-12 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: 3.
|
19
|
+
version: 3.16.3
|
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: 3.
|
26
|
+
version: 3.16.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appium_lib
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ files:
|
|
57
57
|
- lib/eyes_appium.rb
|
58
58
|
homepage: https://www.applitools.com
|
59
59
|
licenses:
|
60
|
-
-
|
60
|
+
- Applitools
|
61
61
|
metadata: {}
|
62
62
|
post_install_message:
|
63
63
|
rdoc_options: []
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
|
-
rubygems_version: 3.0.
|
77
|
+
rubygems_version: 3.0.6
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Applitools Ruby Appium SDK
|