[AAE-550] Fix PS cloud test (#5139)

* fix PS cloud test

* fix spell

* separate e2e ps form ps-cloud
This commit is contained in:
Eugenio Romano
2019-10-09 13:57:03 +01:00
committed by GitHub
parent 798768a954
commit 05ce529704
8 changed files with 19 additions and 23 deletions

View File

@@ -192,7 +192,7 @@ describe('Start Task Form', () => {
await tasksCloudDemoPage.openNewTaskForm();
await startTask.checkFormIsDisplayed();
await startTask.addName(standaloneTaskName);
await startTask.selectFormDefinition('StartEventForm');
await startTask.selectFormDefinition(resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.forms.starteventform);
await startTask.clickStartButton();
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(standaloneTaskName);
await tasksCloudDemoPage.taskListCloudComponent().selectRow(standaloneTaskName);
@@ -224,9 +224,9 @@ describe('Start Task Form', () => {
it('[C311428] Should display the Standalone forms based on the flag set', async () => {
await tasksCloudDemoPage.openNewTaskForm();
await startTask.checkFormIsDisplayed();
await startTask.checkFormDefinitionIsNotDisplayed('UploadFileForm');
await startTask.checkFormDefinitionIsDisplayed('StartEventForm');
await startTask.checkFormDefinitionIsDisplayed('FormToTestValidations');
await startTask.checkFormDefinitionIsNotDisplayed('uploadfileform');
await startTask.checkFormDefinitionIsDisplayed(resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.forms.starteventform);
await startTask.checkFormDefinitionIsDisplayed(resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.forms.formtotestvalidations);
});
});