mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3962] sso download directive automated (#4452)
* sso download directive automated * temp changes * temp changes * moving of services under lib testing and ADF-3962 automated * removed the browser sleep * cspell and linting fixes. * codacy improvements * export public-api update * remove circular dep * remove circular dep * fixes * fix user info test * fix datatable * random commit * move other string * fix lint * fix lint * fix prolem type * fix failing test * fix tag test * fix problems after rebase * fix lint * remove space * remove visibility method duplicated
This commit is contained in:
committed by
Eugenio Romano
parent
89f612bbb0
commit
4376d357ac
@@ -29,6 +29,7 @@ import { FolderModel } from '../models/ACS/folderModel';
|
||||
|
||||
import TestConfig = require('../test.config');
|
||||
import { Util } from '../util/util';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
import { UploadActions } from '../actions/ACS/upload.actions';
|
||||
@@ -43,7 +44,7 @@ describe('Search component - Search Bar', () => {
|
||||
firstChar: 'x',
|
||||
secondChar: 'y',
|
||||
thirdChar: 'z',
|
||||
name: 'impossible-name-folder' + Util.generateRandomString(8)
|
||||
name: 'impossible-name-folder' + StringUtil.generateRandomString(8)
|
||||
}
|
||||
};
|
||||
|
||||
@@ -57,10 +58,10 @@ describe('Search component - Search Bar', () => {
|
||||
const acsUser = new AcsUserModel();
|
||||
const uploadActions = new UploadActions();
|
||||
|
||||
const filename = Util.generateRandomString(16);
|
||||
const firstFolderName = Util.generateRandomString(16);
|
||||
const secondFolderName = Util.generateRandomString(16);
|
||||
const thirdFolderName = Util.generateRandomString(16);
|
||||
const filename = StringUtil.generateRandomString(16);
|
||||
const firstFolderName = StringUtil.generateRandomString(16);
|
||||
const secondFolderName = StringUtil.generateRandomString(16);
|
||||
const thirdFolderName = StringUtil.generateRandomString(16);
|
||||
const filesToDelete = [];
|
||||
|
||||
const firstFileModel = new FileModel({
|
||||
@@ -98,7 +99,7 @@ describe('Search component - Search Bar', () => {
|
||||
Object.assign(firstFileModel, firstFileUploaded.entry);
|
||||
|
||||
fileHighlightUploaded = await this.alfrescoJsApi.nodes.addNode('-my-', {
|
||||
'name': Util.generateRandomString(16),
|
||||
'name': StringUtil.generateRandomString(16),
|
||||
'nodeType': 'cm:content',
|
||||
'properties': {
|
||||
'cm:title': term,
|
||||
|
Reference in New Issue
Block a user