本文整理匯總了TypeScript中@alfresco/adf-testing.TaskHeaderCloudPage.getTaskDetailsHeader方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript TaskHeaderCloudPage.getTaskDetailsHeader方法的具體用法?TypeScript TaskHeaderCloudPage.getTaskDetailsHeader怎麽用?TypeScript TaskHeaderCloudPage.getTaskDetailsHeader使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類@alfresco/adf-testing.TaskHeaderCloudPage
的用法示例。
在下文中一共展示了TaskHeaderCloudPage.getTaskDetailsHeader方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: it
it('[C297675] Should create a task unassigned when assignee field is empty in Start Task form', () => {
tasksCloudDemoPage.openNewTaskForm();
startTask.checkFormIsDisplayed();
startTask.addName(unassignedTaskName);
startTask.clearField(peopleCloudComponent.peopleCloudSearch);
startTask.clickStartButton();
tasksCloudDemoPage.editTaskFilterCloudComponent()
.clickCustomiseFilterHeader()
.clearAssignee()
.setStatusFilterDropDown('CREATED');
tasksCloudDemoPage.taskListCloudComponent().getDataTable().waitForTableBody();
tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(unassignedTaskName);
let taskId = tasksCloudDemoPage.taskListCloudComponent().getIdCellValue(unassignedTaskName);
tasksCloudDemoPage.taskListCloudComponent().selectRow(unassignedTaskName);
expect(taskHeaderCloudPage.getTaskDetailsHeader()).toContain(taskId);
expect(taskHeaderCloudPage.getAssignee()).toBe('No assignee');
});