onlyoffice_documentserver_testing_framework 0.5.2 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6eecc9d1a42656ef596c668530eb88060dc2569308371402360fa2de20fa2660
4
- data.tar.gz: 6364c4f7ab34a7907858e64b75e7cf67315cba69a07984d22fd69bddb64d8117
3
+ metadata.gz: 7fb3eaa11a510e38c00fe930fd22388d9110387f4517d33166377e28b2506ea4
4
+ data.tar.gz: 9367abe146b37036e84241728f73218a92964c6b43182f9bba3ec125551e0c81
5
5
  SHA512:
6
- metadata.gz: 13d4c09987f1f13b8e26c570caf751614528fadbf7c7f26fc9f4347cb9e26243d5e2c85a83926e8168f3da8a0668dba58b183272a2a4e208eda5218feed19d90
7
- data.tar.gz: 4de7d7892538d15b9b028ca91d85469454928c2eb49a4c815d4016774553bef4cb4979720029fbce9e237b60f4358d5ca692ea70e1b109bf443a4215641da870
6
+ metadata.gz: c419445c585a34bfcc4c6cc8de39fb530e8ccb68e2092289e0b6e5482fa78158c2107b666b02f5e9864512756d0c7eed5f02f0469b78eeb41afbbeb2f06cf82c
7
+ data.tar.gz: c6dfd6f43927c8e5625ec35f8986a546ceec1baad292bd3a094727755a14abbd8bc54242f94548de026904244689241c6540f924843e167be260d32083a61896
@@ -80,6 +80,8 @@ module OnlyofficeDocumentserverTestingFramework
80
80
 
81
81
  # Wait for operation with round status in canvas editor
82
82
  # @param [Integer] timeout_in_seconds count of seconds to wait
83
+ # @param [Hash] options additional options
84
+ # @option options [Integer] :additional_wait additional after file open. 0 by default
83
85
  def wait_for_operation_with_round_status_canvas(timeout_in_seconds = 300, options = {})
84
86
  result = true
85
87
  OnlyofficeLoggerHelper.log('Start waiting for Round Status')
@@ -133,6 +135,7 @@ module OnlyofficeDocumentserverTestingFramework
133
135
  @instance.selenium.execute_javascript('window.onbeforeunload = null') # OFF POPUP WINDOW
134
136
  @instance.selenium.select_top_frame
135
137
  add_error_handler
138
+ sleep(options.fetch(:additional_wait, 0))
136
139
  result
137
140
  end
138
141
 
@@ -4,6 +4,6 @@ module OnlyofficeDocumentserverTestingFramework
4
4
  # Module to hold version of Gem
5
5
  module Version
6
6
  # [String] version of gem
7
- STRING = '0.5.2'
7
+ STRING = '0.6.0'
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlyoffice_documentserver_testing_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ONLYOFFICE
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-07-02 00:00:00.000000000 Z
12
+ date: 2021-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: onlyoffice_logger_helper
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  - !ruby/object:Gem::Version
234
234
  version: '0'
235
235
  requirements: []
236
- rubygems_version: 3.2.21
236
+ rubygems_version: 3.2.22
237
237
  signing_key:
238
238
  specification_version: 4
239
239
  summary: ONLYOFFICE DocumentServer testing framework