Refactor e2e PS-Cloud and add sleep before query (#4919)

* add sleep before query process service and refactor resources process name

* fix spell problem and increase size build check core
This commit is contained in:
Eugenio Romano
2019-07-11 16:25:26 +01:00
committed by GitHub
parent 79a95ecd5d
commit 10587dd842
13 changed files with 61 additions and 21 deletions

View File

@@ -113,7 +113,9 @@ describe('Start Task Form', () => {
await apiService.login(testUser.email, testUser.password);
processDefinitionService = new ProcessDefinitionsService(apiService);
processInstancesService = new ProcessInstancesService(apiService);
processDefinition = await processDefinitionService.getProcessDefinitionByName('uploadFileProcess', candidateBaseApp);
processDefinition = await processDefinitionService
.getProcessDefinitionByName(resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.processes.uploadFileProcess, candidateBaseApp);
await processInstancesService.createProcessInstance(processDefinition.entry.key, candidateBaseApp);
uploadLocalFileProcess = await processInstancesService.createProcessInstance(processDefinition.entry.key, candidateBaseApp, {