mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Use hash strategy in demo shell as the other apps (#6402)
* hash startegy * use hash in e2e * trigger build * fix * fix * remove children router overwrite crazynes * Update login.module.ts * revert not needed changes * some fixes * fix * remove fdescribe * fix * fix * Update share-file.e2e.ts * Update lock-file.e2e.ts * Update share-file.e2e.ts * some fix * some other fixes * username as id * fix after rebase * username * fix usernamee * Fix the errorComponent * Attempt to fix unit test - to check * * Fixed circular dependency error while building adf-testing package * * Fixed failing UT * fix * use username * some fixes * some fix * fix Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com> Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local> Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
This commit is contained in:
@@ -73,10 +73,10 @@ describe('Task Assignee', () => {
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
await apiService.login(user.email, user.password);
|
||||
await apiService.login(user.username, user.password);
|
||||
await applicationsService.importPublishDeployApp(app.file_path, { renewIdmEntries: true });
|
||||
|
||||
await loginPage.login(user.email, user.password);
|
||||
await loginPage.login(user.username, user.password);
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
@@ -157,7 +157,7 @@ describe('Task Assignee', () => {
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
await apiService.login(user.email, user.password);
|
||||
await apiService.login(user.username, user.password);
|
||||
const appModel = await applicationsService.importPublishDeployApp(app.file_path, { renewIdmEntries: true });
|
||||
|
||||
await new ProcessUtil(apiService).startProcessByDefinitionName(appModel.name, app.processNames[1]);
|
||||
@@ -169,7 +169,7 @@ describe('Task Assignee', () => {
|
||||
});
|
||||
|
||||
it('[C216430] Start Task - Claim and Requeue a task', async () => {
|
||||
await loginPage.login(candidate1.email, candidate1.password);
|
||||
await loginPage.login(candidate1.username, candidate1.password);
|
||||
await navigationBarPage.navigateToProcessServicesPage();
|
||||
await processServicesPage.checkApsContainer();
|
||||
await processServicesPage.goToApp('Task App');
|
||||
@@ -216,7 +216,7 @@ describe('Task Assignee', () => {
|
||||
await taskPage.tasksListPage().checkContentIsNotDisplayed(app.userTasks.candidateTask);
|
||||
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
await loginPage.login(candidate2.email, candidate2.password);
|
||||
await loginPage.login(candidate2.username, candidate2.password);
|
||||
await navigationBarPage.navigateToProcessServicesPage();
|
||||
await processServicesPage.checkApsContainer();
|
||||
await processServicesPage.goToApp('Task App');
|
||||
@@ -228,7 +228,7 @@ describe('Task Assignee', () => {
|
||||
await taskPage.tasksListPage().checkContentIsNotDisplayed(app.userTasks.candidateTask);
|
||||
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
await loginPage.login(candidate1.email, candidate1.password);
|
||||
await loginPage.login(candidate1.username, candidate1.password);
|
||||
await navigationBarPage.navigateToProcessServicesPage();
|
||||
await processServicesPage.checkApsContainer();
|
||||
await processServicesPage.goToApp('Task App');
|
||||
@@ -257,7 +257,7 @@ describe('Task Assignee', () => {
|
||||
await taskPage.taskDetails().checkClaimEnabled();
|
||||
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
await loginPage.login(candidate2.email, candidate2.password);
|
||||
await loginPage.login(candidate2.username, candidate2.password);
|
||||
await navigationBarPage.navigateToProcessServicesPage();
|
||||
await processServicesPage.checkApsContainer();
|
||||
await processServicesPage.goToApp('Task App');
|
||||
|
Reference in New Issue
Block a user