diff --git a/tests/acceptance/pageObjects/FilesPageElement/sharingDialog.js b/tests/acceptance/pageObjects/FilesPageElement/sharingDialog.js index 26d5d1b5d2f..e21f3d2f70a 100644 --- a/tests/acceptance/pageObjects/FilesPageElement/sharingDialog.js +++ b/tests/acceptance/pageObjects/FilesPageElement/sharingDialog.js @@ -498,6 +498,10 @@ module.exports = { } return this.saveChanges() }, + /** + * opens expiration date field on the webUI + * @return {*} + */ openExpiryDateCalender: function () { this .initAjaxCounters() @@ -505,6 +509,10 @@ module.exports = { .click('@expirationDateField') return client.page.FilesPageElement.expirationDatePicker() }, + /** + * extracts set value in expiration date field + * @return {Promise<*>} + */ getExpirationDateFromInputField: async function () { let expirationDate await this @@ -514,6 +522,10 @@ module.exports = { }) return expirationDate }, + /** + * gets disabled status of save share button + * @return {Promise<*>} + */ getDisabledAttributeOfSaveShareButton: async function () { let disabled await this