mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove not needed spaces (#5495)
* remove not usefull spaces * increase timeout * increase timeout * fix
This commit is contained in:
@@ -56,8 +56,7 @@ describe('People widget', () => {
|
||||
});
|
||||
process = await appsActions.startProcess(alfrescoJsApi, appModel, app.processName);
|
||||
await loginPage.loginToProcessServicesUsingUserModel(processUserModel);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
const urlToNavigateTo = `${browser.params.testConfig.adf.url}/activiti/apps/${deployedApp.id}/tasks/`;
|
||||
@@ -70,22 +69,9 @@ describe('People widget', () => {
|
||||
await alfrescoJsApi.activiti.processApi.deleteProcessInstance(process.id);
|
||||
await alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
|
||||
await alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(processUserModel.tenantId);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
it('[C260435] Should select user from People Widget', async () => {
|
||||
await taskPage.formFields().checkWidgetIsHidden(app.FIELD.widget_id);
|
||||
await widget.checkboxWidget().clickCheckboxInput(app.FIELD.checkbox_id);
|
||||
await taskPage.formFields().checkWidgetIsVisible(app.FIELD.widget_id);
|
||||
|
||||
const admin = processUserModel.firstName + ' ' + processUserModel.lastName;
|
||||
await widget.peopleWidget().insertUser(app.FIELD.widget_id, admin.charAt(0));
|
||||
await widget.peopleWidget().checkDropDownListIsDisplayed();
|
||||
await widget.peopleWidget().checkUserIsListed(admin);
|
||||
await widget.peopleWidget().selectUserFromDropDown(admin);
|
||||
});
|
||||
|
||||
it('[C274707] Should be possible to set visibility properties for People Widget', async () => {
|
||||
it('[C260435][C274707] Should be possible to set visibility properties for People Widget', async () => {
|
||||
await taskPage.formFields().checkWidgetIsHidden(app.FIELD.widget_id);
|
||||
await widget.checkboxWidget().clickCheckboxInput(app.FIELD.checkbox_id);
|
||||
await taskPage.formFields().checkWidgetIsVisible(app.FIELD.widget_id);
|
||||
|
Reference in New Issue
Block a user