mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix comments
This commit is contained in:
@@ -479,7 +479,7 @@ describe('Task form cloud component', () => {
|
|||||||
await widget.tab().clickTabByLabel(tab.tabVarField);
|
await widget.tab().clickTabByLabel(tab.tabVarField);
|
||||||
await widget.textWidget().setValue(widgets.numberOneId, value.displayTab);
|
await widget.textWidget().setValue(widgets.numberOneId, value.displayTab);
|
||||||
|
|
||||||
await expect(await taskFormCloudComponent.completeButtonIsEnabled()).toEqual(false);
|
await expect(await taskFormCloudComponent.isCompleteButtonEnabled()).toEqual(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('[C315179] Should be able to complete a standalone task with visible tab with valid value for field', async () => {
|
it('[C315179] Should be able to complete a standalone task with visible tab with valid value for field', async () => {
|
||||||
|
@@ -76,8 +76,8 @@ export class TaskFormCloudComponent {
|
|||||||
await BrowserVisibility.waitUntilElementIsNotVisible(this.completeButton);
|
await BrowserVisibility.waitUntilElementIsNotVisible(this.completeButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
async completeButtonIsEnabled() {
|
async isCompleteButtonEnabled(): Promise<boolean> {
|
||||||
return this.completeButton.isEnabled();
|
return await this.completeButton.isEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
async clickCompleteButton(): Promise<void> {
|
async clickCompleteButton(): Promise<void> {
|
||||||
|
Reference in New Issue
Block a user