onlyoffice_documentserver_testing_framework 2.16.0 → 2.17.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_editor/doc_editor_top_toolbar/home_tab/editor_tab.rb +19 -2
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions.rb +4 -5
- data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/spreadsheet_editor/spreadsheet_windows/csv_option.rb +1 -1
- 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: 0bcde4ab727049948a6242bbb9bbb77a287bb43e5f8f445ba6abb3d55ba480a0
|
4
|
+
data.tar.gz: 193c88c0aeee333aa8c4419eb0345379e7715e66cb38a5369f33b92ba26110e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27f6f645393b043c23a09975c0f4d8319b2bca3a332c06aad53bb91d76c005005a08903ae67cc1118adebdc276792808c78c23bd42535feac0786e40e6224675
|
7
|
+
data.tar.gz: 29b99c529db8a922807cf981b84e0b12be226a8b192d552924fdc955365cce81de5cac4f5cb2e6593751c9ac0b588723c4574c74f36bd663ef556f3c7d39bf38
|
@@ -47,10 +47,27 @@ module OnlyofficeDocumentserverTestingFramework
|
|
47
47
|
# rubocop disable to not change interface of public method
|
48
48
|
# rubocop:disable Style/OptionalBooleanParameter
|
49
49
|
def open(to_open = true)
|
50
|
-
|
50
|
+
click if to_open != active?
|
51
|
+
close_tooltips
|
52
|
+
end
|
51
53
|
|
52
|
-
|
54
|
+
# Close tooltips
|
55
|
+
# @return [Nothing]
|
56
|
+
def close_tooltips
|
57
|
+
click_on_button(close_tooltip_xpath) while visible?(tooltip_xpath)
|
53
58
|
end
|
54
59
|
# rubocop:enable Style/OptionalBooleanParameter
|
60
|
+
|
61
|
+
private
|
62
|
+
|
63
|
+
# @return [String] xpath to tooltip
|
64
|
+
def tooltip_xpath
|
65
|
+
"//div[contains(@class, 'synch-tip-root')]"
|
66
|
+
end
|
67
|
+
|
68
|
+
# @return [String] xpath to close button in tooltip
|
69
|
+
def close_tooltip_xpath
|
70
|
+
"#{tooltip_xpath}//div[@class = 'close']"
|
71
|
+
end
|
55
72
|
end
|
56
73
|
end
|
data/lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions.rb
CHANGED
@@ -173,11 +173,10 @@ class DocTestSiteFunctions
|
|
173
173
|
|
174
174
|
# @return [DocTestFileLIst] get file list
|
175
175
|
def uploaded_file_list
|
176
|
-
file_list =
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
@edit_modes_indexes)
|
176
|
+
file_list = (0...uploaded_file_count).map do |current_file_number|
|
177
|
+
DocTestSiteFileListEntry.new(@instance,
|
178
|
+
"#{@xpath_file_entry}[#{current_file_number + 1}]",
|
179
|
+
@edit_modes_indexes)
|
181
180
|
end
|
182
181
|
DocTestFileList.new(file_list)
|
183
182
|
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.
|
4
|
+
version: 2.17.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-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: onlyoffice_logger_helper
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
|
-
rubygems_version: 3.5.
|
124
|
+
rubygems_version: 3.5.13
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: ONLYOFFICE DocumentServer testing framework
|