onlyoffice_documentserver_testing_framework 2.17.0 → 2.18.1
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/selenium_wrapper/selenium_wrapper_js_errors/ignored_errors.list +1 -0
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_8_1.list +44 -0
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_8_2.list +45 -0
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions.rb +22 -16
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/management/loader_helper.rb +4 -0
- data/lib/onlyoffice_documentserver_testing_framework/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20aa5c3e8a57cb83e5259631725954fd93ca463faf3f0d68eadd94d31cb29027
|
4
|
+
data.tar.gz: 50e4a3edcb45e9113fa144e91c5136b2793a0a2c518481dfa6f39ce87e1f14ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a2dacd7cf0029864fc40d01632e197a7c10c1d8bbf4fb901c98cc5cc6bd99d6ef18ba1abd172a0ee5043d897fed7d8dc28632541412d325baf8bee48bcd2388
|
7
|
+
data.tar.gz: d7fdfcdb370ca9c0eef5504c504a95241f6087958da81e68dd5a7ec0b53e7ee46f4c443bf8badc1e586d66e59486613417c7a6c09a2edffde263e62ff4050a43
|
@@ -0,0 +1,44 @@
|
|
1
|
+
English
|
2
|
+
Arabic
|
3
|
+
Armenian
|
4
|
+
Azerbaijani
|
5
|
+
Basque
|
6
|
+
Belarusian
|
7
|
+
Bulgarian
|
8
|
+
Catalan
|
9
|
+
Chinese (Simplified)
|
10
|
+
Chinese (Traditional)
|
11
|
+
Czech
|
12
|
+
Danish
|
13
|
+
Dutch
|
14
|
+
English (United Kingdom)
|
15
|
+
Finnish
|
16
|
+
French
|
17
|
+
Galego
|
18
|
+
German
|
19
|
+
Greek
|
20
|
+
Hungarian
|
21
|
+
Indonesian
|
22
|
+
Italian
|
23
|
+
Japanese
|
24
|
+
Korean
|
25
|
+
Lao
|
26
|
+
Latvian
|
27
|
+
Malay (Malaysia)
|
28
|
+
Norwegian
|
29
|
+
Polish
|
30
|
+
Portuguese (Brazil)
|
31
|
+
Portuguese (Portugal)
|
32
|
+
Romanian
|
33
|
+
Russian
|
34
|
+
Serbian (Cyrillic)
|
35
|
+
Serbian (Latin)
|
36
|
+
Sinhala (Sri Lanka)
|
37
|
+
Slovak
|
38
|
+
Slovenian
|
39
|
+
Spanish
|
40
|
+
Swedish
|
41
|
+
Turkish
|
42
|
+
Ukrainian
|
43
|
+
Vietnamese
|
44
|
+
Test Language
|
@@ -0,0 +1,45 @@
|
|
1
|
+
English
|
2
|
+
Arabic
|
3
|
+
Armenian
|
4
|
+
Azerbaijani
|
5
|
+
Basque
|
6
|
+
Belarusian
|
7
|
+
Bulgarian
|
8
|
+
Catalan
|
9
|
+
Chinese (Simplified)
|
10
|
+
Chinese (Traditional)
|
11
|
+
Czech
|
12
|
+
Danish
|
13
|
+
Dutch
|
14
|
+
English (United Kingdom)
|
15
|
+
Finnish
|
16
|
+
French
|
17
|
+
Galego
|
18
|
+
German
|
19
|
+
Greek
|
20
|
+
Hebrew (Israel)
|
21
|
+
Hungarian
|
22
|
+
Indonesian
|
23
|
+
Italian
|
24
|
+
Japanese
|
25
|
+
Korean
|
26
|
+
Lao
|
27
|
+
Latvian
|
28
|
+
Malay (Malaysia)
|
29
|
+
Norwegian
|
30
|
+
Polish
|
31
|
+
Portuguese (Brazil)
|
32
|
+
Portuguese (Portugal)
|
33
|
+
Romanian
|
34
|
+
Russian
|
35
|
+
Serbian (Cyrillic)
|
36
|
+
Serbian (Latin)
|
37
|
+
Sinhala (Sri Lanka)
|
38
|
+
Slovak
|
39
|
+
Slovenian
|
40
|
+
Spanish
|
41
|
+
Swedish
|
42
|
+
Turkish
|
43
|
+
Ukrainian
|
44
|
+
Vietnamese
|
45
|
+
Test Language
|
data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions.rb
CHANGED
@@ -229,22 +229,28 @@ class DocTestSiteFunctions
|
|
229
229
|
|
230
230
|
# @param [DocumentServerVersion] version of server
|
231
231
|
# @return [Array<String>] list of supported languages
|
232
|
-
def self.supported_languages(version = OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(8,
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
232
|
+
def self.supported_languages(version = OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(8, 2, 0))
|
233
|
+
version_class = OnlyofficeDocumentserverTestingFramework::DocumentServerVersion
|
234
|
+
version_mappings = [
|
235
|
+
[version_class.new(8, 2), 'doc_test_site_languages_after_8_2.list'],
|
236
|
+
[version_class.new(8, 1), 'doc_test_site_languages_after_8_1.list'],
|
237
|
+
[version_class.new(8, 0), 'doc_test_site_languages_after_8_0.list'],
|
238
|
+
[version_class.new(7, 4), 'doc_test_site_languages_after_7_4.list'],
|
239
|
+
[version_class.new(7, 3), 'doc_test_site_languages_after_7_3.list'],
|
240
|
+
[version_class.new(7, 2), 'doc_test_site_languages_after_7_2.list'],
|
241
|
+
[version_class.new(7, 1), 'doc_test_site_languages_after_7_1.list'],
|
242
|
+
[version_class.new(6, 2), 'doc_test_site_languages_after_6_2.list']
|
243
|
+
]
|
244
|
+
|
245
|
+
file = 'doc_test_site_languages_before_6_2.list'
|
246
|
+
|
247
|
+
version_mappings.each do |ver, file_name|
|
248
|
+
if version >= ver
|
249
|
+
file = file_name
|
250
|
+
break
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
248
254
|
File.readlines("#{File.expand_path('..', __dir__)}" \
|
249
255
|
'/test_instance_docs/doc_test_site_functions/' \
|
250
256
|
"languages_list/#{file}")
|
data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/management/loader_helper.rb
CHANGED
@@ -32,6 +32,10 @@ module OnlyofficeDocumentserverTestingFramework
|
|
32
32
|
.gsub('px', '').to_i.positive?
|
33
33
|
|
34
34
|
error = selenium_functions(:get_text, "#{alert_xpath}/div[2]/div[1]/div[2]/span").tr("\n", ' ')
|
35
|
+
if error.include?('There are one or more circular references')
|
36
|
+
click_on_button("#{@alert_dialog_xpath}//button[@result='ok']")
|
37
|
+
return nil
|
38
|
+
end
|
35
39
|
"Server Error: #{error}"
|
36
40
|
end
|
37
41
|
|
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.18.1
|
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: 2024-
|
12
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: onlyoffice_logger_helper
|
@@ -83,6 +83,8 @@ files:
|
|
83
83
|
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_7_3.list
|
84
84
|
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_7_4.list
|
85
85
|
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_8_0.list
|
86
|
+
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_8_1.list
|
87
|
+
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_8_2.list
|
86
88
|
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_before_6_2.list
|
87
89
|
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/password_protected_conversion_helper.rb
|
88
90
|
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/integration_example_api.rb
|
@@ -121,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
123
|
- !ruby/object:Gem::Version
|
122
124
|
version: '0'
|
123
125
|
requirements: []
|
124
|
-
rubygems_version: 3.5.
|
126
|
+
rubygems_version: 3.5.23
|
125
127
|
signing_key:
|
126
128
|
specification_version: 4
|
127
129
|
summary: ONLYOFFICE DocumentServer testing framework
|