mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3959] Fixing trashcan-pagination tests (#4222)
This commit is contained in:
committed by
Eugenio Romano
parent
2036e026f3
commit
c00e230983
@@ -84,15 +84,19 @@ describe('Trashcan - Pagination', () => {
|
||||
});
|
||||
|
||||
loginPage.loginToContentServicesUsingUserModel(acsUser);
|
||||
navigationBarPage.clickTrashcanButton();
|
||||
trashcanPage.waitForTableBody();
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C272811] Should be able to set Items per page to 20', () => {
|
||||
navigationBarPage.clickTrashcanButton();
|
||||
|
||||
afterEach((done) => {
|
||||
browser.refresh();
|
||||
trashcanPage.waitForTableBody();
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C272811] Should be able to set Items per page to 20', () => {
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.twenty);
|
||||
|
||||
trashcanPage.waitForTableBody();
|
||||
@@ -107,8 +111,6 @@ describe('Trashcan - Pagination', () => {
|
||||
});
|
||||
|
||||
it('[C276742] Should be able to set Items per page to 15', () => {
|
||||
navigationBarPage.clickTrashcanButton();
|
||||
trashcanPage.waitForTableBody();
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.fifteen);
|
||||
trashcanPage.waitForTableBody();
|
||||
trashcanPage.waitForPagination();
|
||||
@@ -120,8 +122,6 @@ describe('Trashcan - Pagination', () => {
|
||||
});
|
||||
|
||||
it('[C276743] Should be able to set Items per page to 10', () => {
|
||||
navigationBarPage.clickTrashcanButton();
|
||||
trashcanPage.waitForTableBody();
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.ten);
|
||||
trashcanPage.waitForTableBody();
|
||||
trashcanPage.waitForPagination();
|
||||
@@ -133,8 +133,6 @@ describe('Trashcan - Pagination', () => {
|
||||
});
|
||||
|
||||
it('[C276744] Should be able to set Items per page to 5', () => {
|
||||
navigationBarPage.clickTrashcanButton();
|
||||
trashcanPage.waitForTableBody();
|
||||
paginationPage.selectItemsPerPage(itemsPerPage.five);
|
||||
trashcanPage.waitForTableBody();
|
||||
trashcanPage.waitForPagination();
|
||||
|
Reference in New Issue
Block a user