[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1560 additions and 1004 deletions
@@ -84,7 +84,7 @@ describe('Upload component - Excluded Files', () => {
});
it('[C279914] Should not allow upload default excluded files using D&D', () => {
contentServicesPage.checkDandDIsDisplayed();
contentServicesPage.checkDragAndDropDIsDisplayed();
let dragAndDropArea = element.all(by.css('adf-upload-drag-area div')).first();
@@ -111,10 +111,10 @@ describe('Upload component', () => {
});
afterEach(async (done) => {
let nodersPromise = await contentServicesPage.getContentList().getAllNodeIdInList();
let nodesPromise = await contentServicesPage.getContentList().getAllNodeIdInList();
nodersPromise.forEach(async (currentNodePormise) => {
await currentNodePormise.then(async (currentNode) => {
nodesPromise.forEach(async (currentNodePromise) => {
await currentNodePromise.then(async (currentNode) => {
if (currentNode && currentNode !== 'Node id') {
await uploadActions.deleteFilesOrFolder(this.alfrescoJsApi, currentNode);
}
@@ -119,7 +119,7 @@ describe('Upload - User permission', () => {
});
it('[C212861] Should not be allowed to Drag and drop a file/folder in a folder with consumer permissions', () => {
contentServicesPage.checkDandDIsDisplayed();
contentServicesPage.checkDragAndDropDIsDisplayed();
let dragAndDrop = new DropActions();
let dragAndDropArea = element.all(by.css('adf-upload-drag-area div')).first();
@@ -196,7 +196,7 @@ describe('Upload - User permission', () => {
});
it('[C260130] Should be allowed to Drag and drop a file/folder in a folder with manager permissions', () => {
contentServicesPage.checkDandDIsDisplayed();
contentServicesPage.checkDragAndDropDIsDisplayed();
let dragAndDrop = new DropActions();