eyes_selenium 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/eyes_selenium/eyes/viewport_size.rb +2 -1
- data/lib/eyes_selenium/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzNjM2YwMDI1MDM5OTUxY2VkNWFhNWI5Y2RhYzViNjI1MjhlM2RhMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjE3MjU0M2Y5MmYyYTI5NThjYTQ3ZmU5N2E1ZjQ5MzI3NmI4NzIzMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTA2NDgxMzBkM2ExZWM3M2Y3MjhlN2Y5NzQ0ZDM1ZjA2NGIwMDVlMmQyMDVm
|
10
|
+
NzlhNjM4NDkyZjY1MzRmYTk3ZjRmY2QxY2YzZDljNjc3MWZlNzQ2NDJlNmUy
|
11
|
+
M2E3ZWIxYjk4YjM2NGMzZDU5MGU1MGU0NGQyN2MyNWFmMzhhYTk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmYxZjQ1OTRlZmVjMDg1MGU2MGFkNDFmNjQ0ZDNjYzYwYmI4NGFjZTY5Zjhh
|
14
|
+
MzE0Y2ZiYWY2YzQzM2U2ZTgwMTdhNTk3YTRiYzE4MjJmMjM4NTNlYTg4ZTEw
|
15
|
+
MDI3MzQ5MzZiMTEzZWVjNTJmNzMxZjQyNDYzYzM4OTliMjA0YzE=
|
@@ -81,12 +81,13 @@ class Applitools::ViewportSize
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def verify_size(to_verify, sleep_time=1, retries=3)
|
84
|
+
cur_size = nil
|
84
85
|
retries.times do
|
85
86
|
sleep(sleep_time)
|
86
87
|
cur_size = send(to_verify)
|
87
88
|
return if cur_size.values == dimension.values
|
88
89
|
end
|
89
|
-
EyesLogger.info(err_msg = "Failed setting #{to_verify} to #{dimension.values}")
|
90
|
+
EyesLogger.info(err_msg = "Failed setting #{to_verify} to #{dimension.values} (current size: #{cur_size})")
|
90
91
|
raise Applitools::TestFailedError.new(err_msg)
|
91
92
|
end
|
92
93
|
|