mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3023]Refactor APS1 PO and ACS API calls of ADF testing package (#5629)
* Change the uploadFile method from ADF testing package * Fix lint * no message * Fix a part of the tests * Fix last tests * Fix test * Fix tests * Fix test
This commit is contained in:
@@ -46,11 +46,11 @@ describe('Search Component - Multi-Select Facet', () => {
|
||||
|
||||
const randomName = StringUtil.generateRandomString();
|
||||
const jpgFileInfo = new FileModel({
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_location,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_path,
|
||||
'name': `${randomName}.jpg`
|
||||
});
|
||||
const txtFileInfo = new FileModel({
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_location,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_path,
|
||||
'name': `${randomName}.txt`
|
||||
});
|
||||
|
||||
@@ -136,11 +136,11 @@ describe('Search Component - Multi-Select Facet', () => {
|
||||
|
||||
const randomName = StringUtil.generateRandomString();
|
||||
const jpgFileInfo = new FileModel({
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_location,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_path,
|
||||
'name': `${randomName}.jpg`
|
||||
});
|
||||
const txtFileInfo = new FileModel({
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_location,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_path,
|
||||
'name': `${randomName}.txt`
|
||||
});
|
||||
|
||||
@@ -198,7 +198,7 @@ describe('Search Component - Multi-Select Facet', () => {
|
||||
|
||||
const randomName = StringUtil.generateRandomString();
|
||||
const txtFileInfo = new FileModel({
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_location,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.TXT_0B.file_path,
|
||||
'name': `${randomName}.txt`
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user