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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDU3OWRkN2ZhZTZlMWIyNWE4ZTMxOWU4MTZjMTNlMmQ2M2E4MjE0YQ==
4
+ NzNjM2YwMDI1MDM5OTUxY2VkNWFhNWI5Y2RhYzViNjI1MjhlM2RhMA==
5
5
  data.tar.gz: !binary |-
6
- YTMzNTY2YmYwYTMzYzY0NDYxZjcxNjY3MWVjN2FjOTkyYjJmYTJhNw==
6
+ NjE3MjU0M2Y5MmYyYTI5NThjYTQ3ZmU5N2E1ZjQ5MzI3NmI4NzIzMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGUyYWJjOTlmYWJiZmE4OTk1NjlkYTUxODRiNDRhMDc3ZjIxZDEyNTU0OWNm
10
- ZjQyZGI4NGU2YjYxZTliYTM0NmQzYTlmYTNhNzBiOGM3YzA2NjA5YzZmMGFm
11
- NzNiODVmZDM4MmNmNjJmMzMxYjJjNTgxYTdkYTJlYjQ1NmUwMmM=
9
+ MTA2NDgxMzBkM2ExZWM3M2Y3MjhlN2Y5NzQ0ZDM1ZjA2NGIwMDVlMmQyMDVm
10
+ NzlhNjM4NDkyZjY1MzRmYTk3ZjRmY2QxY2YzZDljNjc3MWZlNzQ2NDJlNmUy
11
+ M2E3ZWIxYjk4YjM2NGMzZDU5MGU1MGU0NGQyN2MyNWFmMzhhYTk=
12
12
  data.tar.gz: !binary |-
13
- YzIxOTdiMDlmYTNiOWM2NmEzZGNiYTdlYzVkOGU0NzZiYzU2NjlmYzA5MWZh
14
- YTkyNGI3MGNhMGU0NTQwMTlkYjk2NTc3ZTY3NmY0MzJjZDBlYWJiMDY3ZWYx
15
- MmU0OTE3YmY4YzU5NjExMjFmZDQ3NjEwZGU4YWFlNjVjNmY5MDg=
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
 
@@ -1,3 +1,3 @@
1
1
  module Applitools
2
- VERSION = '1.27.0'
2
+ VERSION = '1.28.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools team