mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Add visibility conditions on tabs tests when completing a task
This commit is contained in:
@@ -35,6 +35,7 @@ import { PeopleWidget } from './peopleWidget';
|
||||
import { Tab } from './tab';
|
||||
import { DocumentWidget } from './documentWidget';
|
||||
import { AttachFileWidgetCloud } from './attachFileWidgetCloud';
|
||||
import { Tab } from './tab';
|
||||
|
||||
export class Widget {
|
||||
|
||||
|
@@ -76,6 +76,10 @@ export class TaskFormCloudComponent {
|
||||
await BrowserVisibility.waitUntilElementIsNotVisible(this.completeButton);
|
||||
}
|
||||
|
||||
async completeButtonIsEnabled() {
|
||||
return this.completeButton.isEnabled();
|
||||
}
|
||||
|
||||
async clickCompleteButton(): Promise<void> {
|
||||
await BrowserActions.click(this.completeButton);
|
||||
}
|
||||
|
Reference in New Issue
Block a user