mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove not needed spaces (#5495)
* remove not usefull spaces * increase timeout * increase timeout * fix
This commit is contained in:
@@ -381,6 +381,5 @@ describe('Document List Component - Actions', () => {
|
||||
await contentServicesPage.checkContentIsDisplayed('A' + folderModel1.name);
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -245,8 +245,7 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.doubleClickRow(folderName);
|
||||
await contentServicesPage.checkEmptyFolderTextToBe('This folder is empty');
|
||||
await contentServicesPage.checkEmptyFolderImageUrlToContain('/assets/images/empty_doc_lib.svg');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('[C272775] Should be able to upload a file in new folder', async () => {
|
||||
const testFile = new FileModel({
|
||||
@@ -266,8 +265,7 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.doubleClickRow(uploadedFolder.entry.name);
|
||||
await contentServicesPage.uploadFile(testFile.location);
|
||||
await contentServicesPage.checkContentIsDisplayed(testFile.name);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('[C261997] Should be able to clean Recent Files history', async () => {
|
||||
acsUser = new AcsUserModel();
|
||||
@@ -281,8 +279,7 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.expandRecentFiles();
|
||||
await contentServicesPage.checkEmptyRecentFileIsDisplayed();
|
||||
await contentServicesPage.closeRecentFiles();
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('[C279970] Should display Islocked field for folders', async () => {
|
||||
acsUser = new AcsUserModel();
|
||||
@@ -299,8 +296,7 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.checkContentIsDisplayed(folderNameB);
|
||||
await contentServicesPage.checkLockIsDisplayedForElement(folderNameA);
|
||||
await contentServicesPage.checkLockIsDisplayedForElement(folderNameB);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('[C269086] Should display Islocked field for files', async () => {
|
||||
const testFileA = new FileModel({
|
||||
@@ -323,8 +319,7 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.checkContentIsDisplayed(testFileB.name);
|
||||
await contentServicesPage.checkLockIsDisplayedForElement(testFileA.name);
|
||||
await contentServicesPage.checkLockIsDisplayedForElement(testFileB.name);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Once uploaded 20 folders', () => {
|
||||
|
||||
@@ -357,8 +352,7 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.checkListIsSortedByNameColumn('asc');
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Column Template', () => {
|
||||
|
||||
|
@@ -90,8 +90,7 @@ describe('Document List Component', () => {
|
||||
});
|
||||
|
||||
await browser.driver.sleep(12000);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
@@ -101,8 +100,7 @@ describe('Document List Component', () => {
|
||||
await uploadActions.deleteFileOrFolder(uploadedFile.entry.id);
|
||||
await uploadActions.deleteFileOrFolder(sourceFolder.entry.id);
|
||||
await uploadActions.deleteFileOrFolder(destinationFolder.entry.id);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Document List Component - Actions Move and Copy', () => {
|
||||
|
||||
@@ -177,8 +175,7 @@ describe('Document List Component', () => {
|
||||
await contentNodeSelector.clickMoveCopyButton();
|
||||
await notificationHistoryPage.checkNotifyContains('This name is already in use, try a different name.');
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
describe('Document List actionns - Move, Copy on no permission folder', () => {
|
||||
|
||||
@@ -213,7 +210,5 @@ describe('Document List Component', () => {
|
||||
await contentNodeSelector.contentListPage().dataTablePage().waitTillContentLoaded();
|
||||
await contentNodeSelector.contentListPage().dataTablePage().checkRowContentIsDisplayed(subFolder2.entry.name);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -184,7 +184,5 @@ describe('Document List Component', () => {
|
||||
await contentServicesPage.selectGridSortingFromDropdown(cardProperties.CREATED);
|
||||
await contentServicesPage.checkListIsSortedByCreatedColumn('asc');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -81,8 +81,7 @@ describe('Document List - Pagination', () => {
|
||||
await uploadActions.createEmptyFiles(secondSetOfFiles, folderThreeUploadedModel.entry.id);
|
||||
|
||||
await loginPage.loginToContentServicesUsingUserModel(acsUser);
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await navigationBarPage.clickLogoutButton();
|
||||
@@ -92,8 +91,7 @@ describe('Document List - Pagination', () => {
|
||||
await contentServicesPage.goToDocumentList();
|
||||
await contentServicesPage.checkAcsContainer();
|
||||
await contentServicesPage.waitForTableBody();
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
it('[C260062] Should use default pagination settings', async () => {
|
||||
await contentServicesPage.doubleClickRow(newFolderModel.name);
|
||||
|
@@ -85,7 +85,5 @@ describe('Document List Component', () => {
|
||||
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/files/' + privateSite.entry.guid);
|
||||
await expect(await errorPage.getErrorDescription()).toBe('Accesso alla risorsa sul server non consentito.');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
@@ -155,5 +155,4 @@ describe('Document List Component', () => {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user