mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5245] Fix C297478, C297485 and C297472 (#6147)
This commit is contained in:
@@ -169,7 +169,7 @@ describe('Edit task filters and task list properties', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C297478] Should be able to see only tasks that are assigned to a specific user when assignee is set', async () => {
|
it('[C297478] Should be able to see only tasks that are assigned to a specific user when assignee is set', async () => {
|
||||||
await tasksCloudDemoPage.editTaskFilterCloudComponent().setAssignee('admin.adf');
|
await tasksCloudDemoPage.editTaskFilterCloudComponent().setAssignee(testUser.username);
|
||||||
|
|
||||||
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(createdTask.entry.name);
|
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(createdTask.entry.name);
|
||||||
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsNotDisplayedByName(notAssigned.entry.name);
|
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsNotDisplayedByName(notAssigned.entry.name);
|
||||||
@@ -228,7 +228,7 @@ describe('Edit task filters and task list properties', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C297485] Task is displayed when typing into lastModifiedTo field a date after the task CreatedDate', async () => {
|
it('[C297485] Task is displayed when typing into lastModifiedTo field a date after the task CreatedDate', async () => {
|
||||||
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedFrom(afterDate);
|
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedTo(afterDate);
|
||||||
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(createdTask.entry.name);
|
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(createdTask.entry.name);
|
||||||
|
|
||||||
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedTo(beforeDate);
|
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedTo(beforeDate);
|
||||||
|
@@ -165,6 +165,7 @@ describe('Task list cloud - selection', () => {
|
|||||||
|
|
||||||
it('[C297472] Should be able to see selected tasks with Multiselection and Testing switched on', async () => {
|
it('[C297472] Should be able to see selected tasks with Multiselection and Testing switched on', async () => {
|
||||||
await tasksCloudDemoPage.clickSettingsButton();
|
await tasksCloudDemoPage.clickSettingsButton();
|
||||||
|
await tasksCloudDemoPage.enableMultiSelection();
|
||||||
await tasksCloudDemoPage.enableTestingMode();
|
await tasksCloudDemoPage.enableTestingMode();
|
||||||
await tasksCloudDemoPage.clickAppButton();
|
await tasksCloudDemoPage.clickAppButton();
|
||||||
await tasksCloudDemoPage.taskListCloudComponent().getDataTable().waitTillContentLoaded();
|
await tasksCloudDemoPage.taskListCloudComponent().getDataTable().waitTillContentLoaded();
|
||||||
|
@@ -12,8 +12,6 @@
|
|||||||
"C291954": "Open ticket",
|
"C291954": "Open ticket",
|
||||||
"C291955": "Open ticket",
|
"C291955": "Open ticket",
|
||||||
"C291993": "Open ticket",
|
"C291993": "Open ticket",
|
||||||
"C291995": "Open ticket",
|
"C291995": "Open ticket"
|
||||||
"C297478": "Open ticket",
|
|
||||||
"C297485": "Open ticket"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -195,8 +195,8 @@ export class EditTaskFilterCloudComponentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async clearField(locator: ElementFinder): Promise<void> {
|
async clearField(locator: ElementFinder): Promise<void> {
|
||||||
await BrowserActions.clearSendKeys(locator, ' ');
|
await BrowserVisibility.waitUntilElementIsVisible(locator);
|
||||||
await locator.sendKeys(protractor.Key.BACK_SPACE);
|
await BrowserActions.clearWithBackSpace(locator);
|
||||||
}
|
}
|
||||||
|
|
||||||
async setAppNameDropDown(option: string): Promise<void> {
|
async setAppNameDropDown(option: string): Promise<void> {
|
||||||
|
Reference in New Issue
Block a user