mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
committed by
Denys Vuika
parent
4536c43c9f
commit
3bf9cc1fb2
@@ -111,11 +111,16 @@ export class ShareDialog extends Component {
|
||||
return this.expireInput;
|
||||
}
|
||||
|
||||
async isShareToggleEnabled() {
|
||||
async isShareToggleChecked() {
|
||||
const toggleClass = await this.getShareToggle().getAttribute('class');
|
||||
return toggleClass.includes('checked');
|
||||
}
|
||||
|
||||
async isShareToggleEnabled() {
|
||||
const toggleClass = await this.getShareToggle().getAttribute('class');
|
||||
return toggleClass.includes('mat-disabled');
|
||||
}
|
||||
|
||||
async isExpireToggleEnabled() {
|
||||
const toggleClass = await this.getExpireToggle().getAttribute('class');
|
||||
return toggleClass.includes('checked');
|
||||
@@ -143,4 +148,7 @@ export class ShareDialog extends Component {
|
||||
await this.expireToggle.click();
|
||||
}
|
||||
|
||||
async clickShareToggle() {
|
||||
await this.shareToggle.click();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user