onlyoffice_documentserver_testing_framework 0.5.1 → 0.5.2
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 +4 -4
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions.rb +2 -2
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/management.rb +4 -3
- data/lib/onlyoffice_documentserver_testing_framework/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6eecc9d1a42656ef596c668530eb88060dc2569308371402360fa2de20fa2660
|
|
4
|
+
data.tar.gz: 6364c4f7ab34a7907858e64b75e7cf67315cba69a07984d22fd69bddb64d8117
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13d4c09987f1f13b8e26c570caf751614528fadbf7c7f26fc9f4347cb9e26243d5e2c85a83926e8168f3da8a0668dba58b183272a2a4e208eda5218feed19d90
|
|
7
|
+
data.tar.gz: 4de7d7892538d15b9b028ca91d85469454928c2eb49a4c815d4016774553bef4cb4979720029fbce9e237b60f4358d5ca692ea70e1b109bf443a4215641da870
|
data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions.rb
CHANGED
|
@@ -235,8 +235,8 @@ class DocTestSiteFunctions
|
|
|
235
235
|
'doc_test_site_languages_before_6_2.list'
|
|
236
236
|
end
|
|
237
237
|
File.readlines("#{File.expand_path('..', __dir__)}"\
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
'/test_instance_docs/doc_test_site_functions/'\
|
|
239
|
+
"#{file}")
|
|
240
240
|
.map(&:strip)
|
|
241
241
|
end
|
|
242
242
|
end
|
|
@@ -17,7 +17,7 @@ module OnlyofficeDocumentserverTestingFramework
|
|
|
17
17
|
@xpath_iframe_count = 1
|
|
18
18
|
# Don't mixup iframe with help
|
|
19
19
|
@xpath_iframe = '//iframe[not(contains(@src, "/help/")) and '\
|
|
20
|
-
|
|
20
|
+
'not(contains(@id, "fileFrame"))]'
|
|
21
21
|
@alert_dialog_xpath = '//div[@role="alertdialog"]'
|
|
22
22
|
@alert_dialog_span_xpath = "#{@alert_dialog_xpath}/div/div/div/span"
|
|
23
23
|
@xpath_window_modal = "//div[contains(@class, 'asc-window modal')]"
|
|
@@ -59,6 +59,7 @@ module OnlyofficeDocumentserverTestingFramework
|
|
|
59
59
|
def wait_for_mobile_loading
|
|
60
60
|
@instance.selenium.element_visible?('//*[contains(@class,"modal-preloader")]') ||
|
|
61
61
|
@instance.selenium.element_visible?('//*[contains(@class,"loader-page")]') ||
|
|
62
|
+
@instance.selenium.element_visible?('//div[contains(@class, "dialog-preloader")]') ||
|
|
62
63
|
@instance.selenium.get_element('//*[contains(@class,"iScrollVerticalScrollbar")]').nil?
|
|
63
64
|
end
|
|
64
65
|
|
|
@@ -90,8 +91,8 @@ module OnlyofficeDocumentserverTestingFramework
|
|
|
90
91
|
sleep(1)
|
|
91
92
|
current_wait_time += 1
|
|
92
93
|
OnlyofficeLoggerHelper.log('Waiting for Round Status for '\
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
"#{current_wait_time} of "\
|
|
95
|
+
"#{timeout_in_seconds} timeout")
|
|
95
96
|
@instance.doc_editor.windows.txt_options.txt_options = 'Unicode (UTF-8)'
|
|
96
97
|
@instance.spreadsheet_editor.windows.csv_option.csv_options = options
|
|
97
98
|
|
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.
|
|
4
|
+
version: 0.5.2
|
|
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-
|
|
12
|
+
date: 2021-07-02 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.
|
|
236
|
+
rubygems_version: 3.2.21
|
|
237
237
|
signing_key:
|
|
238
238
|
specification_version: 4
|
|
239
239
|
summary: ONLYOFFICE DocumentServer testing framework
|