Add getStatusByName in task list page (#5247)

This commit is contained in:
swathikom 2019-11-13 23:49:43 +00:00 committed by Eugenio Romano
parent 6f42e0ea0e
commit c0c7f0cc1c

View File

@ -45,6 +45,9 @@ export class TaskListCloudComponentPage {
return this.dataTable; return this.dataTable;
} }
getStatusByName(taskName: string): Promise<string> {
return this.dataTable.getColumnValueForRow('Name', taskName, 'Status');
}
clickCheckbox(taskName: string): Promise<void> { clickCheckbox(taskName: string): Promise<void> {
return this.dataTable.clickCheckbox(column.name, taskName); return this.dataTable.clickCheckbox(column.name, taskName);
} }