mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +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:
@@ -63,21 +63,21 @@ describe('Search Filters', () => {
|
||||
|
||||
const pngFileModel = new FileModel({
|
||||
'name': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_name,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_location
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.PNG.file_path
|
||||
});
|
||||
|
||||
const txtFileModel1 = 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': `${uniqueFileName1}.txt`
|
||||
});
|
||||
|
||||
const jpgFileModel = new FileModel({
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_location,
|
||||
'location': browser.params.resources.Files.ADF_DOCUMENTS.JPG.file_path,
|
||||
'name': `${uniqueFileName2}.jpg`
|
||||
});
|
||||
|
||||
const txtFileModel2 = 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': `${uniqueFileName3}.txt`
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user