mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-30333]FE - [Process-services] Create ADF task form. (#5611)
* [ACA-3033] FE - [Process-services] Create ADF task form. * * Modifed task-from-template * * Refactored details component with the task-form * * Updated unit tests to the recent changes * * Modified task-details component * * Fixed failing tests * * Fixed failing tests* Added doc * * Fixed task-details-form e2e * Fixed failing test on tas-details e2e * * Fixed flaky process-services e2e * * Fixed flaky e2e tests
This commit is contained in:
@@ -26,9 +26,9 @@ export class FormFields {
|
||||
saveButton: ElementFinder = element(by.cssContainingText('mat-card-actions[class*="adf-for"] span', 'SAVE'));
|
||||
valueLocator: Locator = by.css('input');
|
||||
labelLocator: Locator = by.css('label');
|
||||
noFormMessage: ElementFinder = element(by.css('span[id*="no-form-message"]'));
|
||||
noFormMessage: ElementFinder = element(by.css('.adf-empty-content__title'));
|
||||
completedTaskNoFormMessage: ElementFinder = element(by.css('div[id*="completed-form-message"] p'));
|
||||
attachFormButton: ElementFinder = element(by.id('adf-no-form-attach-form-button'));
|
||||
attachFormButton: ElementFinder = element(by.id('adf-attach-form-attach-button'));
|
||||
completeButton: ElementFinder = element(by.id('adf-form-complete'));
|
||||
errorMessage: Locator = by.css('.adf-error-text-container .adf-error-text');
|
||||
|
||||
|
@@ -28,9 +28,9 @@ export class FormFieldsPage {
|
||||
saveButton: ElementFinder = element(by.cssContainingText('mat-card-actions[class*="adf-for"] span', 'SAVE'));
|
||||
valueLocator: Locator = by.css('input');
|
||||
labelLocator: Locator = by.css('label');
|
||||
noFormMessage: ElementFinder = element(by.css('span[id*="no-form-message"]'));
|
||||
noFormMessage: ElementFinder = element(by.css('.adf-empty-content__title'));
|
||||
completedTaskNoFormMessage: ElementFinder = element(by.css('div[id*="completed-form-message"] p'));
|
||||
attachFormButton: ElementFinder = element(by.id('adf-no-form-attach-form-button'));
|
||||
attachFormButton: ElementFinder = element(by.id('adf-attach-form-attach-button'));
|
||||
completeButton: ElementFinder = element(by.id('adf-form-complete'));
|
||||
errorMessage: Locator = by.css('.adf-error-text-container .adf-error-text');
|
||||
|
||||
|
Reference in New Issue
Block a user