onlyoffice_documentserver_testing_framework 2.17.0 → 2.18.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/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: e11e6253bb6183d4692d3875cc8ed202d8379eaf939d0e44b40f58dab133c1be
|
4
|
+
data.tar.gz: 8fa6f12250268d00938c57730be9a363764e72caae47c30f47493ad4ec159add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91cc76f6c6b89b9e5bbd78562205e2d8eb5e1dd5285fc8b035081a6e125b6ac01b468f6df298d25edeef899d61f2808bc7e3d38bf9858560d47f52033243b106
|
7
|
+
data.tar.gz: ccce7eafb744394b1f420a408656b4eea79d20552c1beeea64c5f883c7b1b2d1d49462ba1aa2e9d742df2652fb4125ab9330a2559d70b86aae945beaea80134d
|
@@ -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.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: 2024-
|
12
|
+
date: 2024-10-23 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.22
|
125
127
|
signing_key:
|
126
128
|
specification_version: 4
|
127
129
|
summary: ONLYOFFICE DocumentServer testing framework
|