mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future * remove xit test and ban xit and xdescribe use in the future * remove test excluded * remove consecutive blank line
This commit is contained in:
@@ -24,7 +24,6 @@ import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
import { FileModel } from '../../models/ACS/fileModel';
|
||||
import { FolderModel } from '../../models/ACS/folderModel';
|
||||
|
||||
import resources = require('../../util/resources');
|
||||
|
||||
@@ -44,11 +43,6 @@ describe('Upload component - Excluded Files', () => {
|
||||
'location': resources.Files.ADF_DOCUMENTS.INI.file_location
|
||||
});
|
||||
|
||||
const folderWithExcludedFile = new FolderModel({
|
||||
'name': resources.Files.ADF_DOCUMENTS.FOLDER_EXCLUDED.folder_name,
|
||||
'location': resources.Files.ADF_DOCUMENTS.FOLDER_EXCLUDED.folder_location
|
||||
});
|
||||
|
||||
const txtFileModel = new FileModel({
|
||||
'name': resources.Files.ADF_DOCUMENTS.TXT_0B.file_name,
|
||||
'location': resources.Files.ADF_DOCUMENTS.TXT_0B.file_location
|
||||
@@ -106,18 +100,6 @@ describe('Upload component - Excluded Files', () => {
|
||||
.checkContentIsNotDisplayed(iniExcludedFile.name);
|
||||
});
|
||||
|
||||
xit('[C260125] Should not upload excluded file when they are in a Folder', () => {
|
||||
uploadToggles.enableFolderUpload();
|
||||
|
||||
contentServicesPage.uploadFolder(folderWithExcludedFile.location);
|
||||
|
||||
uploadDialog.checkUploadCompleted().then(() => {
|
||||
contentServicesPage.doubleClickRow(folderWithExcludedFile.name)
|
||||
.checkContentIsNotDisplayed(iniExcludedFile.name)
|
||||
.checkContentIsDisplayed('a_file.txt');
|
||||
});
|
||||
});
|
||||
|
||||
it('[C212862] Should not allow upload file excluded in the files extension of app.config.json', async () => {
|
||||
await LocalStorageUtil.setConfigField('files', JSON.stringify({
|
||||
excluded: ['.DS_Store', 'desktop.ini', '*.txt'],
|
||||
|
Reference in New Issue
Block a user