mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-5066] APS2 › Process List test need to be automated (#5441)
* [ADF-5066] APS2 › Process List test need to be automated * fixed spell check error * fixed errors * taskname from resource * fixed e2e * fixed comments * fixed declartions
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { DataTableComponentPage } from '@alfresco/adf-testing';
|
||||
import { BrowserVisibility, DataTableComponentPage } from '@alfresco/adf-testing';
|
||||
import { by, element } from 'protractor';
|
||||
|
||||
export class ProcessDetailsCloudDemoPage {
|
||||
|
||||
@@ -28,4 +29,8 @@ export class ProcessDetailsCloudDemoPage {
|
||||
async selectProcessTaskByName(taskName: string): Promise<void> {
|
||||
await this.dataTable.selectRow('Name', taskName);
|
||||
}
|
||||
|
||||
async checkListedSelectedProcessInstance(processInstanceId: string): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsPresent(element(by.cssContainingText('div ul', processInstanceId)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user