eyes_selenium 1.33.0 → 1.34.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 +8 -8
- data/lib/eyes_selenium/eyes/eyes.rb +10 -0
- data/lib/eyes_selenium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MDg5ZmMzODY5MjAzMWJlYmY2YjgyMGQ2ZDM5YjFhZjdlYTFkYWZhMg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
M2ZlM2FjYTU4ZmZmNjQ1MTdhYzA0YTJhMDkwOTM1NmZiM2VlOWZmMg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
OTJjODIwYTdiMzZlZTQzYmExOTBmMzM0MDVkY2ZlZGVkZGY2ZTUyZDliZGVh
|
|
10
|
+
MDBjNjgwODU0NWEyMzJkNmNkNGQzNmI0ZmY4ZDg3OTY0ZGE3MTlkZDQ4NDc5
|
|
11
|
+
ZDkwYWU0N2NkZThjZTFkNjViY2Y5OGQ0MTZmYmYzZjc4MThiZTA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YTg4N2ZiNjI1NGQ0YjUyZTM5MmI4N2MwNDA1ZDBjOTE3ZjRiNDE1MzljZmEz
|
|
14
|
+
ZThjNDU5M2U4MGQ4OTYxNDA2ZWI0YTMwYTBjN2RlODgxMmVlN2VmMzBkOGUy
|
|
15
|
+
OTE3MTVkZDRhN2IyOTg0NDBkOWRiMDVhOWFiMDI2ZjVlOTA1OGY=
|
|
@@ -82,6 +82,7 @@ class Applitools::Eyes
|
|
|
82
82
|
EyesLogger.info(msg) and raise Applitools::EyesError.new(msg)
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
+
@user_inputs = []
|
|
85
86
|
@app_name = params.fetch(:app_name)
|
|
86
87
|
@test_name = params.fetch(:test_name)
|
|
87
88
|
@failure_reports = params.fetch(:failure_reports, self.failure_reports)
|
|
@@ -101,6 +102,15 @@ class Applitools::Eyes
|
|
|
101
102
|
end
|
|
102
103
|
|
|
103
104
|
def check_region(how, what, tag=nil)
|
|
105
|
+
return if disabled?
|
|
106
|
+
# We have to start the session if it's not started, since we want the viewport size to be set before getting the
|
|
107
|
+
# element's position and size
|
|
108
|
+
raise Applitools::EyesError.new('Eyes not open') if !open?
|
|
109
|
+
unless session
|
|
110
|
+
start_session
|
|
111
|
+
self.match_window_task = Applitools::MatchWindowTask.new(self, agent_connector, session, driver, match_timeout)
|
|
112
|
+
end
|
|
113
|
+
|
|
104
114
|
element_to_check = driver.find_element(how, what)
|
|
105
115
|
location = element_to_check.location
|
|
106
116
|
size = element_to_check.size
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eyes_selenium
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.34.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: 2014-03-
|
|
11
|
+
date: 2014-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: selenium-webdriver
|