Module: OnlyofficeDocumentserverTestingFramework::FileReopenHelper
- Included in:
- DocTestSiteFunctions
- Defined in:
- lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/file_reopen_helper.rb
Overview
Module for Reopen file related methods
Instance Method Summary collapse
-
#reopen_after_autosave(timeout: 30) ⇒ Boolean
Perform reopen after autosave.
Instance Method Details
#reopen_after_autosave(timeout: 30) ⇒ Boolean
Perform reopen after autosave
9 10 11 12 13 14 |
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_test_site_functions/file_reopen_helper.rb', line 9 def reopen_after_autosave(timeout: 30) url = @instance.selenium.current_url leave_file_and_build_it(timeout: timeout) @instance.webdriver.open(url) @instance.management.wait_for_operation_with_round_status_canvas end |