mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4840] Fixing failing tests on process-services-cloud (#5013)
* [ADF-4840] Fixing dropdown-widget.e2e.ts-beforeEach and start-task-group-cloud.e2e.ts-afterAll * [ADF-4840] Testing with apps deployed with different permissions * [ADF-4840] Fixing edit-process-filters-component.e2e.ts * [ADF-4840] Add space to lib/process-services-cloud * [ADF-4840] Fixing people-group-cloud-filter-component and reverting changes to the appNames * [ADF-4840] Fixing start-task-custom-app-cloud
This commit is contained in:
committed by
Eugenio Romano
parent
9e1a90adc8
commit
3bebc7a18c
@@ -133,10 +133,10 @@ describe('Start Task', () => {
|
||||
it('[C291956] Should be able to create a new standalone task without assignee', async () => {
|
||||
await tasksCloudDemoPage.openNewTaskForm();
|
||||
await startTask.checkFormIsDisplayed();
|
||||
await expect(await peopleCloudComponent.getAssignee()).toContain(testUser.firstName, 'does not contain Admin');
|
||||
await peopleCloudComponent.clearAssignee();
|
||||
await startTask.addName(unassignedTaskName);
|
||||
await startTask.clickStartButton();
|
||||
await startTask.checkStartButtonIsEnabled();
|
||||
await startTask.clickStartButton();
|
||||
await tasksCloudDemoPage.editTaskFilterCloudComponent();
|
||||
await tasksCloudDemoPage.editTaskFilterCloudComponent().clickCustomiseFilterHeader();
|
||||
await tasksCloudDemoPage.editTaskFilterCloudComponent().setStatusFilterDropDown('CREATED');
|
||||
|
@@ -82,7 +82,7 @@ describe('Start Task - Group Cloud Component', () => {
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
|
||||
await apiService.login(testUser.email, testUser.password);
|
||||
const tasksService = new TasksService(apiService);
|
||||
|
||||
const bothGroupsTaskId = await tasksService.getTaskId(bothGroupsTaskName, simpleApp);
|
||||
@@ -91,6 +91,7 @@ describe('Start Task - Group Cloud Component', () => {
|
||||
const oneGroupTaskId = await tasksService.getTaskId(oneGroupTaskName, simpleApp);
|
||||
await tasksService.deleteTask(oneGroupTaskId, simpleApp);
|
||||
|
||||
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
|
||||
await identityService.deleteIdentityUser(apsUser.idIdentityService);
|
||||
await identityService.deleteIdentityUser(testUser.idIdentityService);
|
||||
|
||||
|
Reference in New Issue
Block a user