Skip to content

Commit

Permalink
Updated missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranparajuli589 committed Mar 13, 2020
1 parent 6e5a9d1 commit 351d6de
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/acceptance/pageObjects/FilesPageElement/sharingDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,21 @@ module.exports = {
}
return this.saveChanges()
},
/**
* opens expiration date field on the webUI
* @return {*}
*/
openExpiryDateCalender: function () {
this
.initAjaxCounters()
.waitForElementVisible('@expirationDateField')
.click('@expirationDateField')
return client.page.FilesPageElement.expirationDatePicker()
},
/**
* extracts set value in expiration date field
* @return {Promise<*>}
*/
getExpirationDateFromInputField: async function () {
let expirationDate
await this
Expand All @@ -514,6 +522,10 @@ module.exports = {
})
return expirationDate
},
/**
* gets disabled status of save share button
* @return {Promise<*>}
*/
getDisabledAttributeOfSaveShareButton: async function () {
let disabled
await this
Expand Down

0 comments on commit 351d6de

Please sign in to comment.