Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <[email protected]>
  • Loading branch information
mguetta1 committed Nov 14, 2024
1 parent 296f66e commit d63f38c
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ describe(["@tier3"], "Filtering, sorting and pagination in Task Manager Page", f
applicationsList.forEach((application) => application.create());
});
});

});

it("Filtering tasks", function () {
Expand Down Expand Up @@ -94,14 +93,14 @@ describe(["@tier3"], "Filtering, sorting and pagination in Task Manager Page", f

// Filter by ID
cy.wait("@getTasks")
.its('response.body')
.should('have.length.gte', 2) // Make sure there are at least two items
.then((responseBody) => {
TaskManager.applyFilter(TaskFilter.id, responseBody[0].id.toString());
validateNumberPresence(TaskManagerColumns.id, responseBody[0].id);
notExists(responseBody[1].id.toString(), tasksTable);
clearAllFilters();
});
.its("response.body")
.should("have.length.gte", 2) // Make sure there are at least two items
.then((responseBody) => {
TaskManager.applyFilter(TaskFilter.id, responseBody[0].id.toString());
validateNumberPresence(TaskManagerColumns.id, responseBody[0].id);
notExists(responseBody[1].id.toString(), tasksTable);
clearAllFilters();
});

// Filter by Applications
TaskManager.applyFilter(TaskFilter.applicationName, applicationsList[0].name);
Expand Down

0 comments on commit d63f38c

Please sign in to comment.