[ADF-5245] Fix C297478, C297485 and C297472 (#6147)

This commit is contained in:
davidcanonieto
2020-09-22 18:03:11 +02:00
committed by GitHub
parent 3a464a7bed
commit 636da03eca
4 changed files with 6 additions and 7 deletions

View File

@@ -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 () => {
await tasksCloudDemoPage.editTaskFilterCloudComponent().setAssignee('admin.adf');
await tasksCloudDemoPage.editTaskFilterCloudComponent().setAssignee(testUser.username);
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(createdTask.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 () => {
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedFrom(afterDate);
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedTo(afterDate);
await tasksCloudDemoPage.taskListCloudComponent().checkContentIsDisplayedByName(createdTask.entry.name);
await tasksCloudDemoPage.editTaskFilterCloudComponent().setLastModifiedTo(beforeDate);