[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:
Geeta Mandakini Ayyalasomayajula
2019-07-14 13:11:18 +01:00
committed by Eugenio Romano
parent 48097c4d2a
commit db0a7842a8
3 changed files with 24 additions and 0 deletions

View File

@@ -224,6 +224,14 @@ describe('Start Task Form', () => {
taskFormCloudComponent.checkCompleteButtonIsDisplayed();
});
it('[C311428] Should display the Standalone forms based on the flag set', () => {
tasksCloudDemoPage.openNewTaskForm();
startTask.checkFormIsDisplayed();
startTask.checkFormDefinitionIsNotDisplayed('UploadFileForm');
startTask.checkFormDefinitionIsDisplayed('StartEventForm');
startTask.checkFormDefinitionIsDisplayed('FormToTestValidations');
});
});
describe('Start a process with a start event form', () => {