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

@@ -62,7 +62,9 @@ describe('Process list cloud', () => {
await apiService.login(testUser.email, testUser.password);
processDefinitionService = new ProcessDefinitionsService(apiService);
const processDefinition = await processDefinitionService.getProcessDefinitionByName('candidateGroupProcess', candidateBaseApp);
const processDefinition = await processDefinitionService
.getProcessDefinitionByName(resources.ACTIVITI7_APPS.CANDIDATE_BASE_APP.processes.candidateGroupProcess, candidateBaseApp);
processInstancesService = new ProcessInstancesService(apiService);
runningProcess = await processInstancesService.createProcessInstance(processDefinition.entry.key, candidateBaseApp);
@@ -74,7 +76,7 @@ describe('Process list cloud', () => {
done();
});
afterAll(async(done) => {
afterAll(async (done) => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService);
done();