mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4699] Forms to be used or not used in Standalone tasks (#4886)
* e2e test for ADF-4699 - Allow a form to be used (or not used) in standalone tasks * e2e test for ADF-4699 - Allow a form to be used (or not used) in standalone tasks * test enhancements * replacing the app with forms with standAlone flag in the json.
This commit is contained in:
committed by
Eugenio Romano
parent
48097c4d2a
commit
db0a7842a8
@@ -109,4 +109,20 @@ export class StartTasksCloudPage {
|
||||
const row = element(by.cssContainingText('mat-option span', option));
|
||||
BrowserActions.click(row);
|
||||
}
|
||||
|
||||
checkFormDefinitionIsDisplayed(option: string) {
|
||||
BrowserActions.click(this.formDefinitionSelector);
|
||||
const row = element(by.cssContainingText('mat-option span', option));
|
||||
BrowserVisibility.waitUntilElementIsVisible(row);
|
||||
BrowserActions.closeMenuAndDialogs();
|
||||
return this;
|
||||
}
|
||||
|
||||
checkFormDefinitionIsNotDisplayed(option: string) {
|
||||
BrowserActions.click(this.formDefinitionSelector);
|
||||
const row = element(by.cssContainingText('mat-option span', option));
|
||||
BrowserVisibility.waitUntilElementIsNotVisible(row);
|
||||
BrowserActions.closeMenuAndDialogs();
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user