mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Making C260107 more stable (#4754)
This commit is contained in:
committed by
Denys Vuika
parent
339a6e7a18
commit
22dc800e13
@@ -91,8 +91,14 @@ describe('Document List - Pagination', function () {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('[C260062] Should use default pagination settings', () => {
|
beforeEach((done) => {
|
||||||
contentServicesPage.goToDocumentList();
|
contentServicesPage.goToDocumentList();
|
||||||
|
contentServicesPage.checkAcsContainer();
|
||||||
|
contentServicesPage.waitForTableBody();
|
||||||
|
done();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('[C260062] Should use default pagination settings', () => {
|
||||||
contentServicesPage.doubleClickRow(newFolderModel.name);
|
contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -107,7 +113,6 @@ describe('Document List - Pagination', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C274713] Should be able to set Items per page to 20', () => {
|
it('[C274713] Should be able to set Items per page to 20', () => {
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
contentServicesPage.doubleClickRow(newFolderModel.name);
|
contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -129,7 +134,6 @@ describe('Document List - Pagination', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C260069] Should be able to set Items per page to 5', () => {
|
it('[C260069] Should be able to set Items per page to 5', () => {
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
contentServicesPage.doubleClickRow(newFolderModel.name);
|
contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -181,7 +185,6 @@ describe('Document List - Pagination', function () {
|
|||||||
|
|
||||||
it('[C260067] Should be able to set Items per page to 10', () => {
|
it('[C260067] Should be able to set Items per page to 10', () => {
|
||||||
currentPage = 1;
|
currentPage = 1;
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
contentServicesPage.doubleClickRow(newFolderModel.name);
|
contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -212,7 +215,6 @@ describe('Document List - Pagination', function () {
|
|||||||
|
|
||||||
it('[C260065] Should be able to set Items per page to 15', () => {
|
it('[C260065] Should be able to set Items per page to 15', () => {
|
||||||
currentPage = 1;
|
currentPage = 1;
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
contentServicesPage.doubleClickRow(newFolderModel.name);
|
contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -243,7 +245,6 @@ describe('Document List - Pagination', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C91320] Pagination should preserve sorting', () => {
|
it('[C91320] Pagination should preserve sorting', () => {
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
contentServicesPage.doubleClickRow(newFolderModel.name);
|
contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -283,7 +284,6 @@ describe('Document List - Pagination', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('[C260107] Should not display pagination bar when a folder is empty', () => {
|
it('[C260107] Should not display pagination bar when a folder is empty', () => {
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
paginationPage.selectItemsPerPage(itemsPerPage.five);
|
paginationPage.selectItemsPerPage(itemsPerPage.five);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
@@ -300,7 +300,6 @@ describe('Document List - Pagination', function () {
|
|||||||
|
|
||||||
it('[C260071] Should be able to change pagination when having 25 files', () => {
|
it('[C260071] Should be able to change pagination when having 25 files', () => {
|
||||||
currentPage = 1;
|
currentPage = 1;
|
||||||
contentServicesPage.goToDocumentList();
|
|
||||||
contentServicesPage.doubleClickRow(folderThreeModel.name);
|
contentServicesPage.doubleClickRow(folderThreeModel.name);
|
||||||
contentServicesPage.checkAcsContainer();
|
contentServicesPage.checkAcsContainer();
|
||||||
contentServicesPage.waitForTableBody();
|
contentServicesPage.waitForTableBody();
|
||||||
|
Reference in New Issue
Block a user