fixig e2es

This commit is contained in:
Vito Albano
2023-12-15 10:21:24 +00:00
parent 9ce94d2953
commit bc3c217635
6 changed files with 113 additions and 72 deletions

View File

@@ -27,13 +27,13 @@ import { BrowserActions, BrowserVisibility, FormFields } from '@alfresco/adf-tes
export class TasksPage {
createButton = $('button[data-automation-id="create-button"');
addChecklistButton = $('button[class*="adf-add-to-checklist-button"]');
rowByRowName = by.xpath('ancestor::mat-chip-list');
rowByRowName = by.xpath('ancestor::mat-chip-option');
checklistContainer = $('div[class*="checklist-menu"]');
taskTitle = '.adf-activiti-task-details__header span';
completeButtonNoForm = $('#adf-no-form-complete-button');
checklistDialog = $('#checklist-dialog');
checklistNoMessage = $('#checklist-none-message');
numberOfChecklists = $('[data-automation-id="checklist-label"] mat-chip');
numberOfChecklists = $('[data-automation-id="checklist-label"] mat-chip-option .mat-mdc-chip-action-label');
async createNewTask(): Promise<StartTaskDialogPage> {
await this.clickOnCreateButton();