onlyoffice_documentserver_testing_framework 2.14.0 → 2.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 461ac114a5d0cd1a595cd929458fc802644f6fe9c1d4a058a18e246f6ed915a3
4
- data.tar.gz: 4426ce9593888e5186269b277acd216f6ab7ab4d7b83431eace8f1471a279e1a
3
+ metadata.gz: 7dcd99ee1b8704d781bbd13a5fdd439896cdad8ac31403cd2ef250152ccd4686
4
+ data.tar.gz: d03b0951ff7fff5210a900224901d2280fbc7f101816ba13b5a464c7631ad390
5
5
  SHA512:
6
- metadata.gz: 5f4257687f15794b8acac255bea478c8092b38eac1f7b6518a588a55ef3db70779cdd7accb3b5370112ec3dd9427f194f09ad2c409d86029b61fedb50274e33b
7
- data.tar.gz: 3d00850bacb8199b773feed6a12a6b45117693fd511da23eb2287e68ebd711f6f40ab82a5a4f60b3944285745baa219c8b922104218b9efcf5c5fde378ebd8c6
6
+ metadata.gz: ecbb1198ba4fd115b12c15dfdeda1afe5a385829b7b36a9f18e12e21ee7b9e0b52f37bafdc503384b4c0a68c97537933fa83d655629cb8cc02cc39d7f0e6a5d4
7
+ data.tar.gz: 817911868d567352490171461e654efa4ee822460c1b4f1b83e3c53bcd03e2bac46b971612704f0982d33932dd597be17ddea8dad2b7aa34a18eec5f376d6ea0
@@ -29,3 +29,4 @@ ResponsiveVoice missing API key
29
29
  /libfont/wasm/
30
30
  UserControls/Management
31
31
  clientscript/
32
+ was loaded over an insecure connection. This file should be served over HTTPS.
@@ -0,0 +1,40 @@
1
+ English
2
+ Armenian
3
+ Azerbaijani
4
+ Basque
5
+ Belarusian
6
+ Bulgarian
7
+ Catalan
8
+ Chinese (Simplified)
9
+ Chinese (Traditional)
10
+ Czech
11
+ Danish
12
+ Dutch
13
+ Finnish
14
+ French
15
+ Galego
16
+ German
17
+ Greek
18
+ Hungarian
19
+ Indonesian
20
+ Italian
21
+ Japanese
22
+ Korean
23
+ Lao
24
+ Latvian
25
+ Malay (Malaysia)
26
+ Norwegian
27
+ Polish
28
+ Portuguese (Brazil)
29
+ Portuguese (Portugal)
30
+ Romanian
31
+ Russian
32
+ Sinhala (Sri Lanka)
33
+ Slovak
34
+ Slovenian
35
+ Spanish
36
+ Swedish
37
+ Turkish
38
+ Ukrainian
39
+ Vietnamese
40
+ Test Language
@@ -225,8 +225,10 @@ class DocTestSiteFunctions
225
225
 
226
226
  # @param [DocumentServerVersion] version of server
227
227
  # @return [Array<String>] list of supported languages
228
- def self.supported_languages(version = OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(7, 3, 0))
229
- file = if version >= OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(7, 3)
228
+ def self.supported_languages(version = OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(7, 4, 0))
229
+ file = if version >= OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(7, 4)
230
+ 'doc_test_site_languages_after_7_4.list'
231
+ elsif version >= OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(7, 3)
230
232
  'doc_test_site_languages_after_7_3.list'
231
233
  elsif version >= OnlyofficeDocumentserverTestingFramework::DocumentServerVersion.new(7, 2)
232
234
  'doc_test_site_languages_after_7_2.list'
@@ -26,8 +26,12 @@ module OnlyofficeDocumentserverTestingFramework
26
26
 
27
27
  @instance.webdriver.webdriver_error("Cannot open file with password: `#{password}`") if incorrect_password_shown?
28
28
 
29
- @instance.selenium.type_text(xpath_input_password, password)
30
- @instance.selenium.click_on_locator(xpath_ok_password)
29
+ # This is stage way to enter password, but
30
+ # for some reason entering it and clicking on Ok no longer works
31
+ # Not sure if it is webdriver or DocumentServer issue
32
+ # Current variant should work rather ok
33
+ @instance.selenium.send_keys_to_focused_elements("#{password}\n")
34
+ OnlyofficeLoggerHelper.log('Entered password in password dialog and pressed enter')
31
35
  end
32
36
  end
33
37
  end
@@ -20,12 +20,12 @@ module OnlyofficeDocumentserverTestingFramework
20
20
 
21
21
  # Handle update links dialog
22
22
  def handle_update_links_message(to_update)
23
- return unless @instance.selenium.element_visible?(update_links_message_xpath)
23
+ return unless selenium_functions(:element_visible?, update_links_message_xpath)
24
24
 
25
25
  if to_update
26
- @instance.selenium.click_on_locator(xpath_update_button)
26
+ selenium_functions(:click_on_locator, xpath_update_button, true)
27
27
  else
28
- @instance.selenium.click_on_locator(xpath_do_not_update_button)
28
+ selenium_functions(:click_on_locator, xpath_do_not_update_button, true)
29
29
  end
30
30
  end
31
31
  end
@@ -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 = '2.14.0'
7
+ STRING = '2.15.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: 2.14.0
4
+ version: 2.15.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: 2023-03-01 00:00:00.000000000 Z
12
+ date: 2023-11-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: onlyoffice_logger_helper
@@ -45,138 +45,6 @@ dependencies:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.10.0
48
- - !ruby/object:Gem::Dependency
49
- name: overcommit
50
- requirement: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: rake
64
- requirement: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '13'
69
- type: :development
70
- prerelease: false
71
- version_requirements: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '13'
76
- - !ruby/object:Gem::Dependency
77
- name: rspec
78
- requirement: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3'
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3'
90
- - !ruby/object:Gem::Dependency
91
- name: rubocop
92
- requirement: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1'
97
- type: :development
98
- prerelease: false
99
- version_requirements: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '1'
104
- - !ruby/object:Gem::Dependency
105
- name: rubocop-performance
106
- requirement: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '1'
111
- type: :development
112
- prerelease: false
113
- version_requirements: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1'
118
- - !ruby/object:Gem::Dependency
119
- name: rubocop-rake
120
- requirement: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- type: :development
126
- prerelease: false
127
- version_requirements: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- - !ruby/object:Gem::Dependency
133
- name: rubocop-rspec
134
- requirement: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '2'
139
- type: :development
140
- prerelease: false
141
- version_requirements: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '2'
146
- - !ruby/object:Gem::Dependency
147
- name: simplecov
148
- requirement: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- type: :development
154
- prerelease: false
155
- version_requirements: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- - !ruby/object:Gem::Dependency
161
- name: yard
162
- requirement: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - - ">="
168
- - !ruby/object:Gem::Version
169
- version: 0.9.20
170
- type: :development
171
- prerelease: false
172
- version_requirements: !ruby/object:Gem::Requirement
173
- requirements:
174
- - - "~>"
175
- - !ruby/object:Gem::Version
176
- version: '0'
177
- - - ">="
178
- - !ruby/object:Gem::Version
179
- version: 0.9.20
180
48
  description: ONLYOFFICE DocumentServer testing framework, used in QA
181
49
  email:
182
50
  - shockwavenn@gmail.com
@@ -213,6 +81,7 @@ files:
213
81
  - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_7_1.list
214
82
  - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_7_2.list
215
83
  - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_7_3.list
84
+ - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_after_7_4.list
216
85
  - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/languages_list/doc_test_site_languages_before_6_2.list
217
86
  - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/integration_example_api.rb
218
87
  - lib/onlyoffice_documentserver_testing_framework/test_instance_docs/management.rb
@@ -243,14 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
112
  requirements:
244
113
  - - ">="
245
114
  - !ruby/object:Gem::Version
246
- version: '2.7'
115
+ version: '3.0'
247
116
  required_rubygems_version: !ruby/object:Gem::Requirement
248
117
  requirements:
249
118
  - - ">="
250
119
  - !ruby/object:Gem::Version
251
120
  version: '0'
252
121
  requirements: []
253
- rubygems_version: 3.4.7
122
+ rubygems_version: 3.4.21
254
123
  signing_key:
255
124
  specification_version: 4
256
125
  summary: ONLYOFFICE DocumentServer testing framework