onlyoffice_documentserver_testing_framework 2.10.0 → 2.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55a2459e9a085a04258ca443ebf12015c9172da446bc02f66b23412ff5c0f73d
|
4
|
+
data.tar.gz: afb457e1bbd206f22eac136925ae60db2ef15bb66f827fce604d21c5318f58a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75a9dbf49c2e1dbc50c534e8ae6dcabfa208f6b2f7997e226ecd361c7437c2afc534b1b4a30c675f3a2887139c515fa9f46218a5b4194260ac1b192239dabc4
|
7
|
+
data.tar.gz: cfe0e6f4783d8e5f3b141d680b5d626909a9129795016990d8a86e639afe73c49a46694bec278eb1cf70fc51312be7e13eeb18cd3c69d0a9aa5a94fc15a45e53
|
@@ -27,6 +27,15 @@ module OnlyofficeDocumentserverTestingFramework
|
|
27
27
|
name[-1] == '*'
|
28
28
|
end
|
29
29
|
|
30
|
+
# Rename current document
|
31
|
+
# @param [String] new_name to rename
|
32
|
+
# @return [nil]
|
33
|
+
def rename(new_name)
|
34
|
+
selenium_functions(:type_to_locator, @xpath_document_name, "#{new_name}\n", true, true)
|
35
|
+
OnlyofficeLoggerHelper.log("Renamed document to `#{new_name}` name")
|
36
|
+
OnlyofficeLoggerHelper.sleep_and_log('Wait for rename to complete', 5)
|
37
|
+
end
|
38
|
+
|
30
39
|
private
|
31
40
|
|
32
41
|
# @return [String] raw data from document name
|
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.11.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: 2022-08-
|
12
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: onlyoffice_logger_helper
|