mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3658][ADF-3660][ADF-3661] Revisiting automated tests and test cases (#3869)
* [ADF-3658] Revisiting Content Services automated tests and test cases * [ADF-3661] Revisiting automated tests and test cases for Core and Insights folders * [ADF-3660] Revisiting automated tests and test cases for Process Services * Fixing lint errors
This commit is contained in:
committed by
Eugenio Romano
parent
04d42e2535
commit
094e1dab91
@@ -79,7 +79,7 @@ describe('Task List Pagination', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C260301] Pagination at first 20 started tasks', () => {
|
||||
it('[C260301] Should display default pagination', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.default);
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + nrOfTasks + ' of ' + nrOfTasks);
|
||||
@@ -91,7 +91,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getPaginationRange()).toEqual('Showing 1-' + nrOfTasks + ' of ' + nrOfTasks);
|
||||
});
|
||||
|
||||
it('[C260304] Items per page set to 5', () => {
|
||||
it('[C260304] Should be possible to set Items per page to 5', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.five);
|
||||
@@ -119,7 +119,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.five);
|
||||
});
|
||||
|
||||
it('[C260303] Items per page set to 10', () => {
|
||||
it('[C260303] Should be possible to set Items per page to 10', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.ten);
|
||||
@@ -136,7 +136,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.ten);
|
||||
});
|
||||
|
||||
it('[C260302] Items per page set to 15', () => {
|
||||
it('[C260302] Should be possible to set Items per page to 15', () => {
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
taskPage.filtersPage().goToFilter(CONSTANTS.TASKFILTERS.INV_TASKS);
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.fifteen);
|
||||
@@ -153,7 +153,7 @@ describe('Task List Pagination', () => {
|
||||
expect(paginationPage.getCurrentItemsPerPage()).toEqual(itemsPerPage.fifteen);
|
||||
});
|
||||
|
||||
it('[C261006] Page number dropdown', () => {
|
||||
it('[C261006] Should be possible to navigate to a page with page number dropdown', () => {
|
||||
currentPage = 1;
|
||||
totalPages = 2;
|
||||
processServicesPage.goToProcessServices().goToTaskApp();
|
||||
|
Reference in New Issue
Block a user