onlyoffice_documentserver_testing_framework 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/file_reopen_helper.rb +2 -1
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/integration_example_api.rb +5 -2
- data/lib/onlyoffice_documentserver_testing_framework/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab7b2294145d4aaceb138342594c7270e474061641f87374f6df344d435d2ed
|
4
|
+
data.tar.gz: 7fffe8732f397203293276dee2d231e2c1cf75b8c56414edb0f0366a53cb58d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cedc5215f243c8dea0001872f33dfd2174de722dae9d83b2a16130f28be58d47fe83b36b44cc1b8c9bfbc32924eddddaa8b60b8b2d17f8a5d1c11d1d153d33be
|
7
|
+
data.tar.gz: 2fb4b2a130a3d9d125080c0cf88d43284b32d0e23b5bf25ff74bf55999e93730029cafee289730b0f8618185928743b4a4ae441b662fa950ee00baa7ba98e3bb
|
@@ -20,7 +20,8 @@ module OnlyofficeDocumentserverTestingFramework
|
|
20
20
|
size_before = @instance.integration_example_api.file_data(file_name)['pureContentLength'].to_i
|
21
21
|
@instance.go_to_base_url
|
22
22
|
@instance.webdriver.wait_until do
|
23
|
-
@instance.integration_example_api.file_data(file_name)
|
23
|
+
file_data = @instance.integration_example_api.file_data(file_name)
|
24
|
+
!file_data.nil? && file_data['pureContentLength'].to_i != size_before
|
24
25
|
end
|
25
26
|
OnlyofficeLoggerHelper.log("File: `#{file_name}` was built after editing")
|
26
27
|
end
|
data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/integration_example_api.rb
CHANGED
@@ -6,9 +6,12 @@ require 'net/http'
|
|
6
6
|
module OnlyofficeDocumentserverTestingFramework
|
7
7
|
# Class for working with integration example api
|
8
8
|
class IntegrationExampleApi
|
9
|
-
|
9
|
+
# @return [String] url of api endpoint
|
10
|
+
attr_reader :api_endpoint
|
11
|
+
|
12
|
+
def initialize(instance, api_endpoint: "#{instance.doc_server_base_url}/example")
|
10
13
|
@instance = instance
|
11
|
-
@api_endpoint =
|
14
|
+
@api_endpoint = api_endpoint
|
12
15
|
end
|
13
16
|
|
14
17
|
# @return [Array<Hash>] list of file on example
|
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: 2.
|
4
|
+
version: 2.3.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: 2022-02-
|
12
|
+
date: 2022-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: onlyoffice_logger_helper
|