eyes_selenium 3.15.42 → 3.15.43
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c9e3ae2274e1f2707635030fc1e1a25879050b06797679a3c637f9ff1e126f4
|
|
4
|
+
data.tar.gz: 89f3876ae9d1064a904d99736ad1a7fcd77a455f6d1c5a9463e126b89824fa89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d118ec0a86660a244f47ed0298da63a145086b2a3ef82243879923b6412f448223d1e3999c1f9ef2f6173344454f92bc5ac6aa66373dfc910c0dd3bd1022e10
|
|
7
|
+
data.tar.gz: 6aa7e61d569704f1ec879285586a42c916a6fc2fd18427d63791feb5109e7f315f09d0ff0a62ab9dac12d1d29bd5167fdf25c1a7109b0b71b2db346ba5322014
|
|
@@ -120,10 +120,6 @@ module Applitools
|
|
|
120
120
|
end
|
|
121
121
|
# rubocop:enable Metrics/BlockLength
|
|
122
122
|
statuses = poll_render_status(rq)
|
|
123
|
-
if statuses.first['status'] == 'error'
|
|
124
|
-
raise Applitools::EyesError, "Render failed for #{statuses.first['renderId']} with the message: " \
|
|
125
|
-
"#{statuses.first['error']}"
|
|
126
|
-
end
|
|
127
123
|
self.result = statuses.first
|
|
128
124
|
statuses
|
|
129
125
|
end
|
|
@@ -163,8 +163,8 @@ module Applitools
|
|
|
163
163
|
self.on_results = block if block_given?
|
|
164
164
|
end
|
|
165
165
|
|
|
166
|
-
def
|
|
167
|
-
eyes.
|
|
166
|
+
def abort
|
|
167
|
+
eyes.abort
|
|
168
168
|
becomes_completed
|
|
169
169
|
end
|
|
170
170
|
|
|
@@ -207,6 +207,29 @@ module Applitools
|
|
|
207
207
|
eyes.render_status_for_task(render_task.uuid, r[result_index])
|
|
208
208
|
watch_render[render_task] = true
|
|
209
209
|
becomes_rendered if all_tasks_completed?(watch_render)
|
|
210
|
+
elsif r[result_index] && r[result_index]['status'] == 'error'
|
|
211
|
+
watch_render[render_task] = true
|
|
212
|
+
old_check_task = task_queue.shift # remove the old check task
|
|
213
|
+
watch_task[old_check_task] = true
|
|
214
|
+
|
|
215
|
+
check_task = VGTask.new("perform check #{tag} #{target}") do
|
|
216
|
+
logger.error('Running empty test due to render error...')
|
|
217
|
+
eyes.ensure_running_session
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
check_task.on_task_completed do
|
|
221
|
+
watch_task[check_task] = true
|
|
222
|
+
self.task_lock = nil if task_lock.uuid == check_task.uuid
|
|
223
|
+
becomes_tested if all_tasks_completed?(watch_task)
|
|
224
|
+
end
|
|
225
|
+
eyes.render_status_for_task(
|
|
226
|
+
render_task.uuid,
|
|
227
|
+
r[result_index].merge('deviceSize' => browser_info.viewport_size)
|
|
228
|
+
)
|
|
229
|
+
eyes.current_uuid = render_task.uuid
|
|
230
|
+
task_queue.insert(0, check_task)
|
|
231
|
+
watch_task[check_task] = false
|
|
232
|
+
becomes_rendered if all_tasks_completed?(watch_render)
|
|
210
233
|
else
|
|
211
234
|
logger.error "Wrong render status! Render returned status #{r[result_index]['status']}"
|
|
212
235
|
becomes_completed
|
|
@@ -296,9 +296,11 @@ module Applitools
|
|
|
296
296
|
|
|
297
297
|
def abort_if_not_closed
|
|
298
298
|
self.opened = false
|
|
299
|
-
test_list.each(&:
|
|
299
|
+
test_list.each(&:abort)
|
|
300
300
|
end
|
|
301
301
|
|
|
302
|
+
alias abort abort_if_not_closed
|
|
303
|
+
|
|
302
304
|
def open?
|
|
303
305
|
opened
|
|
304
306
|
end
|
|
@@ -358,14 +360,14 @@ module Applitools
|
|
|
358
360
|
alias get_configuration configuration
|
|
359
361
|
alias set_configuration configuration=
|
|
360
362
|
|
|
361
|
-
private :new_test_error_message, :diffs_found_error_message, :test_failed_error_message
|
|
362
|
-
|
|
363
|
-
private
|
|
364
|
-
|
|
365
363
|
def add_mouse_trigger(_mouse_action, _element); end
|
|
366
364
|
|
|
367
365
|
def add_text_trigger(_control, _text); end
|
|
368
366
|
|
|
367
|
+
private :new_test_error_message, :diffs_found_error_message, :test_failed_error_message
|
|
368
|
+
|
|
369
|
+
private
|
|
370
|
+
|
|
369
371
|
def ensure_frame_visible(*_args); end
|
|
370
372
|
|
|
371
373
|
def reset_frames_scroll_position(*_args); end
|
data/lib/applitools/version.rb
CHANGED
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: 3.15.
|
|
4
|
+
version: 3.15.43
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Applitools Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: eyes_core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.15.
|
|
19
|
+
version: 3.15.43
|
|
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.15.
|
|
26
|
+
version: 3.15.43
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: selenium-webdriver
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|